summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/latex
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:36:20 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:36:20 -0600
commitf21aaec952493cb5688c73de6e82a569ddbd7fb2 (patch)
tree78ccb5117063da3e08e3277e11054b912a9f2ae7 /kopete/plugins/latex
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/latex')
-rw-r--r--kopete/plugins/latex/kopete_latex_config.desktop2
-rw-r--r--kopete/plugins/latex/latexplugin.cpp2
-rw-r--r--kopete/plugins/latex/latexpreferences.cpp8
-rw-r--r--kopete/plugins/latex/latexpreferences.h2
4 files changed, 7 insertions, 7 deletions
diff --git a/kopete/plugins/latex/kopete_latex_config.desktop b/kopete/plugins/latex/kopete_latex_config.desktop
index 7bc0db1f..f679ed54 100644
--- a/kopete/plugins/latex/kopete_latex_config.desktop
+++ b/kopete/plugins/latex/kopete_latex_config.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Icon=latex
Type=Service
-ServiceTypes=KCModule
+ServiceTypes=TDECModule
X-TDE-ModuleType=Library
X-TDE-Library=kopete_latex
diff --git a/kopete/plugins/latex/latexplugin.cpp b/kopete/plugins/latex/latexplugin.cpp
index d8169311..dd9046a2 100644
--- a/kopete/plugins/latex/latexplugin.cpp
+++ b/kopete/plugins/latex/latexplugin.cpp
@@ -180,7 +180,7 @@ void LatexPlugin::slotMessageAboutToSend( Kopete::Message& msg)
Q_UNUSED(msg)
//disabled because to work correctly, we need to find what special has the gif we can send over MSN
#if 0
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("Latex Plugin");
if(!config->readBoolEntry("ParseOutgoing", false))
diff --git a/kopete/plugins/latex/latexpreferences.cpp b/kopete/plugins/latex/latexpreferences.cpp
index ff02c831..09c388e7 100644
--- a/kopete/plugins/latex/latexpreferences.cpp
+++ b/kopete/plugins/latex/latexpreferences.cpp
@@ -31,7 +31,7 @@ typedef KGenericFactory<LatexPreferences> LatexPreferencesFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_kopete_latex, LatexPreferencesFactory( "kcm_kopete_latex" ) )
LatexPreferences::LatexPreferences(TQWidget *parent, const char* /*name*/, const TQStringList &args)
- : KCModule(LatexPreferencesFactory::instance(), parent, args)
+ : TDECModule(LatexPreferencesFactory::instance(), parent, args)
{
( new TQVBoxLayout( this ) )->setAutoAdd( true );
m_preferencesDialog = new LatexPrefsUI(this);
@@ -55,12 +55,12 @@ void LatexPreferences::load()
// load widgets here
m_preferencesDialog->horizontalDPI->setValue(LatexConfig::self()->horizontalDPI());
m_preferencesDialog->verticalDPI->setValue(LatexConfig::self()->verticalDPI());
- emit KCModule::changed(false);
+ emit TDECModule::changed(false);
}
void LatexPreferences::slotModified()
{
- emit KCModule::changed(true);
+ emit TDECModule::changed(true);
}
void LatexPreferences::save()
@@ -68,7 +68,7 @@ void LatexPreferences::save()
LatexConfig::self()->setHorizontalDPI(m_preferencesDialog->horizontalDPI->value());
LatexConfig::self()->setVerticalDPI(m_preferencesDialog->verticalDPI->value());
LatexConfig::self()->writeConfig();
- emit KCModule::changed(false);
+ emit TDECModule::changed(false);
}
#include "latexpreferences.moc"
diff --git a/kopete/plugins/latex/latexpreferences.h b/kopete/plugins/latex/latexpreferences.h
index 33013acb..aa6d8597 100644
--- a/kopete/plugins/latex/latexpreferences.h
+++ b/kopete/plugins/latex/latexpreferences.h
@@ -28,7 +28,7 @@ class TQListViewItem;
*@author Duncan Mac-Vicar Prett
*/
-class LatexPreferences : public KCModule
+class LatexPreferences : public TDECModule
{
Q_OBJECT