summaryrefslogtreecommitdiffstats
path: root/libtdepim/completionordereditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/completionordereditor.cpp')
-rw-r--r--libtdepim/completionordereditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtdepim/completionordereditor.cpp b/libtdepim/completionordereditor.cpp
index 68339f9e1..2e455fe10 100644
--- a/libtdepim/completionordereditor.cpp
+++ b/libtdepim/completionordereditor.cpp
@@ -100,7 +100,7 @@ private:
void LDAPCompletionItem::save( CompletionOrderEditor* )
{
- KConfig * config = LdapSearch::config();
+ TDEConfig * config = LdapSearch::config();
config->setGroup( "LDAP" );
config->writeEntry( TQString( "SelectedCompletionWeight%1" ).arg( mLdapClient->clientNumber() ),
mWeight );
@@ -113,7 +113,7 @@ class SimpleCompletionItem : public CompletionItem
public:
SimpleCompletionItem( CompletionOrderEditor* editor, const TQString& label, const TQString& identifier, int weight )
: mLabel( label ), mIdentifier( identifier ) {
- KConfigGroup group( editor->configFile(), "CompletionWeights" );
+ TDEConfigGroup group( editor->configFile(), "CompletionWeights" );
mWeight = group.readNumEntry( mIdentifier, weight );
}
virtual TQString label() const { return mLabel; }
@@ -130,7 +130,7 @@ void SimpleCompletionItem::save( CompletionOrderEditor* editor )
{
// Maybe KABC::Resource could have a completionWeight setting (for readConfig/writeConfig)
// But for tdelibs-3.2 compat purposes I can't do that.
- KConfigGroup group( editor->configFile(), "CompletionWeights" );
+ TDEConfigGroup group( editor->configFile(), "CompletionWeights" );
group.writeEntry( mIdentifier, mWeight );
}