Changeset View
Changeset View
Standalone View
Standalone View
plugins/remotekeyboard/remotekeyboardplugin.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 59 | Q_SCRIPTABLE void sendKeyPress(const QString& key, int specialKey = 0, | |||
---|---|---|---|---|---|
61 | bool alt = false, bool sendAck = true) const; | 61 | bool alt = false, bool sendAck = true) const; | ||
62 | Q_SCRIPTABLE void sendQKeyEvent(const QVariantMap& keyEvent, | 62 | Q_SCRIPTABLE void sendQKeyEvent(const QVariantMap& keyEvent, | ||
63 | bool sendAck = true) const; | 63 | bool sendAck = true) const; | ||
64 | Q_SCRIPTABLE int translateQtKey(int qtKey) const; | 64 | Q_SCRIPTABLE int translateQtKey(int qtKey) const; | ||
65 | 65 | | |||
66 | Q_SIGNALS: | 66 | Q_SIGNALS: | ||
67 | Q_SCRIPTABLE void keyPressReceived(const QString& key, int specialKey = 0, | 67 | Q_SCRIPTABLE void keyPressReceived(const QString& key, int specialKey = 0, | ||
68 | bool shift = false, bool ctrl = false, | 68 | bool shift = false, bool ctrl = false, | ||
69 | bool alt = false) const; | 69 | bool alt = false); | ||
70 | Q_SCRIPTABLE void remoteStateChanged(bool state) const; | 70 | Q_SCRIPTABLE void remoteStateChanged(bool state); | ||
71 | }; | 71 | }; | ||
72 | 72 | | |||
73 | #endif | 73 | #endif |