summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/alias/aliaspreferences.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/alias/aliaspreferences.cpp')
-rw-r--r--kopete/plugins/alias/aliaspreferences.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/plugins/alias/aliaspreferences.cpp b/kopete/plugins/alias/aliaspreferences.cpp
index 60c4b0f2..4ffa9d27 100644
--- a/kopete/plugins/alias/aliaspreferences.cpp
+++ b/kopete/plugins/alias/aliaspreferences.cpp
@@ -120,7 +120,7 @@ class ProtocolItem : public TQListViewItem
K_EXPORT_COMPONENT_FACTORY( kcm_kopete_alias, AliasPreferencesFactory( "kcm_kopete_alias" ) )
AliasPreferences::AliasPreferences( TQWidget *parent, const char *, const TQStringList &args )
- : KCModule( AliasPreferencesFactory::instance(), parent, args )
+ : TDECModule( AliasPreferencesFactory::instance(), parent, args )
{
( new TQVBoxLayout( this ) )->setAutoAdd( true );
preferencesDialog = new AliasDialogBase( this );
@@ -158,7 +158,7 @@ AliasPreferences::~AliasPreferences()
// reload configuration reading it from kopeterc
void AliasPreferences::load()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
if( config->hasGroup( "AliasPlugin" ) )
{
config->setGroup("AliasPlugin");
@@ -189,7 +189,7 @@ void AliasPreferences::slotPluginLoaded( Kopete::Plugin *plugin )
Kopete::Protocol *protocol = static_cast<Kopete::Protocol*>( plugin );
if( protocol )
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
if( config->hasGroup( "AliasPlugin" ) )
{
config->setGroup("AliasPlugin");
@@ -240,7 +240,7 @@ void AliasPreferences::slotPluginLoaded( Kopete::Plugin *plugin )
// save list to kopeterc and creates map out of it
void AliasPreferences::save()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->deleteGroup( TQString::fromLatin1("AliasPlugin") );
config->setGroup( TQString::fromLatin1("AliasPlugin") );
@@ -266,7 +266,7 @@ void AliasPreferences::save()
config->writeEntry( "AliasNames", aliases );
config->sync();
- emit KCModule::changed(false);
+ emit TDECModule::changed(false);
}
void AliasPreferences::addAlias( TQString &alias, TQString &command, const ProtocolList &p, uint id )
@@ -358,7 +358,7 @@ void AliasPreferences::slotAddAlias()
}
}
addAlias( alias, command, protocols );
- emit KCModule::changed(true);
+ emit TDECModule::changed(true);
}
}
@@ -457,7 +457,7 @@ void AliasPreferences::slotEditAlias()
delete item;
addAlias( alias, command, selProtocols );
- emit KCModule::changed(true);
+ emit TDECModule::changed(true);
}
}
}
@@ -484,7 +484,7 @@ void AliasPreferences::slotDeleteAliases()
aliasMap.erase( i->text(0) );
delete i;
- emit KCModule::changed(true);
+ emit TDECModule::changed(true);
}
save();