Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=726663
This commit is contained in:
parent
4ed50ca2fa
commit
61fa445581
3 changed files with 4 additions and 4 deletions
|
@ -41,7 +41,7 @@ static void loadRules( QList< Rules* >& rules )
|
||||||
i <= count;
|
i <= count;
|
||||||
++i )
|
++i )
|
||||||
{
|
{
|
||||||
cfg.changeGroup( QString::number( i ));
|
cfg = KConfigGroup(&_cfg,QString::number( i ));
|
||||||
Rules* rule = new Rules( cfg );
|
Rules* rule = new Rules( cfg );
|
||||||
rules.append( rule );
|
rules.append( rule );
|
||||||
}
|
}
|
||||||
|
|
|
@ -161,7 +161,7 @@ void KCMRulesList::load()
|
||||||
i <= count;
|
i <= count;
|
||||||
++i )
|
++i )
|
||||||
{
|
{
|
||||||
cfg.changeGroup( QString::number( i ));
|
cfg = KConfigGroup(&_cfg,QString::number( i ));
|
||||||
Rules* rule = new Rules( cfg );
|
Rules* rule = new Rules( cfg );
|
||||||
rules.append( rule );
|
rules.append( rule );
|
||||||
rules_listbox->addItem( rule->description );
|
rules_listbox->addItem( rule->description );
|
||||||
|
|
|
@ -161,7 +161,7 @@ unsigned long Options::updateSettings()
|
||||||
showDesktopIsMinimizeAll = config.readEntry( "ShowDesktopIsMinimizeAll", false );
|
showDesktopIsMinimizeAll = config.readEntry( "ShowDesktopIsMinimizeAll", false );
|
||||||
|
|
||||||
// Mouse bindings
|
// Mouse bindings
|
||||||
config.changeGroup("MouseBindings");
|
config = KConfigGroup(_config,"MouseBindings");
|
||||||
CmdActiveTitlebar1 = mouseCommand(config.readEntry("CommandActiveTitlebar1","Raise"), true );
|
CmdActiveTitlebar1 = mouseCommand(config.readEntry("CommandActiveTitlebar1","Raise"), true );
|
||||||
CmdActiveTitlebar2 = mouseCommand(config.readEntry("CommandActiveTitlebar2","Lower"), true );
|
CmdActiveTitlebar2 = mouseCommand(config.readEntry("CommandActiveTitlebar2","Lower"), true );
|
||||||
CmdActiveTitlebar3 = mouseCommand(config.readEntry("CommandActiveTitlebar3","Operations menu"), true );
|
CmdActiveTitlebar3 = mouseCommand(config.readEntry("CommandActiveTitlebar3","Operations menu"), true );
|
||||||
|
@ -178,7 +178,7 @@ unsigned long Options::updateSettings()
|
||||||
CmdAll3 = mouseCommand(config.readEntry("CommandAll3","Resize"), false );
|
CmdAll3 = mouseCommand(config.readEntry("CommandAll3","Resize"), false );
|
||||||
CmdAllWheel = mouseWheelCommand(config.readEntry("CommandAllWheel","Nothing"));
|
CmdAllWheel = mouseWheelCommand(config.readEntry("CommandAllWheel","Nothing"));
|
||||||
|
|
||||||
config.changeGroup("Compositing");
|
config=KConfigGroup(_config,"Compositing");
|
||||||
refreshRate = config.readEntry( "RefreshRate", 0 );
|
refreshRate = config.readEntry( "RefreshRate", 0 );
|
||||||
const HiddenPreviews hps[] = { HiddenPreviewsNever, HiddenPreviewsKeep, HiddenPreviewUpdate, HiddenPreviewsActive };
|
const HiddenPreviews hps[] = { HiddenPreviewsNever, HiddenPreviewsKeep, HiddenPreviewUpdate, HiddenPreviewsActive };
|
||||||
hiddenPreviews = hps[ qBound( 0, config.readEntry( "HiddenPreviews", 3 ), 3 ) ];
|
hiddenPreviews = hps[ qBound( 0, config.readEntry( "HiddenPreviews", 3 ), 3 ) ];
|
||||||
|
|
Loading…
Reference in a new issue