summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/history
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:36:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:36:20 -0600
commitf21aaec952493cb5688c73de6e82a569ddbd7fb2 (patch)
tree78ccb5117063da3e08e3277e11054b912a9f2ae7 /kopete/plugins/history
parentc48e769eb275917717e2b55eb869f7e559293ac8 (diff)
downloadtdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.tar.gz
tdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kopete/plugins/history')
-rw-r--r--kopete/plugins/history/historypreferences.cpp10
-rw-r--r--kopete/plugins/history/historypreferences.h2
-rw-r--r--kopete/plugins/history/kopete_history_config.desktop2
3 files changed, 7 insertions, 7 deletions
diff --git a/kopete/plugins/history/historypreferences.cpp b/kopete/plugins/history/historypreferences.cpp
index 370e6721..b1bca2f6 100644
--- a/kopete/plugins/history/historypreferences.cpp
+++ b/kopete/plugins/history/historypreferences.cpp
@@ -30,7 +30,7 @@ typedef KGenericFactory<HistoryPreferences> HistoryConfigFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_kopete_history, HistoryConfigFactory( "kcm_kopete_history" ) )
HistoryPreferences::HistoryPreferences(TQWidget *parent, const char*/*name*/, const TQStringList &args)
- : KCModule(HistoryConfigFactory::instance(), parent, args)
+ : TDECModule(HistoryConfigFactory::instance(), parent, args)
{
kdDebug(14310) << k_funcinfo << "called." << endl;
(new TQVBoxLayout(this))->setAutoAdd(true);
@@ -61,7 +61,7 @@ void HistoryPreferences::load()
p->Number_ChatWindow->setValue(HistoryConfig::number_ChatWindow());
p->History_color->setColor(HistoryConfig::history_color());
//p-> HistoryConfig::browserStyle();
- emit KCModule::changed(false);
+ emit TDECModule::changed(false);
}
void HistoryPreferences::save()
@@ -72,17 +72,17 @@ void HistoryPreferences::save()
HistoryConfig::setNumber_ChatWindow(p->Number_ChatWindow->value());
HistoryConfig::setHistory_color(p->History_color->color());
HistoryConfig::self()->writeConfig();
- emit KCModule::changed(false);
+ emit TDECModule::changed(false);
}
void HistoryPreferences::slotModified()
{
- emit KCModule::changed(true);
+ emit TDECModule::changed(true);
}
void HistoryPreferences::slotShowPreviousChanged(bool on)
{
- emit KCModule::changed(true);
+ emit TDECModule::changed(true);
}
#include "historypreferences.moc"
diff --git a/kopete/plugins/history/historypreferences.h b/kopete/plugins/history/historypreferences.h
index d0dfa920..d230b208 100644
--- a/kopete/plugins/history/historypreferences.h
+++ b/kopete/plugins/history/historypreferences.h
@@ -26,7 +26,7 @@ class HistoryPrefsUI;
/**
* @author Stefan Gehn
*/
-class HistoryPreferences : public KCModule
+class HistoryPreferences : public TDECModule
{
Q_OBJECT
diff --git a/kopete/plugins/history/kopete_history_config.desktop b/kopete/plugins/history/kopete_history_config.desktop
index aa50a756..80684cb9 100644
--- a/kopete/plugins/history/kopete_history_config.desktop
+++ b/kopete/plugins/history/kopete_history_config.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Icon=history
Type=Service
-ServiceTypes=KCModule
+ServiceTypes=TDECModule
X-TDE-ModuleType=Library
X-TDE-Library=kopete_history