diff options
author | Timothy Pearson <[email protected]> | 2012-06-11 16:25:33 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-06-11 16:25:33 -0500 |
commit | ccfa240cc20f88ae2bbf3df9af625133b4aabcf7 (patch) | |
tree | d21e7e69b0aa2b99e2ba8e32924764ac33b845f1 /src/secondaryrealmwizard/realmfinishpage.cpp | |
parent | e2d9b461c364c36b12c713b20658ab9444587d43 (diff) | |
download | kcmldapcontroller-ccfa240cc20f88ae2bbf3df9af625133b4aabcf7.tar.gz kcmldapcontroller-ccfa240cc20f88ae2bbf3df9af625133b4aabcf7.zip |
Add skeleton for secondary realm controller and fix wizard
Diffstat (limited to 'src/secondaryrealmwizard/realmfinishpage.cpp')
-rw-r--r-- | src/secondaryrealmwizard/realmfinishpage.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/secondaryrealmwizard/realmfinishpage.cpp b/src/secondaryrealmwizard/realmfinishpage.cpp index 27c09df..e0a1047 100644 --- a/src/secondaryrealmwizard/realmfinishpage.cpp +++ b/src/secondaryrealmwizard/realmfinishpage.cpp @@ -43,9 +43,6 @@ SecondaryRealmFinishPage::SecondaryRealmFinishPage(TQWidget *parent, const char px_introSidebar->setPixmap(UserIcon("step3.png")); connect(ldapAdminUsername, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(validateEntries())); - connect(ldapAdminGroupname, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(validateEntries())); - connect(ldapMachineAdminGroupname, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(validateEntries())); - connect(ldapStandardUserGroupname, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(validateEntries())); m_parentWizard = dynamic_cast<KWizard*>(parent); m_parentDialog = dynamic_cast<KDialogBase*>(parent); @@ -57,7 +54,7 @@ SecondaryRealmFinishPage::~SecondaryRealmFinishPage(){ void SecondaryRealmFinishPage::validateEntries() { if (m_parentWizard) { - if ((ldapAdminUsername->text() != "") && (ldapAdminGroupname->text() != "") && (ldapMachineAdminGroupname->text() != "") && (ldapStandardUserGroupname->text() != "")) { + if (ldapAdminUsername->text() != "") { m_parentWizard->finishButton()->setEnabled(true); } else { @@ -65,7 +62,7 @@ void SecondaryRealmFinishPage::validateEntries() { } } if (m_parentDialog) { - if ((ldapAdminUsername->text() != "") && (ldapAdminGroupname->text() != "") && (ldapMachineAdminGroupname->text() != "") && (ldapStandardUserGroupname->text() != "")) { + if (ldapAdminUsername->text() != "") { m_parentDialog->enableButton(KDialogBase::Ok, true); } else { |