equal
deleted
inserted
replaced
61 #ifndef QT_NO_SOFTKEYMANAGER |
61 #ifndef QT_NO_SOFTKEYMANAGER |
62 QT_BEGIN_NAMESPACE |
62 QT_BEGIN_NAMESPACE |
63 |
63 |
64 class QSoftKeyManagerPrivate; |
64 class QSoftKeyManagerPrivate; |
65 |
65 |
66 const char MENU_ACTION_PROPERTY[] = "_q_menuaction"; |
66 const char MENU_ACTION_PROPERTY[] = "_q_menuAction"; |
|
67 const char FORCE_ENABLED_PROPERTY[] = "_q_forceEnabledInSoftkeys"; |
67 |
68 |
68 class Q_AUTOTEST_EXPORT QSoftKeyManager : public QObject |
69 class Q_AUTOTEST_EXPORT QSoftKeyManager : public QObject |
69 { |
70 { |
70 Q_OBJECT |
71 Q_OBJECT |
71 Q_DECLARE_PRIVATE(QSoftKeyManager) |
72 Q_DECLARE_PRIVATE(QSoftKeyManager) |
86 #endif |
87 #endif |
87 |
88 |
88 static QAction *createAction(StandardSoftKey standardKey, QWidget *actionWidget); |
89 static QAction *createAction(StandardSoftKey standardKey, QWidget *actionWidget); |
89 static QAction *createKeyedAction(StandardSoftKey standardKey, Qt::Key key, QWidget *actionWidget); |
90 static QAction *createKeyedAction(StandardSoftKey standardKey, Qt::Key key, QWidget *actionWidget); |
90 static QString standardSoftKeyText(StandardSoftKey standardKey); |
91 static QString standardSoftKeyText(StandardSoftKey standardKey); |
|
92 static void setForceEnabledInSoftkeys(QAction *action); |
|
93 static bool isForceEnabledInSofkeys(QAction *action); |
91 |
94 |
92 protected: |
95 protected: |
93 bool event(QEvent *e); |
96 bool event(QEvent *e); |
94 |
97 |
95 private: |
98 private: |