From f21aaec952493cb5688c73de6e82a569ddbd7fb2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:36:20 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kopete/plugins/history/historypreferences.cpp | 10 +++++----- kopete/plugins/history/historypreferences.h | 2 +- kopete/plugins/history/kopete_history_config.desktop | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kopete/plugins/history') 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 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 -- cgit v1.2.1