From b10a61b1fd2fe561ba61a384d4a344bae2a4aa29 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 01:04:58 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- kopete/plugins/webpresence/CMakeLists.txt | 2 +- kopete/plugins/webpresence/Makefile.am | 2 +- kopete/plugins/webpresence/webpresenceplugin.cpp | 28 ++++++++++++------------ kopete/plugins/webpresence/webpresenceplugin.h | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) (limited to 'kopete/plugins/webpresence') diff --git a/kopete/plugins/webpresence/CMakeLists.txt b/kopete/plugins/webpresence/CMakeLists.txt index bcba1176..a2b07be0 100644 --- a/kopete/plugins/webpresence/CMakeLists.txt +++ b/kopete/plugins/webpresence/CMakeLists.txt @@ -31,7 +31,7 @@ install( FILES install( FILES kopete_webpresence_config.desktop - DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog ) + DESTINATION ${SERVICES_INSTALL_DIR}/tdeconfiguredialog ) install( FILES webpresence_html.xsl webpresence_html_images.xsl diff --git a/kopete/plugins/webpresence/Makefile.am b/kopete/plugins/webpresence/Makefile.am index 6785efca..eb91a345 100644 --- a/kopete/plugins/webpresence/Makefile.am +++ b/kopete/plugins/webpresence/Makefile.am @@ -17,7 +17,7 @@ service_DATA = kopete_webpresence.desktop servicedir = $(kde_servicesdir) kcm_DATA = kopete_webpresence_config.desktop -kcmdir = $(kde_servicesdir)/kconfiguredialog +kcmdir = $(kde_servicesdir)/tdeconfiguredialog mydata_DATA = webpresence_html.xsl\ webpresence_html_images.xsl\ diff --git a/kopete/plugins/webpresence/webpresenceplugin.cpp b/kopete/plugins/webpresence/webpresenceplugin.cpp index 82525619..48271559 100644 --- a/kopete/plugins/webpresence/webpresenceplugin.cpp +++ b/kopete/plugins/webpresence/webpresenceplugin.cpp @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include #include @@ -73,33 +73,33 @@ WebPresencePlugin::~WebPresencePlugin() void WebPresencePlugin::loadSettings() { - TDEConfig *kconfig = TDEGlobal::config(); - kconfig->setGroup( "Web Presence Plugin" ); + TDEConfig *tdeconfig = TDEGlobal::config(); + tdeconfig->setGroup( "Web Presence Plugin" ); - frequency = kconfig->readNumEntry("UploadFrequency", 15); - resultURL = kconfig->readPathEntry("uploadURL"); + frequency = tdeconfig->readNumEntry("UploadFrequency", 15); + resultURL = tdeconfig->readPathEntry("uploadURL"); resultFormatting = WEB_UNDEFINED; - if ( kconfig->readBoolEntry( "formatHTML", false ) ) { + if ( tdeconfig->readBoolEntry( "formatHTML", false ) ) { resultFormatting = WEB_HTML; - } else if ( kconfig->readBoolEntry( "formatXHTML", false ) ) { + } else if ( tdeconfig->readBoolEntry( "formatXHTML", false ) ) { resultFormatting = WEB_XHTML; - } else if ( kconfig->readBoolEntry( "formatXML", false ) ) { + } else if ( tdeconfig->readBoolEntry( "formatXML", false ) ) { resultFormatting = WEB_XML; - } else if ( kconfig->readBoolEntry( "formatStylesheet", false ) ) { + } else if ( tdeconfig->readBoolEntry( "formatStylesheet", false ) ) { resultFormatting = WEB_CUSTOM; - userStyleSheet = kconfig->readEntry("formatStylesheetURL"); + userStyleSheet = tdeconfig->readEntry("formatStylesheetURL"); } // Default to HTML if we dont get anything useful from config file. if ( resultFormatting == WEB_UNDEFINED ) resultFormatting = WEB_HTML; - useImagesInHTML = kconfig->readBoolEntry( "useImagesHTML", false ); - useImName = kconfig->readBoolEntry("showName", true); - userName = kconfig->readEntry("showThisName"); - showAddresses = kconfig->readBoolEntry("includeIMAddress", false); + useImagesInHTML = tdeconfig->readBoolEntry( "useImagesHTML", false ); + useImName = tdeconfig->readBoolEntry("showName", true); + userName = tdeconfig->readEntry("showThisName"); + showAddresses = tdeconfig->readBoolEntry("includeIMAddress", false); // Update file when settings are changed. slotWriteFile(); diff --git a/kopete/plugins/webpresence/webpresenceplugin.h b/kopete/plugins/webpresence/webpresenceplugin.h index d5324a40..c739d10e 100644 --- a/kopete/plugins/webpresence/webpresenceplugin.h +++ b/kopete/plugins/webpresence/webpresenceplugin.h @@ -22,7 +22,7 @@ #include -#include +#include #include "kopetecontact.h" #include "kopeteonlinestatus.h" -- cgit v1.2.1