NewAuthor::NewAuthor(QWidget* parent) : KDialog(parent) { QWidget *widget = new QWidget( this ); ui.setupUi(widget); setMainWidget( widget ); setCaption( i18n("Author") ); connect(ui.leName, SIGNAL(textChanged(QString)), this, SLOT(checkIfComplete())); connect(ui.leContact, SIGNAL(textChanged(QString)), this, SLOT(checkIfComplete())); checkIfComplete(); }
bool AdvExercise::isAdvExerciseComplete(unsigned int tryNum){ return checkIfComplete(tryNum); }