24 #include <tqcheckbox.h>
28 #include <tdeaboutdata.h>
29 #include <tdelocale.h>
31 #include "ldapoptionswidget.h"
33 #include "kcmkabldapconfig.h"
35 #include <tdemacros.h>
39 TDE_EXPORT TDECModule *create_kabldapconfig( TQWidget *parent, const char * ) {
40 return new KCMKabLdapConfig( parent, "kcmkabldapconfig" );
44 KCMKabLdapConfig::KCMKabLdapConfig( TQWidget *parent, const char *name )
45 : TDECModule( parent, name )
47 TQVBoxLayout *layout = new TQVBoxLayout( this );
48 mConfigWidget = new LDAPOptionsWidget( this );
49 layout->addWidget( mConfigWidget );
51 connect( mConfigWidget, TQ_SIGNAL( changed( bool ) ), TQ_SIGNAL( changed( bool ) ) );
55 TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kcmkabldapconfig" ),
56 I18N_NOOP( "KAB LDAP Configure Dialog" ),
57 0, 0, TDEAboutData::License_GPL,
58 I18N_NOOP( "(c), 2003 - 2004 Tobias Koenig" ) );
60 about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
61 setAboutData( about );
64 void KCMKabLdapConfig::load()
66 mConfigWidget->restoreSettings();
69 void KCMKabLdapConfig::save()
71 mConfigWidget->saveSettings();
74 void KCMKabLdapConfig::defaults()
76 mConfigWidget->defaults();
79 #include "kcmkabldapconfig.moc"
|