summaryrefslogtreecommitdiffstats
path: root/kaddressbook/ldapsearchdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/ldapsearchdialog.cpp')
-rw-r--r--kaddressbook/ldapsearchdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kaddressbook/ldapsearchdialog.cpp b/kaddressbook/ldapsearchdialog.cpp
index cf7b1d5f..6537bebe 100644
--- a/kaddressbook/ldapsearchdialog.cpp
+++ b/kaddressbook/ldapsearchdialog.cpp
@@ -249,14 +249,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 = KPIM::LdapSearch::config();
- KConfigGroupSaver saver( config, "LDAP" );
+ TDEConfig* config = KPIM::LdapSearch::config();
+ 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." ) );
@@ -316,7 +316,7 @@ void LDAPSearchDialog::restoreSettings()
void LDAPSearchDialog::saveSettings()
{
- KConfig config( "kaddressbookrc" );
+ TDEConfig config( "kaddressbookrc" );
config.setGroup( "LDAPSearch" );
config.writeEntry( "SearchType", mSearchType->currentItem() );
config.sync();