diff options
author | Jason Barron <jbarron@trolltech.com> | 2009-09-20 13:32:47 (GMT) |
---|---|---|
committer | Jason Barron <jbarron@trolltech.com> | 2009-09-21 08:07:55 (GMT) |
commit | eb1746a18933d4691fb71bf4ad5de73ded697f40 (patch) | |
tree | cf66778785cb12d9da0ec12616f4f39c7a31e174 /src/gui/kernel/qsoftkeymanager_p.h | |
parent | 96f0746298a1b93d0d22e3678a17e2a58d4010c7 (diff) | |
download | Qt-eb1746a18933d4691fb71bf4ad5de73ded697f40.zip Qt-eb1746a18933d4691fb71bf4ad5de73ded697f40.tar.gz Qt-eb1746a18933d4691fb71bf4ad5de73ded697f40.tar.bz2 |
Introduce a d-pointer to QSoftKeyManager.
Originally this was supposed to be a mostly static API, but now it
looks like some more non-static members will be needed so introduce
a d-pointer to store them.
Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/gui/kernel/qsoftkeymanager_p.h')
-rw-r--r-- | src/gui/kernel/qsoftkeymanager_p.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/kernel/qsoftkeymanager_p.h b/src/gui/kernel/qsoftkeymanager_p.h index 229df98..1bc6908 100644 --- a/src/gui/kernel/qsoftkeymanager_p.h +++ b/src/gui/kernel/qsoftkeymanager_p.h @@ -60,9 +60,12 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE +class QSoftKeyManagerPrivate; + class Q_AUTOTEST_EXPORT QSoftKeyManager : public QObject { Q_OBJECT + Q_DECLARE_PRIVATE(QSoftKeyManager) public: @@ -85,11 +88,6 @@ private: QSoftKeyManager(); static QSoftKeyManager *instance(); static const char *standardSoftKeyText(StandardSoftKey standardKey); - static void updateSoftKeys_sys(const QList<QAction*> &softKeys); - - static QSoftKeyManager *self; - static QWidget *softKeySource; - QHash<QAction*, Qt::Key> keyedActions; protected: bool event(QEvent *e); |