diff options
author | Janne Anttila <janne.anttila@digia.com> | 2010-02-17 11:04:07 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2010-02-17 11:10:04 (GMT) |
commit | 729d67cb35830a812c8c41a02a7b16a077dc14fb (patch) | |
tree | 67d65ea6a84dd2b3708d933878593341ab310880 /src/gui/kernel/qsoftkeymanager_p.h | |
parent | 10b4dee4b0e196646e0bb4aab37dae6eaca8326e (diff) | |
download | Qt-729d67cb35830a812c8c41a02a7b16a077dc14fb.zip Qt-729d67cb35830a812c8c41a02a7b16a077dc14fb.tar.gz Qt-729d67cb35830a812c8c41a02a7b16a077dc14fb.tar.bz2 |
Support for dynamic localization in Symbian softkeys.
This commit adds support for dynamic i.e. runtime localization of S60
softkeys. Note that translations are not provided yet with qt.sis
(QTBUG-4919), meaning that localization does not actually happen unless
application developer provides its own translation (including translation
for softkeys).
Task-number: QTBUG-6785
Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui/kernel/qsoftkeymanager_p.h')
-rw-r--r-- | src/gui/kernel/qsoftkeymanager_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qsoftkeymanager_p.h b/src/gui/kernel/qsoftkeymanager_p.h index ce902fe..a6fe17e 100644 --- a/src/gui/kernel/qsoftkeymanager_p.h +++ b/src/gui/kernel/qsoftkeymanager_p.h @@ -87,6 +87,7 @@ public: static QAction *createAction(StandardSoftKey standardKey, QWidget *actionWidget); static QAction *createKeyedAction(StandardSoftKey standardKey, Qt::Key key, QWidget *actionWidget); + static QString standardSoftKeyText(StandardSoftKey standardKey); protected: bool event(QEvent *e); @@ -94,7 +95,6 @@ protected: private: QSoftKeyManager(); static QSoftKeyManager *instance(); - static const char *standardSoftKeyText(StandardSoftKey standardKey); bool appendSoftkeys(const QWidget &source, int level); QWidget *softkeySource(QWidget *previousSource, bool& recursiveMerging); bool handleUpdateSoftKeys(); |