Changeset View
Changeset View
Standalone View
Standalone View
lib/documentview/documentview.h
Show All 27 Lines | |||||
28 | 28 | | |||
29 | // KDE | 29 | // KDE | ||
30 | 30 | | |||
31 | // Local | 31 | // Local | ||
32 | #include <lib/document/document.h> | 32 | #include <lib/document/document.h> | ||
33 | 33 | | |||
34 | class QPropertyAnimation; | 34 | class QPropertyAnimation; | ||
35 | class QUrl; | 35 | class QUrl; | ||
36 | class QGestureEvent; | ||||
36 | 37 | | |||
37 | namespace Gwenview | 38 | namespace Gwenview | ||
38 | { | 39 | { | ||
39 | 40 | | |||
40 | class AbstractRasterImageViewTool; | 41 | class AbstractRasterImageViewTool; | ||
41 | class RasterImageView; | 42 | class RasterImageView; | ||
42 | 43 | | |||
43 | struct DocumentViewPrivate; | 44 | struct DocumentViewPrivate; | ||
▲ Show 20 Lines • Show All 158 Lines • ▼ Show 20 Line(s) | 202 | protected: | |||
202 | void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) Q_DECL_OVERRIDE; | 203 | void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) Q_DECL_OVERRIDE; | ||
203 | 204 | | |||
204 | void resizeEvent(QGraphicsSceneResizeEvent* event) Q_DECL_OVERRIDE; | 205 | void resizeEvent(QGraphicsSceneResizeEvent* event) Q_DECL_OVERRIDE; | ||
205 | void wheelEvent(QGraphicsSceneWheelEvent* event) Q_DECL_OVERRIDE; | 206 | void wheelEvent(QGraphicsSceneWheelEvent* event) Q_DECL_OVERRIDE; | ||
206 | void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) Q_DECL_OVERRIDE; | 207 | void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) Q_DECL_OVERRIDE; | ||
207 | bool sceneEventFilter(QGraphicsItem*, QEvent*) Q_DECL_OVERRIDE; | 208 | bool sceneEventFilter(QGraphicsItem*, QEvent*) Q_DECL_OVERRIDE; | ||
208 | void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; | 209 | void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; | ||
209 | void dropEvent(QGraphicsSceneDragDropEvent* event) override; | 210 | void dropEvent(QGraphicsSceneDragDropEvent* event) override; | ||
211 | bool event(QEvent*) Q_DECL_OVERRIDE; | ||||
rkflx: `override` | |||||
212 | bool gestureEvent( QGestureEvent*); | ||||
rkflx: Remove extra space after `(`. | |||||
rkflx: Better put this into the `private` section? | |||||
210 | 213 | | |||
211 | private Q_SLOTS: | 214 | private Q_SLOTS: | ||
212 | void finishOpenUrl(); | 215 | void finishOpenUrl(); | ||
213 | void slotCompleted(); | 216 | void slotCompleted(); | ||
214 | void slotLoadingFailed(); | 217 | void slotLoadingFailed(); | ||
215 | 218 | | |||
216 | void zoomActualSize(); | 219 | void zoomActualSize(); | ||
217 | 220 | | |||
Show All 26 Lines |
override