[Kstars-devel] KDE/kdeedu/kstars/kstars

Alexey Khudyakov alexey.skladnoy at gmail.com
Sun Aug 2 13:01:19 CEST 2009


SVN commit 1005837 by khudyakov:

remove unneeded friends in  KStarsData class

CCMAIL: kstars-devel at kde.org



 M  +4 -15     kstarsdata.h  
 M  +1 -1      tools/wutdialog.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/kstarsdata.h #1005836:1005837
@@ -89,20 +89,15 @@
     friend class KStars;
     friend class KSWizard;
     friend class LocationDialog;
-    friend class FOVDialog;
     friend class MapCanvas;
     friend class SkyMap;
     friend class FileSource;
-    friend class StarDataSink;
     friend class LCGenerator;
     friend class DetailDialog;
-    friend class AltVsTime;
-    friend class WUTDialog;
     friend class INDIDriver;
     friend class INDI_P;
     friend class INDIStdProperty;
     friend class PlanetViewer;
-    friend class JMoonTool;
     friend class telescopeWizardProcess;
     friend class ObsListWizard;
 
@@ -346,22 +341,16 @@
     void syncUpdateIDs();
 
 signals:
-    /**Signal that specifies the text that should be drawn in the KStarsSplash window.
-    	*/
+    /**Signal that specifies the text that should be drawn in the KStarsSplash window. */
     void progressText( const QString& );
 
-    /**Signal that the Data initialization has finished.
-    	*/
+    /**Signal that the Data initialization has finished. */
     void initFinished(bool);
 
-    /**
-    	*Should be used to refresh skymap.
-    	*/
+    /** Should be used to refresh skymap. */
     void update();
 
-    /**
-    	*If data changed, emit clearCache signal.
-    	*/
+    /** If data changed, emit clearCache signal. */
     void clearCache();
 
 public slots:
--- trunk/KDE/kdeedu/kstars/kstars/tools/wutdialog.cpp #1005836:1005837
@@ -430,7 +430,7 @@
         o = kstars->data()->objectNamed( WUT->ObjectListWidget->currentItem()->text() );
     }
     if (o != 0) {
-        QPointer<DetailDialog> detail = new DetailDialog(o, kstars->data()->LTime, geo, kstars);
+        QPointer<DetailDialog> detail = new DetailDialog(o, kstars->data()->lt(), geo, kstars);
         detail->exec();
 	delete detail;
     }


More information about the Kstars-devel mailing list