Changeset View
Changeset View
Standalone View
Standalone View
src/context/qml_plugin/src/RatingItem.h
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Line(s) | 105 | public Q_SLOTS: | |||
---|---|---|---|---|---|
139 | 139 | | |||
140 | /** | 140 | /** | ||
141 | * Set a custom icon. Defaults to "rating". | 141 | * Set a custom icon. Defaults to "rating". | ||
142 | */ | 142 | */ | ||
143 | void setIcon( const QString& iconName ); | 143 | void setIcon( const QString& iconName ); | ||
144 | 144 | | |||
145 | 145 | | |||
146 | protected: | 146 | protected: | ||
147 | virtual void mousePressEvent( QMouseEvent* e ) Q_DECL_OVERRIDE; | 147 | virtual void mousePressEvent( QMouseEvent* e ) override; | ||
148 | virtual void hoverMoveEvent( QHoverEvent* e ) Q_DECL_OVERRIDE; | 148 | virtual void hoverMoveEvent( QHoverEvent* e ) override; | ||
149 | virtual void hoverEnterEvent( QHoverEvent* e ) Q_DECL_OVERRIDE; | 149 | virtual void hoverEnterEvent( QHoverEvent* e ) override; | ||
150 | virtual void hoverLeaveEvent( QHoverEvent* e ) Q_DECL_OVERRIDE; | 150 | virtual void hoverLeaveEvent( QHoverEvent* e ) override; | ||
151 | virtual void paint( QPainter* painter ) Q_DECL_OVERRIDE; | 151 | virtual void paint( QPainter* painter ) override; | ||
152 | 152 | | |||
153 | private: | 153 | private: | ||
154 | class Private; | 154 | class Private; | ||
155 | Private* const d; | 155 | Private* const d; | ||
156 | }; | 156 | }; | ||
157 | 157 | | |||
158 | #endif | 158 | #endif |