Changeset 651 for trunk/src/gui/kernel/qsoftkeymanager_p.h
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/kernel/qsoftkeymanager_p.h
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 64 64 class QSoftKeyManagerPrivate; 65 65 66 const char MENU_ACTION_PROPERTY[] = "_q_menuaction"; 67 66 68 class Q_AUTOTEST_EXPORT QSoftKeyManager : public QObject 67 69 { … … 80 82 81 83 static void updateSoftKeys(); 84 #ifdef Q_WS_S60 85 static bool handleCommand(int); 86 #endif 87 82 88 static QAction *createAction(StandardSoftKey standardKey, QWidget *actionWidget); 83 89 static QAction *createKeyedAction(StandardSoftKey standardKey, Qt::Key key, QWidget *actionWidget); 84 90 85 #ifdef Q_WS_S60 86 static bool handleCommand(int); 87 #endif 91 protected: 92 bool event(QEvent *e); 88 93 89 94 private: … … 91 96 static QSoftKeyManager *instance(); 92 97 static const char *standardSoftKeyText(StandardSoftKey standardKey); 93 94 protected: 95 bool event(QEvent *e); 96 97 Q_DISABLE_COPY(QSoftKeyManager) 98 bool appendSoftkeys(const QWidget &source, int level); 99 QWidget *softkeySource(QWidget *previousSource, bool& recursiveMerging); 100 bool handleUpdateSoftKeys(); 98 101 99 102 private Q_SLOTS: 100 103 void cleanupHash(QObject* obj); 101 104 void sendKeyEvent(); 105 106 private: 107 Q_DISABLE_COPY(QSoftKeyManager) 102 108 }; 103 109
Note:
See TracChangeset
for help on using the changeset viewer.