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

Alexey Khudyakov alexey.skladnoy at gmail.com
Sun Mar 13 21:18:57 CET 2011


SVN commit 1224718 by khudyakov:

Remove SkyMap::setGeometry functions. Overloaded functions do
exactly what inherited ones do.

CCMAIL: kstars-devel at kde.org

 M  +0 -9      skymap.cpp  
 M  +0 -8      skymap.h  


--- trunk/KDE/kdeedu/kstars/kstars/skymap.cpp #1224717:1224718
@@ -320,15 +320,6 @@
     pinstance = 0;
 }
 
-void SkyMap::setGeometry( int x, int y, int w, int h ) {
-    QGraphicsView::setGeometry( x, y, w, h );
-}
-
-void SkyMap::setGeometry( const QRect &r ) {
-    QGraphicsView::setGeometry( r );
-}
-
-
 void SkyMap::showFocusCoords() {
     if( focusObject() && Options::isTracking() )
         emit objectChanged( focusObject() );
--- trunk/KDE/kdeedu/kstars/kstars/skymap.h #1224717:1224718
@@ -274,14 +274,6 @@
 
 
 public slots:
-    /**@short This overloaded function is used internally to resize the Sky pixmap to match the window size. */
-    virtual void setGeometry( int x, int y, int w, int h );
-
-    /**@short This overloaded function is used internally to resize the Sky pixmap to match the window size.
-     * This function behaves essentially like the above function.  It differs only in the data types 	*of its arguments.
-     */
-    virtual void setGeometry( const QRect &r );
-
     /**Recalculates the positions of objects in the sky, and then repaints the sky map.
      * If the positions don't need to be recalculated, use update() instead of forceUpdate().
      * This saves a lot of CPU time.


More information about the Kstars-devel mailing list