[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/style
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-03-30 20:53:37
Message-ID: 20040330205337.D79C799D0 () office ! kde ! org
[Download RAW message or body]

CVS commit by waba: 

Use KConfig instead of KSimpleConfig


  M +4 -4      kcmstyle.cpp   1.72
  M +3 -3      kcmstyle.h   1.19


--- kdebase/kcontrol/style/kcmstyle.cpp  #1.71:1.72
@@ -465,5 +465,5 @@ void KCMStyle::styleSpecificConfig()
 void KCMStyle::load()
 {
-        KSimpleConfig config( "kdeglobals", true );
+        KConfig config( "kdeglobals", true, false );
         // Page1 - Build up the Style ListBox
         loadStyle( config );
@@ -741,5 +741,5 @@ void KCMStyle::setStyleDirty()
 // ----------------------------------------------------------------
 
-void KCMStyle::loadStyle( KSimpleConfig& config )
+void KCMStyle::loadStyle( KConfig& config )
 {
         cbStyle->clear();
@@ -914,5 +914,5 @@ void KCMStyle::setStyleRecursive(QWidget
 // ----------------------------------------------------------------
 
-void KCMStyle::loadEffects( KSimpleConfig& config )
+void KCMStyle::loadEffects( KConfig& config )
 {
         // Load effects.
@@ -1027,5 +1027,5 @@ void KCMStyle::menuEffectChanged( bool e
 // ----------------------------------------------------------------
 
-void KCMStyle::loadMisc( KSimpleConfig& config )
+void KCMStyle::loadMisc( KConfig& config )
 {
         // KDE's Part via KConfig

--- kdebase/kcontrol/style/kcmstyle.h  #1.18:1.19
@@ -78,7 +78,7 @@ protected:
         void setStyleRecursive(QWidget* w, QStyle* s);
 
-        void loadStyle( KSimpleConfig& config );
-        void loadEffects( KSimpleConfig& config );
-        void loadMisc( KSimpleConfig& config );
+        void loadStyle( KConfig& config );
+        void loadEffects( KConfig& config );
+        void loadMisc( KConfig& config );
         void addWhatsThis();
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic