diff -r b72c6db6890b -r 5dc02b23752f src/gui/kernel/qaction_p.h --- a/src/gui/kernel/qaction_p.h Wed Jun 23 19:07:03 2010 +0300 +++ b/src/gui/kernel/qaction_p.h Tue Jul 06 15:10:48 2010 +0300 @@ -75,6 +75,11 @@ QActionPrivate(); ~QActionPrivate(); + static QActionPrivate *get(QAction *q) + { + return q->d_func(); + } + bool showStatusText(QWidget *w, const QString &str); QPointer group; @@ -103,10 +108,16 @@ uint checked : 1; uint separator : 1; uint fontSet : 1; - QAction::MenuRole menuRole; - QAction::SoftKeyRole softKeyRole; - QAction::Priority priority; + + //for soft keys management + uint forceEnabledInSoftkeys : 1; + uint menuActionSoftkeys : 1; + + QAction::MenuRole menuRole : 3; + QAction::SoftKeyRole softKeyRole : 2; + QAction::Priority priority : 14; int iconVisibleInMenu : 3; // Only has values -1, 0, and 1 + QList widgets; #ifndef QT_NO_GRAPHICSVIEW QList graphicsWidgets;