diff options
Diffstat (limited to 'kopete/plugins/latex')
-rw-r--r-- | kopete/plugins/latex/kopete_latex_config.desktop | 2 | ||||
-rw-r--r-- | kopete/plugins/latex/latexplugin.cpp | 2 | ||||
-rw-r--r-- | kopete/plugins/latex/latexpreferences.cpp | 8 | ||||
-rw-r--r-- | kopete/plugins/latex/latexpreferences.h | 2 |
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 |