diff options
author | Mailson Menezes <mailson.menezes@openbossa.org> | 2012-03-06 19:27:30 -0300 |
---|---|---|
committer | Anselmo L. S. Melo <anselmo.melo@openbossa.org> | 2012-03-15 02:08:13 +0100 |
commit | 69084ed979d4c2852532a4951c7aa548f55efe64 (patch) | |
tree | cbe25732fb991ea437b61c3803eb057dbf738902 /src/action/qaction_p.h | |
parent | 6eb3f5af9c109bf1ea115c082a0fb3e9983cb1ae (diff) |
Remove unused API
Change-Id: Iabfd90ad2d1960de38844d6c185c9755516bedc6
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
Diffstat (limited to 'src/action/qaction_p.h')
-rw-r--r-- | src/action/qaction_p.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/src/action/qaction_p.h b/src/action/qaction_p.h index 2f81a4a..e02c4a8 100644 --- a/src/action/qaction_p.h +++ b/src/action/qaction_p.h @@ -53,9 +53,10 @@ // We mean it. // -#include "QtWidgets/qaction.h" -#include "QtWidgets/qmenu.h" -#include "private/qgraphicswidget_p.h" +#include "UiHelpers/qaction.h" +// #include "QtWidgets/qaction.h" +// #include "QtWidgets/qmenu.h" +// #include "private/qgraphicswidget_p.h" #include "private/qobject_p.h" #include "uihelpersglobal.h" @@ -78,15 +79,15 @@ public: return q->d_func(); } - bool showStatusText(QWidget *w, const QString &str); + // bool showStatusText(QWidget *w, const QString &str); QPointer<QActionGroup> group; QString text; // QString iconText; // QIcon icon; - QString tooltip; - QString statustip; - QString whatsthis; + // QString tooltip; + // QString statustip; + // QString whatsthis; #ifndef QT_NO_SHORTCUT QKeySequence shortcut; QList<QKeySequence> alternateShortcuts; @@ -98,14 +99,14 @@ public: Qt::ShortcutContext shortcutContext; uint autorepeat : 1; #endif - QFont font; - QPointer<QMenu> menu; + // QFont font; + // QPointer<QMenu> menu; uint enabled : 1, forceDisabled : 1; - uint visible : 1, forceInvisible : 1; + // uint visible : 1, forceInvisible : 1; uint checkable : 1; uint checked : 1; - uint separator : 1; - uint fontSet : 1; + // uint separator : 1; + // uint fontSet : 1; //for soft keys management uint forceEnabledInSoftkeys : 1; @@ -116,10 +117,10 @@ public: QAction::SoftKeyRole softKeyRole; QAction::Priority priority; - QList<QWidget *> widgets; -#ifndef QT_NO_GRAPHICSVIEW - QList<QGraphicsWidget *> graphicsWidgets; -#endif + // QList<QWidget *> widgets; +// #ifndef QT_NO_GRAPHICSVIEW +// QList<QGraphicsWidget *> graphicsWidgets; +// #endif #ifndef QT_NO_SHORTCUT void redoGrab(QShortcutMap &map); void redoGrabAlternate(QShortcutMap &map); |