38 Q_PROPERTY(
QString portableText READ portableText NOTIFY sequenceChanged FINAL REVISION(2, 6))
40 Q_PROPERTY(
bool autoRepeat READ autoRepeat WRITE setAutoRepeat NOTIFY autoRepeatChanged FINAL)
50 void setSequence(const
QVariant &sequence);
58 bool isEnabled() const;
61 bool autoRepeat() const;
62 void setAutoRepeat(
bool repeat);
65 void setContext(
Qt::ShortcutContext
context);
68 void sequenceChanged();
70 void enabledChanged();
71 void autoRepeatChanged();
72 void contextChanged();
75 void activatedAmbiguously();
78 void classBegin() override;
79 void componentComplete() override;
102 QVector<Shortcut> m_shortcuts;
static bool matches(const QJsonObject &object, const QString &osName, const QVersionNumber &kernelVersion, const QString &osRelease, const QOpenGLConfig::Gpu &gpu)