connect(ui.hostEdit, SIGNAL(textChanged(const QString &)), this, SLOT(checkInputValid()));
connect(ui.userEdit, SIGNAL(textChanged(const QString &)), this, SLOT(checkInputValid()));
connect(ui.internalCore, SIGNAL(toggled(bool)), this, SLOT(checkInputValid()));
connect(ui.hostEdit, SIGNAL(textChanged(const QString &)), this, SLOT(checkInputValid()));
connect(ui.userEdit, SIGNAL(textChanged(const QString &)), this, SLOT(checkInputValid()));
connect(ui.internalCore, SIGNAL(toggled(bool)), this, SLOT(checkInputValid()));