The function adds the newly created action to the menu's
list of actions, and returns it.
+ QMenu takes ownership of the returned QAction.
+
\sa QWidget::addAction()
*/
QAction *QMenu::addAction(const QString &text)
and some \a text. The function adds the newly created action to
the menu's list of actions, and returns it.
+ QMenu takes ownership of the returned QAction.
+
\sa QWidget::addAction()
*/
QAction *QMenu::addAction(const QIcon &icon, const QString &text)
\a receiver's \a member slot. The function adds the newly created
action to the menu's list of actions and returns it.
+ QMenu takes ownership of the returned QAction.
+
\sa QWidget::addAction()
*/
QAction *QMenu::addAction(const QString &text, const QObject *receiver, const char* member, const QKeySequence &shortcut)
\a member slot of the \a receiver object. The function adds the
newly created action to the menu's list of actions, and returns it.
+ QMenu takes ownership of the returned QAction.
+
\sa QWidget::addAction()
*/
QAction *QMenu::addAction(const QIcon &icon, const QString &text, const QObject *receiver,
action to this menu's list of actions. It returns the newly
created action.
+ QMenu takes ownership of the returned QAction.
+
\sa QWidget::addAction()
*/
QAction *QMenu::addSeparator()
the newly created action into this menu's list of actions before
action \a before and returns it.
+ QMenu takes ownership of the returned QAction.
+
\sa QWidget::insertAction(), addSeparator()
*/
QAction *QMenu::insertSeparator(QAction *before)