summaryrefslogtreecommitdiffstats
path: root/kdecore/ksocks.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/ksocks.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/ksocks.cpp')
-rw-r--r--kdecore/ksocks.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdecore/ksocks.cpp b/kdecore/ksocks.cpp
index be9331548..e596c50d9 100644
--- a/kdecore/ksocks.cpp
+++ b/kdecore/ksocks.cpp
@@ -22,9 +22,9 @@
#include <sys/time.h>
#endif
-#include <qfile.h>
-#include <qstring.h>
-#include <qmap.h>
+#include <tqfile.h>
+#include <tqstring.h>
+#include <tqmap.h>
#include <klocale.h>
#include <kdebug.h>
@@ -86,9 +86,9 @@ class KSocksTable {
virtual ~KSocksTable();
// The name of each symbol and it's SOCKS replacement
- QMap<SymbolKeys,QString> symbols;
+ TQMap<SymbolKeys,TQString> symbols;
// The name of this library
- QString myname;
+ TQString myname;
bool hasWorkingAsyncConnect;
};
@@ -269,12 +269,12 @@ KSocks::KSocks(KConfigBase *config) : _socksLib(0L), _st(0L) {
<< "libsocks5_sh.so"; // NEC
// Add the custom library paths here
- QStringList newlibs = config->readListEntry("SOCKS_lib_path");
+ TQStringList newlibs = config->readListEntry("SOCKS_lib_path");
- for (QStringList::Iterator it = newlibs.begin();
+ for (TQStringList::Iterator it = newlibs.begin();
it != newlibs.end();
++it) {
- QString thisone = *it;
+ TQString thisone = *it;
if (thisone[thisone.length()-1] != '/') thisone += "/";
_libPaths << thisone;
kdDebug(171) << "KSocks added a new library path: " << thisone << endl;
@@ -305,10 +305,10 @@ KSocks::KSocks(KConfigBase *config) : _socksLib(0L), _st(0L) {
_socksLib = 0L;
}
} else // leave this here "else for {}"
- for (QStringList::Iterator pit = _libPaths.begin();
+ for (TQStringList::Iterator pit = _libPaths.begin();
!_hasSocks && pit != _libPaths.end();
++pit)
- for (QStringList::Iterator it = _libNames.begin();
+ for (TQStringList::Iterator it = _libNames.begin();
it != _libNames.end();
++it) {
_socksLib = ll->library((*pit + *it).latin1());
@@ -336,7 +336,7 @@ KSocks::KSocks(KConfigBase *config) : _socksLib(0L), _st(0L) {
// Load in all the symbols
if (_st) {
- for (QMap<SymbolKeys,QString>::Iterator it = _st->symbols.begin();
+ for (TQMap<SymbolKeys,TQString>::Iterator it = _st->symbols.begin();
it != _st->symbols.end();
++it) {
switch(it.key()) {