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

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars/skycomponents
From:       Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date:       2010-02-09 22:32:55
Message-ID: 1265754775.241988.1640.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1087972 by khudyakov:

Add default implementation to SkyComponent::init.
It does absolutely nothing and only required in order to
remove init from other classes

 M  +2 -0      skycomponent.cpp  
 M  +1 -1      skycomponent.h  


--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/skycomponent.cpp #1087971:1087972
@@ -67,3 +67,5 @@
     if ( i >= 0 )
         names.removeAt( i );
 }
+
+void SkyComponent::init() {}
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/skycomponent.h #1087971:1087972
@@ -61,7 +61,7 @@
     virtual void drawTrails( QPainter & );
 
     /**@short Initialize the component - load data from disk etc. */
-    virtual void init() = 0;
+    virtual void init();
 
     /**
      * @short Update the sky position(s) of this component.
[prev in list] [next in list] [prev in thread] [next in thread] 

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