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 161 Lines • ▼ Show 20 Line(s) | 204 | protected: | |||
205 | 206 | | |||
206 | void resizeEvent(QGraphicsSceneResizeEvent* event) override; | 207 | void resizeEvent(QGraphicsSceneResizeEvent* event) override; | ||
207 | void mousePressEvent(QGraphicsSceneMouseEvent* event) override; | 208 | void mousePressEvent(QGraphicsSceneMouseEvent* event) override; | ||
208 | void wheelEvent(QGraphicsSceneWheelEvent* event) override; | 209 | void wheelEvent(QGraphicsSceneWheelEvent* event) override; | ||
209 | void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; | 210 | void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; | ||
210 | bool sceneEventFilter(QGraphicsItem*, QEvent*) override; | 211 | bool sceneEventFilter(QGraphicsItem*, QEvent*) override; | ||
211 | void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; | 212 | void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; | ||
212 | void dropEvent(QGraphicsSceneDragDropEvent* event) override; | 213 | void dropEvent(QGraphicsSceneDragDropEvent* event) override; | ||
214 | bool event(QEvent*) Q_DECL_OVERRIDE; | ||||
rkflx: `override` | |||||
215 | bool gestureEvent( QGestureEvent*); | ||||
rkflx: Remove extra space after `(`. | |||||
rkflx: Better put this into the `private` section? | |||||
213 | 216 | | |||
214 | private Q_SLOTS: | 217 | private Q_SLOTS: | ||
215 | void finishOpenUrl(); | 218 | void finishOpenUrl(); | ||
216 | void slotCompleted(); | 219 | void slotCompleted(); | ||
217 | void slotLoadingFailed(); | 220 | void slotLoadingFailed(); | ||
218 | 221 | | |||
219 | void zoomActualSize(); | 222 | void zoomActualSize(); | ||
220 | 223 | | |||
Show All 26 Lines |
override