summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication.h
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2009-10-28 12:56:59 +0100
committerThomas Zander <t.zander@nokia.com>2009-10-28 12:56:59 +0100
commit0dc77406ae05c6ad27406e91b230b177b97fbc7c (patch)
treef144313aaa87bcf44efca39e61b47ab521c6d2ea /src/gui/kernel/qapplication.h
parent7f2d0fdf064f1e5625b784a5712d21545cf79ba1 (diff)
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qapplication.h b/src/gui/kernel/qapplication.h
index 5a8e325f95..5877ba45ce 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();