Changeset View
Changeset View
Standalone View
Standalone View
lib/documentview/abstractrasterimageviewtool.cpp
Show All 16 Lines | |||||
17 | along with this program; if not, write to the Free Software | 17 | along with this program; if not, write to the Free Software | ||
18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
19 | 19 | | |||
20 | */ | 20 | */ | ||
21 | // Self | 21 | // Self | ||
22 | #include "abstractrasterimageviewtool.h" | 22 | #include "abstractrasterimageviewtool.h" | ||
23 | 23 | | |||
24 | // Qt | 24 | // Qt | ||
25 | #include <QGraphicsSceneWheelEvent> | ||||
25 | 26 | | |||
26 | // KDE | 27 | // KDE | ||
27 | 28 | | |||
28 | // Local | 29 | // Local | ||
29 | #include "rasterimageview.h" | 30 | #include "rasterimageview.h" | ||
30 | 31 | | |||
31 | namespace Gwenview | 32 | namespace Gwenview | ||
32 | { | 33 | { | ||
Show All 15 Lines | 48 | { | |||
48 | delete d; | 49 | delete d; | ||
49 | } | 50 | } | ||
50 | 51 | | |||
51 | RasterImageView* AbstractRasterImageViewTool::imageView() const | 52 | RasterImageView* AbstractRasterImageViewTool::imageView() const | ||
52 | { | 53 | { | ||
53 | return d->mRasterImageView; | 54 | return d->mRasterImageView; | ||
54 | } | 55 | } | ||
55 | 56 | | |||
57 | void AbstractRasterImageViewTool::wheelEvent(QGraphicsSceneWheelEvent* event) | ||||
58 | { | ||||
59 | event->ignore(); | ||||
60 | } | ||||
61 | | ||||
56 | } // namespace | 62 | } // namespace |