[Marble-commits] KDE/kdeedu/marble/src/lib
Bernhard Beschow
bbeschow at cs.tu-berlin.de
Fri Mar 25 13:23:08 CET 2011
SVN commit 1225968 by beschow:
mark overloaded methods as virtual, sort them according to QWidget
M +11 -11 MarbleWidget.h
--- trunk/KDE/kdeedu/marble/src/lib/MarbleWidget.h #1225967:1225968
@@ -1101,24 +1101,17 @@
/**
* @brief Reimplementation of the leaveEvent() function in QWidget.
*/
- void leaveEvent( QEvent *event );
+ virtual void leaveEvent( QEvent *event );
/**
* @brief Reimplementation of the paintEvent() function in QWidget.
*/
- void paintEvent( QPaintEvent *event );
+ virtual void paintEvent( QPaintEvent *event );
/**
- * @brief Enables custom drawing onto the MarbleWidget straight after
- * @brief the globe and before all other layers has been rendered.
- * @param painter
- */
- virtual void customPaint( GeoPainter *painter );
-
- /**
* @brief Reimplementation of the resizeEvent() function in QWidget.
*/
- void resizeEvent( QResizeEvent* );
+ virtual void resizeEvent( QResizeEvent* );
void connectNotify( const char * signal );
void disconnectNotify( const char * signal );
@@ -1127,8 +1120,15 @@
* @brief Reimplementation of the changeEvent() function in QWidget to
* react to changes of the enabled state
*/
- void changeEvent( QEvent * event );
+ virtual void changeEvent( QEvent * event );
+ /**
+ * @brief Enables custom drawing onto the MarbleWidget straight after
+ * @brief the globe and before all other layers has been rendered.
+ * @param painter
+ */
+ virtual void customPaint( GeoPainter *painter );
+
private:
Q_DISABLE_COPY( MarbleWidget )
MarbleWidgetPrivate * const d;
More information about the Marble-commits
mailing list