1 #ifndef QGLOBALSHORTCUT_H
2 #define QGLOBALSHORTCUT_H
23 #include <QKeySequence>
34 Q_PROPERTY(
bool enabled READ isEnabled WRITE setEnabled)
35 Q_PROPERTY(QKeySequence shortcut READ shortcut WRITE setShortcut)
41 QKeySequence shortcut()
const;
42 bool setShortcut(const QKeySequence& shortcut);
45 bool isEnabled() const;
51 void setEnabled(
bool enabled = true);
52 void setDisabled(
bool disabled = true);
59 #endif // QGLOBALSHORTCUT_H
#define TTK_MODULE_EXPORT
#define TTK_DECLARE_PRIVATE(Class)
The class of the qglobal shortcut private.
The class of the qglobal shortcut.