summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/kernel/qaction.cpp')
-rw-r--r--src/widgets/kernel/qaction.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/widgets/kernel/qaction.cpp b/src/widgets/kernel/qaction.cpp
index 70a9ab664e..e835f927d0 100644
--- a/src/widgets/kernel/qaction.cpp
+++ b/src/widgets/kernel/qaction.cpp
@@ -280,7 +280,7 @@ void QActionPrivate::setShortcutEnabled(bool enable, QShortcutMap &map)
File menu in your menubar and the File menu has a submenu, setting the
MenuRole for the actions in that submenu have no effect. They will never be moved.
*/
-
+#ifndef qdoc
/*! \since 4.6
\enum QAction::SoftKeyRole
@@ -300,7 +300,7 @@ void QActionPrivate::setShortcutEnabled(bool enable, QShortcutMap &map)
the action has focus. If no widget currently has focus, the softkey framework will traverse up the
widget parent hierarchy looking for a widget containing softkey actions.
*/
-
+#endif
/*!
Constructs an action with \a parent. If \a parent is an action
group the action will be automatically inserted into the group.
@@ -1287,6 +1287,7 @@ QAction::MenuRole QAction::menuRole() const
return d->menuRole;
}
+#ifndef qdoc
/*!
\property QAction::softKeyRole
\brief the action's softkey role
@@ -1313,7 +1314,7 @@ QAction::SoftKeyRole QAction::softKeyRole() const
Q_D(const QAction);
return d->softKeyRole;
}
-
+#endif
/*!
\property QAction::iconVisibleInMenu
\brief Whether or not an action should show an icon in a menu