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

void QAbstractFormBuilder::saveDom ( DomUI *  ui,
QWidget widget 
) [protected, virtual, inherited]

For internal use only.

Definition at line 1016 of file abstractformbuilder.cpp.

References QObject::objectName, QAbstractFormBuilder::saveConnections(), QAbstractFormBuilder::saveCustomWidgets(), QAbstractFormBuilder::saveResources(), and QAbstractFormBuilder::saveTabStops().

Referenced by QAbstractFormBuilder::save().

{
    ui->setElementClass(widget->objectName());

    if (DomConnections *ui_connections = saveConnections()) {
        ui->setElementConnections(ui_connections);
    }

    if (DomCustomWidgets *ui_customWidgets = saveCustomWidgets()) {
        ui->setElementCustomWidgets(ui_customWidgets);
    }

    if (DomTabStops *ui_tabStops = saveTabStops()) {
        ui->setElementTabStops(ui_tabStops);
    }

    if (DomResources *ui_resources = saveResources()) {
        ui->setElementResources(ui_resources);
    }
}


Generated by  Doxygen 1.6.0   Back to index