summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qsoftkeystack_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/qsoftkeystack_p.h')
-rw-r--r--src/gui/widgets/qsoftkeystack_p.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gui/widgets/qsoftkeystack_p.h b/src/gui/widgets/qsoftkeystack_p.h
index b698178..e728cbb 100644
--- a/src/gui/widgets/qsoftkeystack_p.h
+++ b/src/gui/widgets/qsoftkeystack_p.h
@@ -70,6 +70,7 @@ QT_BEGIN_NAMESPACE
class QSoftKeyStackPrivate : public QObjectPrivate
{
+ Q_DECLARE_PUBLIC(QSoftKeyStack);
public:
QSoftKeyStackPrivate();
~QSoftKeyStackPrivate();
@@ -91,6 +92,19 @@ private:
QStack <QSoftkeySet> softKeyStack;
};
+class QKeyEventSoftKey : QObject
+{
+ Q_OBJECT
+public:
+ QKeyEventSoftKey(QSoftKeyAction *softKeyAction, Qt::Key key, QObject *parent);
+ static void addSoftKey(QSoftKeyAction::StandardRole standardRole, Qt::Key key, QWidget *actionWidget);
+private:
+ QSoftKeyAction *m_softKeyAction;
+ Qt::Key m_key;
+private Q_SLOTS:
+ void sendKeyEvent();
+};
+
QT_END_NAMESPACE
#endif // QSOFTKEYSTACK_P_H