summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qstandardgestures.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/qstandardgestures.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/qstandardgestures.h')
-rw-r--r--src/gui/kernel/qstandardgestures.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/kernel/qstandardgestures.h b/src/gui/kernel/qstandardgestures.h
index c734fba..03a1374 100644
--- a/src/gui/kernel/qstandardgestures.h
+++ b/src/gui/kernel/qstandardgestures.h
@@ -66,11 +66,13 @@ public:
QPanGesture(QWidget *parent);
bool filterEvent(QEvent *event);
- void reset();
QSize totalOffset() const;
QSize lastOffset() const;
+protected:
+ void reset();
+
private:
bool event(QEvent *event);
bool eventFilter(QObject *receiver, QEvent *event);