summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/webpresence
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:04:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:04:58 -0600
commitb10a61b1fd2fe561ba61a384d4a344bae2a4aa29 (patch)
tree99dc6b2584265b2df91f7dbc1dcbf7a54efd205e /kopete/plugins/webpresence
parent64c3be47ff36e40035ead93f913aeeb1e4f85e4b (diff)
downloadtdenetwork-b10a61b1fd2fe561ba61a384d4a344bae2a4aa29.tar.gz
tdenetwork-b10a61b1fd2fe561ba61a384d4a344bae2a4aa29.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kopete/plugins/webpresence')
-rw-r--r--kopete/plugins/webpresence/CMakeLists.txt2
-rw-r--r--kopete/plugins/webpresence/Makefile.am2
-rw-r--r--kopete/plugins/webpresence/webpresenceplugin.cpp28
-rw-r--r--kopete/plugins/webpresence/webpresenceplugin.h2
4 files changed, 17 insertions, 17 deletions
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 <tqfile.h>
#include <kdebug.h>
-#include <kconfig.h>
+#include <tdeconfig.h>
#include <kgenericfactory.h>
#include <kmessagebox.h>
#include <ktempfile.h>
@@ -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 <tqvaluestack.h>
-#include <kio/job.h>
+#include <tdeio/job.h>
#include "kopetecontact.h"
#include "kopeteonlinestatus.h"