summaryrefslogtreecommitdiffstats
path: root/src/torclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/torclient.cpp')
-rw-r--r--src/torclient.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/torclient.cpp b/src/torclient.cpp
index 1411076..1652ed2 100644
--- a/src/torclient.cpp
+++ b/src/torclient.cpp
@@ -31,7 +31,7 @@
#include "functions.h"
#include <ntqtimer.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <assert.h>
#include <ntqfile.h>
#include <sys/socket.h>
@@ -858,7 +858,7 @@ void TorClient::parseServer(const TQString &info)
}else if (info.left(6) == "uptime"){
//from the clever ktorrent
- KLocale* loc = KGlobal::locale();
+ TDELocale* loc = TDEGlobal::locale();
TQTime t;
int nsecs = info.section(" ",1).toInt();
int ndays = (nsecs) / 86400;
@@ -1143,8 +1143,8 @@ void TorClient::applySettingsToRunningTor()
}
// kdDebug() << "1" << endl;
- KConfigSkeletonItem::List items = TorkConfig::self()->items();
- KConfigSkeletonItem::List::ConstIterator it;
+ TDEConfigSkeletonItem::List items = TorkConfig::self()->items();
+ TDEConfigSkeletonItem::List::ConstIterator it;
for( it = items.begin(); it != items.end(); ++it ) {
if (elementShouldBeUsed((*it))){
@@ -1213,7 +1213,7 @@ void TorClient::applySettingsToRunningTor()
}
-bool TorClient::elementShouldBeUsed(const KConfigSkeletonItem* it)
+bool TorClient::elementShouldBeUsed(const TDEConfigSkeletonItem* it)
{
//Maxmin Settings are always applied, defaults if 'let Tor decide' selected.
@@ -1239,7 +1239,7 @@ bool TorClient::elementShouldBeUsed(const KConfigSkeletonItem* it)
return false;
}
-bool TorClient::noSpecialProcessing(const KConfigSkeletonItem* it)
+bool TorClient::noSpecialProcessing(const TDEConfigSkeletonItem* it)
{
if (((*it).name() == "PublishServerDescriptor") && (TorkConfig::bridgeRelay())){