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

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars
From:       Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date:       2011-03-07 9:59:57
Message-ID: 20110307095957.521FAAC8D2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1224044 by khudyakov:

Remove private data member and unnnede forward decalrations and inludes

 M  +2 -1      obslistpopupmenu.cpp  
 M  +0 -9      obslistpopupmenu.h  


--- trunk/KDE/kdeedu/kstars/kstars/obslistpopupmenu.cpp #1224043:1224044
@@ -40,7 +40,8 @@
                                       bool showLinks,
                                       bool sessionView )
 {
-    ks = KStars::Instance();
+    KStars* ks = KStars::Instance();
+
     clear();
     //Insert item for adding the object to the session view
     if( showAddToSession )
--- trunk/KDE/kdeedu/kstars/kstars/obslistpopupmenu.h #1224043:1224044
@@ -20,13 +20,7 @@
 #define OBSLISTPOPUPMENU_H_
 
 #include <kmenu.h>
-#include <kaction.h>
 
-class KStars;
-class StarObject;
-class SkyObject;
-class QLabel;
-
 /**@class ObsListPopupMenu
 	*The Popup Menu for the observing list in KStars. The menu is sensitive to the 
 	*type of selection in the observing list.
@@ -51,9 +45,6 @@
                         bool showRemove       = false,
                         bool showLinks        = false,
                         bool sessionView      = false );
-
-private:
-    KStars *ks;
 };
 
 #endif
[prev in list] [next in list] [prev in thread] [next in thread] 

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