summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarkku Luukkainen <markku.luukkainen@digia.com>2009-06-06 12:11:10 (GMT)
committerMarkku Luukkainen <markku.luukkainen@digia.com>2009-06-06 12:11:10 (GMT)
commitf87e69fcb26387e8d22546778bb1f5d43ba8e200 (patch)
tree068c1738dd0c47e0869e522f8621527d8ba2cb17 /src
parentb8d6e02fc73fec1c1bc6b5b21e80104be61b946e (diff)
downloadQt-f87e69fcb26387e8d22546778bb1f5d43ba8e200.zip
Qt-f87e69fcb26387e8d22546778bb1f5d43ba8e200.tar.gz
Qt-f87e69fcb26387e8d22546778bb1f5d43ba8e200.tar.bz2
Renamed SoftKeyRoles to be more descriptive
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qaction.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/kernel/qaction.h b/src/gui/kernel/qaction.h
index e9c64c8..6725f42 100644
--- a/src/gui/kernel/qaction.h
+++ b/src/gui/kernel/qaction.h
@@ -91,9 +91,11 @@ class Q_GUI_EXPORT QAction : public QObject
public:
enum MenuRole { NoRole, TextHeuristicRole, ApplicationSpecificRole, AboutQtRole,
AboutRole, PreferencesRole, QuitRole };
- enum SoftKeyRole { Options, Select, Back, Next, Previous, Ok, Cancel, Edit,
- View, BackSpace, EndEdit, RevertEdit, Deselect, Finish, Menu,
- ContextMenu, Custom, SoftKey1, SoftKey2, SoftKey3, SoftKey4 };
+ enum SoftKeyRole { OptionsSoftKey, SelectSoftKey, BackSoftKey, NextSoftKey, PreviousSoftKey,
+ OkSoftKey, CancelSoftKey, EditSoftKey, ViewSoftKey, BackSpaceSoftKey,
+ EndEditSoftKey, RevertEditSoftKey, DeselectSoftKey, FinishSoftKey,
+ MenuSoftKey, ContextMenuSoftKey, Key1SoftKey, Key2SoftKey,
+ Key3SoftKey, Key4SoftKey, CustomSoftKey };
explicit QAction(QObject* parent);
QAction(const QString &text, QObject* parent);