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/webpresenceplugin.cpp | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kopete/plugins/webpresence/webpresenceplugin.cpp') 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(); -- cgit v1.2.1