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

List:       kde-commits
Subject:    extragear/plasma/applets/fifteenPuzzle/src
From:       Laurent Montel <montel () kde ! org>
Date:       2008-05-21 7:49:19
Message-ID: 1211356159.947195.22052.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 810632 by mlaurent:

Now we can display contextual action


 M  +6 -5      fifteenPuzzle.cpp  
 M  +1 -2      fifteenPuzzle.h  


--- trunk/extragear/plasma/applets/fifteenPuzzle/src/fifteenPuzzle.cpp #810631:810632
@@ -68,11 +68,6 @@
   }
 }
 
-QList<QAction*> FifteenPuzzle::contextActions()
-{
-  return actions;
-}
-
 void FifteenPuzzle::createConfigurationInterface(KConfigDialog *parent)
 {
   if (configDialog == 0) {
@@ -130,5 +125,11 @@
   connect(shuffle, SIGNAL(triggered(bool)), board, SLOT(shuffle()));
 }
 
+QList<QAction*> FifteenPuzzle::contextualActions()
+{
+    return actions;
+}
+
+
 #include "fifteenPuzzle.moc"
 
--- trunk/extragear/plasma/applets/fifteenPuzzle/src/fifteenPuzzle.h #810631:810632
@@ -33,8 +33,7 @@
 
     void init();
     void constraintsEvent(Plasma::Constraints constraints);
-    QList<QAction*> contextActions();
-
+    virtual QList<QAction*> contextualActions();
   protected slots:
     void configAccepted();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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