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

List:       kde-commits
Subject:    playground/base/plasma/ions/emhi
From:       Rivo Laks <rivolaks () hot ! ee>
Date:       2009-05-17 18:26:29
Message-ID: 1242584789.111853.7898.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 969231 by rivol:

Add reset() method to fix compilation with trunk

 M  +7 -0      emhi.cpp  
 M  +4 -1      emhi.h  


--- trunk/playground/base/plasma/ions/emhi/emhi.cpp #969230:969231
@@ -213,6 +213,13 @@
     }
 }
 
+void EMHIIon::reset()
+{
+#if KDE_IS_VERSION(4, 2, 50)
+    emit resetCompleted(this, true);
+#endif
+}
+
 void EMHIIon::fetch()
 {
     kDebug();
--- trunk/playground/base/plasma/ions/emhi/emhi.h #969230:969231
@@ -41,8 +41,11 @@
         void init();   // Ion setup - Implemented by Ion plugin
         void fetch();  // Get the Ion's data - Implemented by Ion plugin
 
-        bool updateIonSource(const QString &);
+        virtual bool updateIonSource(const QString &);
 
+    public slots:
+        virtual void reset();
+
     protected:
         void listLocations();
         void validateLocation(const QString& location);
[prev in list] [next in list] [prev in thread] [next in thread] 

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