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

List:       kde-commits
Subject:    kdepim/kontact
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2003-11-16 22:32:22
[Download RAW message or body]

CVS commit by tokoe: 

Made Summary::configModules() const and make use of it in the weather
plugin


  M +1 -1      interfaces/summary.h   1.7
  M +5 -0      plugins/weather/summarywidget.cpp   1.13
  M +2 -0      plugins/weather/summarywidget.h   1.8


--- kdepim/kontact/interfaces/summary.h  #1.6:1.7
@@ -59,5 +59,5 @@ class Summary : public QWidget
       KCMultiDialog::addModule().
     */
-    virtual QStringList configModules() { return QStringList(); }
+    virtual QStringList configModules() const { return QStringList(); }
 
   signals:

--- kdepim/kontact/plugins/weather/summarywidget.cpp  #1.12:1.13
@@ -185,3 +185,8 @@ void SummaryWidget::stationRemoved( QStr
 }
 
+QStringList SummaryWidget::configModules() const
+{
+  return QStringList( "kcmweatherservice.desktop" );
+}
+
 #include "summarywidget.moc"

--- kdepim/kontact/plugins/weather/summarywidget.h  #1.7:1.8
@@ -79,4 +79,6 @@ class SummaryWidget : public Kontact::Su
     int summaryHeight() const;
 
+    QStringList configModules() const;
+
   k_dcop:
     virtual void refresh( QString );


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

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