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

QAction * QAbstractFormBuilder::createAction ( QObject parent,
const QString name 
) [protected, virtual, inherited]

For internal use only.

Definition at line 1023 of file abstractformbuilder.cpp.

References QHash< Key, T >::insert(), and QObject::setObjectName().

Referenced by QAbstractFormBuilder::create().

{
    QAction *action = new QAction(parent);
    action->setObjectName(name);
    m_actions.insert(name, action);

    return action;
}


Generated by  Doxygen 1.6.0   Back to index