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

List:       kde-commits
Subject:    extragear/plasma/applets/twitter
From:       Anne-Marie Mahfouf <annma () kde ! org>
Date:       2008-04-29 6:46:20
Message-ID: 1209451580.498311.23745.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 802329 by annma:

start porting to new API


 M  +3 -3      twitter.cpp  
 M  +1 -1      twitter.h  


--- trunk/extragear/plasma/applets/twitter/twitter.cpp #802328:802329
@@ -62,8 +62,8 @@
 
 void Twitter::init()
 {
-    m_theme = new Plasma::Svg("widgets/twitter", this);
-
+    m_theme = new Plasma::Svg(this);
+    m_theme.setImagePath("widgets/twitter");
     //config stuff
     KConfigGroup cg = config();
     m_username = cg.readEntry( "username" );
@@ -347,7 +347,7 @@
     updateGeometry();
 }
 
-void Twitter::showConfigurationInterface()
+void Twitter::createConfigurationInterface()
 {
      if (m_dialog == 0) {
         m_dialog = new KDialog;
--- trunk/extragear/plasma/applets/twitter/twitter.h #802328:802329
@@ -67,7 +67,7 @@
 
     public slots:
         void dataUpdated(const QString &name, const Plasma::DataEngine::Data &data);
-        void showConfigurationInterface();
+        void createConfigurationInterface();
         /**
          * read from the opened KWallet
          * @param success whether we got to open it
[prev in list] [next in list] [prev in thread] [next in thread] 

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