summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesture.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-08-08 21:58:46 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-08-10 12:21:27 (GMT)
commit47f58dfad1eb7fe61a523597023df33f3d320377 (patch)
treea4ddbe867d47a97a0d2cef5984d0e8302a83bca7 /src/gui/kernel/qgesture.h
parent17bffacda99055831bb4c8c6e7da39ec15415519 (diff)
downloadQt-47f58dfad1eb7fe61a523597023df33f3d320377.zip
Qt-47f58dfad1eb7fe61a523597023df33f3d320377.tar.gz
Qt-47f58dfad1eb7fe61a523597023df33f3d320377.tar.bz2
Made the QGesture::reset function protected.
By default the QGesture::reset function is protected, and it can be made public in the derived class if necessary. Reviewed-by: trustme
Diffstat (limited to 'src/gui/kernel/qgesture.h')
-rw-r--r--src/gui/kernel/qgesture.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/kernel/qgesture.h b/src/gui/kernel/qgesture.h
index 7da37c4..839fdca 100644
--- a/src/gui/kernel/qgesture.h
+++ b/src/gui/kernel/qgesture.h
@@ -73,14 +73,13 @@ public:
void setGraphicsItem(QGraphicsItem *);
QGraphicsItem *graphicsItem() const;
- virtual void reset();
-
Qt::GestureState state() const;
protected:
QGesture(QGesturePrivate &dd, QObject *parent);
bool eventFilter(QObject*, QEvent*);
+ virtual void reset();
void updateState(Qt::GestureState state);
Q_SIGNALS: