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

List:       kde-commits
Subject:    KDE/kdeplasma-addons/applets/bball
From:       Anne-Marie Mahfouf <annma () kde ! org>
Date:       2010-09-06 13:57:21
Message-ID: 20100906135721.98BABAC888 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1172125 by annma:

implement configChanged() 


 M  +2 -2      bball.cpp  
 M  +3 -1      bball.h  


--- trunk/KDE/kdeplasma-addons/applets/bball/bball.cpp #1172124:1172125
@@ -73,7 +73,7 @@
 
 void bballApplet::init()
 {
-    readConfiguration();
+    configChanged();
     // monitor the scene for size changes (so we change the bouncing rect)
     if (scene())
         connect(scene(), SIGNAL(sceneRectChanged(QRectF)), this, SLOT(updateScreenRect()));
@@ -277,7 +277,7 @@
     update();
 }
 
-void bballApplet::readConfiguration()
+void bballApplet::configChanged()
 {
     KConfigGroup cg = config ();
 
--- trunk/KDE/kdeplasma-addons/applets/bball/bball.h #1172124:1172125
@@ -65,8 +65,10 @@
     void updateScreenRect();
     void configurationChanged();
 
+public slots:
+    void configChanged();
+    
 private:
-    void readConfiguration();
     void updatePhysics();
     void playBoingSound();
     void syncGeometry();
[prev in list] [next in list] [prev in thread] [next in thread] 

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