[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/marble/src/lib
From: Bernhard Beschow <bbeschow () cs ! tu-berlin ! de>
Date: 2011-03-25 12:23:08
Message-ID: 20110325122308.33A0FAC8CA () svn ! kde ! org
[Download RAW message or body]
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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic