diff options
author | Thomas Zander <t.zander@nokia.com> | 2009-10-28 11:56:59 (GMT) |
---|---|---|
committer | Thomas Zander <t.zander@nokia.com> | 2009-10-28 11:56:59 (GMT) |
commit | 0dc77406ae05c6ad27406e91b230b177b97fbc7c (patch) | |
tree | f144313aaa87bcf44efca39e61b47ab521c6d2ea /src/gui/kernel/qapplication.h | |
parent | 7f2d0fdf064f1e5625b784a5712d21545cf79ba1 (diff) | |
download | Qt-0dc77406ae05c6ad27406e91b230b177b97fbc7c.zip Qt-0dc77406ae05c6ad27406e91b230b177b97fbc7c.tar.gz Qt-0dc77406ae05c6ad27406e91b230b177b97fbc7c.tar.bz2 |
Make the un/registerGestureRecognizer methods static
As QApplication is a singleton this makes usage of these
easier and also in line with many other methods on the class.
Diffstat (limited to 'src/gui/kernel/qapplication.h')
-rw-r--r-- | src/gui/kernel/qapplication.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qapplication.h b/src/gui/kernel/qapplication.h index 5a8e325..5877ba4 100644 --- a/src/gui/kernel/qapplication.h +++ b/src/gui/kernel/qapplication.h @@ -288,8 +288,8 @@ public: static Qt::NavigationMode navigationMode(); #endif - Qt::GestureType registerGestureRecognizer(QGestureRecognizer *recognizer); - void unregisterGestureRecognizer(Qt::GestureType type); + static Qt::GestureType registerGestureRecognizer(QGestureRecognizer *recognizer); + static void unregisterGestureRecognizer(Qt::GestureType type); Q_SIGNALS: void lastWindowClosed(); |