Changeset View
Changeset View
Standalone View
Standalone View
src/KChart/KChartAbstractAreaWidget.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | 48 | public: | |||
---|---|---|---|---|---|
50 | 50 | | |||
51 | /** | 51 | /** | ||
52 | * @brief Draws the background and frame, then calls paint(). | 52 | * @brief Draws the background and frame, then calls paint(). | ||
53 | * | 53 | * | ||
54 | * In most cases there is no need to overwrite this method in a derived | 54 | * In most cases there is no need to overwrite this method in a derived | ||
55 | * class, but you would overwrite paint() instead. | 55 | * class, but you would overwrite paint() instead. | ||
56 | * @sa paint | 56 | * @sa paint | ||
57 | */ | 57 | */ | ||
58 | void paintEvent( QPaintEvent* event ) Q_DECL_OVERRIDE; | 58 | void paintEvent( QPaintEvent* event ) override; | ||
59 | 59 | | |||
60 | /** | 60 | /** | ||
61 | * @brief Draws the background and frame, then calls paint(). | 61 | * @brief Draws the background and frame, then calls paint(). | ||
62 | * | 62 | * | ||
63 | * In most cases there is no need to overwrite this method in a derived | 63 | * In most cases there is no need to overwrite this method in a derived | ||
64 | * class, but you would overwrite paint() instead. | 64 | * class, but you would overwrite paint() instead. | ||
65 | */ | 65 | */ | ||
66 | virtual void paintIntoRect( QPainter& painter, const QRect& rect ); | 66 | virtual void paintIntoRect( QPainter& painter, const QRect& rect ); | ||
Show All 30 Lines | |||||
97 | virtual void needSizeHint(); | 97 | virtual void needSizeHint(); | ||
98 | virtual void resizeLayout( const QSize& ); | 98 | virtual void resizeLayout( const QSize& ); | ||
99 | 99 | | |||
100 | Q_SIGNALS: | 100 | Q_SIGNALS: | ||
101 | void positionChanged( AbstractAreaWidget * ); | 101 | void positionChanged( AbstractAreaWidget * ); | ||
102 | 102 | | |||
103 | protected: | 103 | protected: | ||
104 | virtual ~AbstractAreaWidget() ; | 104 | virtual ~AbstractAreaWidget() ; | ||
105 | QRect areaGeometry() const Q_DECL_OVERRIDE; | 105 | QRect areaGeometry() const override; | ||
106 | void positionHasChanged() Q_DECL_OVERRIDE; | 106 | void positionHasChanged() override; | ||
107 | }; | 107 | }; | ||
108 | 108 | | |||
109 | } | 109 | } | ||
110 | #endif // KCHARTABSTRACTAREAWIDGET_H | 110 | #endif // KCHARTABSTRACTAREAWIDGET_H |