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

int QDialog::result (  )  const [inherited]

Returns the modal dialog's result code, Accepted or Rejected.

Do not call this function if the dialog was constructed with the Qt::WA_DeleteOnClose attribute.

Definition at line 383 of file qdialog.cpp.

Referenced by dropEvent(), QMessageBox::event(), QDialog::exec(), QColorDialog::getColor(), QFileDialog::getExistingDirectory(), Q3FileDialog::getExistingDirectory(), Q3FileDialog::getOpenFileName(), Q3FileDialog::getOpenFileNames(), QColorDialog::getRgba(), Q3FileDialog::getSaveFileName(), QFileDialog::getSaveFileName(), QInputDialog::getText(), Config::subVars(), and Calculator::unaryOperatorClicked().

{
    Q_D(const QDialog);
    return d->rescode;
}


Generated by  Doxygen 1.6.0   Back to index