ricardo
27th June 2009, 20:03
Hi!
How should I return data (string, int) after a QDialog is close?
Is this correct?
CNewLevelDialog dialog2(this);
QString string; int number;
if (dialog2.exec()==QDialog::Accepted) {
string= dialog2->getstring();
number= string= dialog2->getnumbre();
}
Thanks!
How should I return data (string, int) after a QDialog is close?
Is this correct?
CNewLevelDialog dialog2(this);
QString string; int number;
if (dialog2.exec()==QDialog::Accepted) {
string= dialog2->getstring();
number= string= dialog2->getnumbre();
}
Thanks!