CT: kcontrol/windows.cpp says default is off for ShadeHover
svn path=/trunk/kdebase/kwin/; revision=79169
This commit is contained in:
parent
7158d07ceb
commit
2962a95929
1 changed files with 18 additions and 18 deletions
32
options.cpp
32
options.cpp
|
@ -40,9 +40,9 @@ const QColor& Options::color(ColorType type, bool active)
|
||||||
const QFont& Options::font(bool active, bool small)
|
const QFont& Options::font(bool active, bool small)
|
||||||
{
|
{
|
||||||
if ( small )
|
if ( small )
|
||||||
return(active ? activeFontSmall : inactiveFontSmall);
|
return(active ? activeFontSmall : inactiveFontSmall);
|
||||||
else
|
else
|
||||||
return(active ? activeFont : inactiveFont);
|
return(active ? activeFont : inactiveFont);
|
||||||
}
|
}
|
||||||
|
|
||||||
const QColorGroup& Options::colorGroup(ColorType type, bool active)
|
const QColorGroup& Options::colorGroup(ColorType type, bool active)
|
||||||
|
@ -151,16 +151,16 @@ void Options::reload()
|
||||||
val = config->readEntry ("FocusPolicy", "ClickToFocus");
|
val = config->readEntry ("FocusPolicy", "ClickToFocus");
|
||||||
focusPolicy = ClickToFocus; // what a default :-)
|
focusPolicy = ClickToFocus; // what a default :-)
|
||||||
if ( val == "FocusFollowsMouse" )
|
if ( val == "FocusFollowsMouse" )
|
||||||
focusPolicy = FocusFollowsMouse;
|
focusPolicy = FocusFollowsMouse;
|
||||||
else if ( val == "FocusUnderMouse" )
|
else if ( val == "FocusUnderMouse" )
|
||||||
focusPolicy = FocusUnderMouse;
|
focusPolicy = FocusUnderMouse;
|
||||||
else if ( val == "FocusStrictlyUnderMouse" )
|
else if ( val == "FocusStrictlyUnderMouse" )
|
||||||
focusPolicy = FocusStrictlyUnderMouse;
|
focusPolicy = FocusStrictlyUnderMouse;
|
||||||
|
|
||||||
val = config->readEntry ("AltTabStyle", "KDE");
|
val = config->readEntry ("AltTabStyle", "KDE");
|
||||||
altTabStyle = KDE; // what a default :-)
|
altTabStyle = KDE; // what a default :-)
|
||||||
if ( val == "CDE" )
|
if ( val == "CDE" )
|
||||||
altTabStyle = CDE;
|
altTabStyle = CDE;
|
||||||
|
|
||||||
val = config->readEntry("Placement","Smart");
|
val = config->readEntry("Placement","Smart");
|
||||||
if (val == "Smart") placement = Smart;
|
if (val == "Smart") placement = Smart;
|
||||||
|
@ -175,7 +175,7 @@ void Options::reload()
|
||||||
autoRaise = config->readBoolEntry("AutoRaise", FALSE );
|
autoRaise = config->readBoolEntry("AutoRaise", FALSE );
|
||||||
autoRaiseInterval = config->readNumEntry("AutoRaiseInterval", 0 );
|
autoRaiseInterval = config->readNumEntry("AutoRaiseInterval", 0 );
|
||||||
|
|
||||||
shadeHover = config->readBoolEntry("ShadeHover", TRUE );
|
shadeHover = config->readBoolEntry("ShadeHover", FALSE );
|
||||||
shadeHoverInterval = config->readNumEntry("ShadeHoverInterval", 250 );
|
shadeHoverInterval = config->readNumEntry("ShadeHoverInterval", 250 );
|
||||||
|
|
||||||
// important: autoRaise implies ClickRaise
|
// important: autoRaise implies ClickRaise
|
||||||
|
@ -198,7 +198,7 @@ void Options::reload()
|
||||||
useControlTab = config->readBoolEntry ("ControlTab", TRUE);
|
useControlTab = config->readBoolEntry ("ControlTab", TRUE);
|
||||||
desktopRows = config->readNumEntry( "DesktopRows", 2 );
|
desktopRows = config->readNumEntry( "DesktopRows", 2 );
|
||||||
if ( desktopRows < 1 )
|
if ( desktopRows < 1 )
|
||||||
desktopRows = 1;
|
desktopRows = 1;
|
||||||
|
|
||||||
// Mouse bindings
|
// Mouse bindings
|
||||||
config->setGroup( "MouseBindings");
|
config->setGroup( "MouseBindings");
|
||||||
|
@ -221,21 +221,21 @@ void Options::reload()
|
||||||
|
|
||||||
Options::WindowOperation Options::windowOperation(const QString &name){
|
Options::WindowOperation Options::windowOperation(const QString &name){
|
||||||
if (name == "Move")
|
if (name == "Move")
|
||||||
return MoveOp;
|
return MoveOp;
|
||||||
else if (name == "Resize")
|
else if (name == "Resize")
|
||||||
return ResizeOp;
|
return ResizeOp;
|
||||||
else if (name == "Maximize")
|
else if (name == "Maximize")
|
||||||
return MaximizeOp;
|
return MaximizeOp;
|
||||||
else if (name == "Iconify")
|
else if (name == "Iconify")
|
||||||
return IconifyOp;
|
return IconifyOp;
|
||||||
else if (name == "Close")
|
else if (name == "Close")
|
||||||
return CloseOp;
|
return CloseOp;
|
||||||
else if (name == "Sticky")
|
else if (name == "Sticky")
|
||||||
return StickyOp;
|
return StickyOp;
|
||||||
else if (name == "Shade")
|
else if (name == "Shade")
|
||||||
return ShadeOp;
|
return ShadeOp;
|
||||||
else if (name == "Operations")
|
else if (name == "Operations")
|
||||||
return OperationsOp;
|
return OperationsOp;
|
||||||
return NoOp;
|
return NoOp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue