From kde-commits Sun Mar 13 20:18:57 2011 From: Alexey Khudyakov Date: Sun, 13 Mar 2011 20:18:57 +0000 To: kde-commits Subject: KDE/kdeedu/kstars/kstars Message-Id: <20110313201857.88AF6AC8C8 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=130004757711012 SVN commit 1224718 by khudyakov: Remove SkyMap::setGeometry functions. Overloaded functions do exactly what inherited ones do. CCMAIL: kstars-devel@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.