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

void QWidget::addActions ( QList< QAction * >  actions  )  [inherited]

Appends the actions actions to this widget's list of actions.

See also:
removeAction(), QMenu, addAction()

Definition at line 2585 of file qwidget.cpp.

References QList< T >::at(), QList< T >::count(), and QWidget::insertAction().

Referenced by QAbstractFormBuilder::create(), and QMdiSubWindow::QMdiSubWindow().

    for(int i = 0; i < actions.count(); i++)
        insertAction(0, actions.at(i));

Generated by  Doxygen 1.6.0   Back to index