summaryrefslogtreecommitdiffstats
path: root/src/realmwizard.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-05-31 16:11:41 -0500
committerTimothy Pearson <[email protected]>2012-05-31 16:11:41 -0500
commitebe1ee0677547ebef722ef0523cc8ef1e0601657 (patch)
tree69f1fe14f92ebf0d636f827bb0690d6ae4feb16a /src/realmwizard.cpp
parent15ed3f5aa021307cadfdd59bcf0a4f51008cb0ef (diff)
downloadkcmldapcontroller-ebe1ee0677547ebef722ef0523cc8ef1e0601657.tar.gz
kcmldapcontroller-ebe1ee0677547ebef722ef0523cc8ef1e0601657.zip
Add GUI elements to wizard
Diffstat (limited to 'src/realmwizard.cpp')
-rw-r--r--src/realmwizard.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/realmwizard.cpp b/src/realmwizard.cpp
index e60b778..9ca02d0 100644
--- a/src/realmwizard.cpp
+++ b/src/realmwizard.cpp
@@ -55,8 +55,8 @@
#include "realmwizard.h"
#include "realmwizard.moc"
-RealmWizard::RealmWizard(TQWidget *parent, const char *name)
- : KWizard(parent, name, true) {
+RealmWizard::RealmWizard(LDAPController* controller, TQWidget *parent, const char *name)
+ : KWizard(parent, name, true), m_controller(controller) {
setCaption(i18n("LDAP Realm Wizard"));
@@ -152,7 +152,7 @@ bool RealmWizard::askClose(){
*/
void RealmWizard::reject(){
if (askClose()){
- done(0);
+ done(-1);
}
}