summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/webpresence/webpresenceplugin.cpp
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/webpresenceplugin.cpp
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/webpresenceplugin.cpp')
-rw-r--r--kopete/plugins/webpresence/webpresenceplugin.cpp28
1 files changed, 14 insertions, 14 deletions
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();