summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini/qxtglobalshortcut.h
diff options
context:
space:
mode:
Diffstat (limited to 'qxt-mini/qxtglobalshortcut.h')
-rw-r--r--qxt-mini/qxtglobalshortcut.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qxt-mini/qxtglobalshortcut.h b/qxt-mini/qxtglobalshortcut.h
index bf26180f..be62a984 100644
--- a/qxt-mini/qxtglobalshortcut.h
+++ b/qxt-mini/qxtglobalshortcut.h
@@ -43,6 +43,8 @@ class QXT_GUI_EXPORT QxtGlobalShortcut : public QObject
Q_PROPERTY(bool enabled READ isEnabled WRITE setEnabled)
Q_PROPERTY(QKeySequence shortcut READ shortcut WRITE setShortcut)
+ bool keystate;
+
public:
explicit QxtGlobalShortcut(QObject* parent = 0);
explicit QxtGlobalShortcut(const QKeySequence& shortcut, QObject* parent = 0);
@@ -58,7 +60,7 @@ public Q_SLOTS:
void setDisabled(bool disabled = true);
Q_SIGNALS:
- void activated();
+ void activated(bool keydown = true);
};
#endif // QXTGLOBALSHORTCUT_H