diff options
author | Markku Luukkainen <markku.luukkainen@digia.com> | 2009-06-05 15:02:56 (GMT) |
---|---|---|
committer | Markku Luukkainen <markku.luukkainen@digia.com> | 2009-06-05 15:02:56 (GMT) |
commit | dfffbd4d134f9b8adc75b2c33c31a2ee859903e6 (patch) | |
tree | c705b68fc0ff7ac73d18413cc48eb857cc97015c /src/gui/kernel/qwidget.h | |
parent | 93ea4a9cd6336de6e2a63b1ca075a7fdb835cfa7 (diff) | |
download | Qt-dfffbd4d134f9b8adc75b2c33c31a2ee859903e6.zip Qt-dfffbd4d134f9b8adc75b2c33c31a2ee859903e6.tar.gz Qt-dfffbd4d134f9b8adc75b2c33c31a2ee859903e6.tar.bz2 |
Initial version of softkey implementation that doesn't use
softkeystack but instead softkeys are stored in QWidgets.
Diffstat (limited to 'src/gui/kernel/qwidget.h')
-rw-r--r-- | src/gui/kernel/qwidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget.h b/src/gui/kernel/qwidget.h index 0dd470d..516d69a 100644 --- a/src/gui/kernel/qwidget.h +++ b/src/gui/kernel/qwidget.h @@ -70,6 +70,7 @@ class QWSRegionManager; class QStyle; class QAction; class QVariant; +class QSoftKeyAction; class QActionEvent; class QMouseEvent; @@ -554,6 +555,9 @@ public: void removeAction(QAction *action); QList<QAction*> actions() const; #endif + const QList<QSoftKeyAction*>& softKeys() const; + void setSoftKeys(QSoftKeyAction *softKey); + void setSoftKeys(const QList<QSoftKeyAction*> &softKeys); QWidget *parentWidget() const; |