Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QMenu * QAction::menu (  )  const [inherited]

Returns the menu contained by this action. Actions that contain menus can be used to create menu items with submenus, or inserted into toolbars to create buttons with popup menus.

See also:

Definition at line 664 of file qaction.cpp.

Referenced by QAbstractFormBuilder::createActionRefDom(), QAbstractFormBuilder::createDom(), QMenuBar::event(), QMenu::event(), QMenu::initStyleOption(), QMenu::keyPressEvent(), QMenu::mouseReleaseEvent(), QMenuBar::mouseReleaseEvent(), and QToolButton::setDefaultAction().

    Q_D(const QAction);
    return d->menu;

Generated by  Doxygen 1.6.0   Back to index