diff options
Diffstat (limited to 'libtdepim/ldapsearchdialog.cpp')
-rw-r--r-- | libtdepim/ldapsearchdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libtdepim/ldapsearchdialog.cpp b/libtdepim/ldapsearchdialog.cpp index 53bfba32b..fe67137b1 100644 --- a/libtdepim/ldapsearchdialog.cpp +++ b/libtdepim/ldapsearchdialog.cpp @@ -221,14 +221,14 @@ void LDAPSearchDialog::restoreSettings() mLdapClientList.setAutoDelete( true ); mLdapClientList.clear(); - KConfig kabConfig( "kaddressbookrc" ); + TDEConfig kabConfig( "kaddressbookrc" ); kabConfig.setGroup( "LDAPSearch" ); mSearchType->setCurrentItem( kabConfig.readNumEntry( "SearchType", 0 ) ); // then read the config file and register all selected // server in the list - KConfig* config = KABC::AddressLineEdit::config(); // singleton kabldaprc config object - KConfigGroupSaver saver( config, "LDAP" ); + TDEConfig* config = KABC::AddressLineEdit::config(); // singleton kabldaprc config object + TDEConfigGroupSaver saver( config, "LDAP" ); mNumHosts = config->readUnsignedNumEntry( "NumSelectedHosts" ); if ( !mNumHosts ) { KMessageBox::error( this, i18n( "You must select a LDAP server before searching.\nYou can do this from the menu Settings/Configure KAddressBook." ) ); @@ -308,7 +308,7 @@ void LDAPSearchDialog::restoreSettings() void LDAPSearchDialog::saveSettings() { - KConfig config( "kaddressbookrc" ); + TDEConfig config( "kaddressbookrc" ); config.setGroup( "LDAPSearch" ); config.writeEntry( "SearchType", mSearchType->currentItem() ); config.sync(); |