diff options
author | Slávek Banko <[email protected]> | 2013-07-27 17:13:06 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-07-27 18:48:47 +0200 |
commit | a915aa74dc1acdd12de97f9d95a848b3b2a17abb (patch) | |
tree | f65d926875557195c5f6dd840a517e195eeda20e /src/torclient.cpp | |
parent | 7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (diff) | |
download | tork-a915aa74dc1acdd12de97f9d95a848b3b2a17abb.tar.gz tork-a915aa74dc1acdd12de97f9d95a848b3b2a17abb.zip |
Initial TDE conversion
Diffstat (limited to 'src/torclient.cpp')
-rw-r--r-- | src/torclient.cpp | 12 |
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())){ |