summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qapplication.h')
-rw-r--r--src/gui/kernel/qapplication.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication.h b/src/gui/kernel/qapplication.h
index 70458ef..e09ea08 100644
--- a/src/gui/kernel/qapplication.h
+++ b/src/gui/kernel/qapplication.h
@@ -107,6 +107,7 @@ class Q_GUI_EXPORT QApplication : public QCoreApplication
Q_PROPERTY(int autoMaximizeThreshold READ autoMaximizeThreshold WRITE setAutoMaximizeThreshold)
Q_PROPERTY(bool autoSipEnabled READ autoSipEnabled WRITE setAutoSipEnabled)
#endif
+ Q_PROPERTY(int eventDeliveryDelayForGestures READ eventDeliveryDelayForGestures WRITE setEventDeliveryDelayForGestures)
public:
enum Type { Tty, GuiClient, GuiServer };
@@ -270,6 +271,9 @@ public:
void addGestureRecognizer(QGestureRecognizer *recognizer);
void removeGestureRecognizer(QGestureRecognizer *recognizer);
+ void setEventDeliveryDelayForGestures(int delay);
+ int eventDeliveryDelayForGestures();
+
Q_SIGNALS:
void lastWindowClosed();
void focusChanged(QWidget *old, QWidget *now);