diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kio/kssl/kopenssl.cc | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/kssl/kopenssl.cc')
-rw-r--r-- | kio/kssl/kopenssl.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kio/kssl/kopenssl.cc b/kio/kssl/kopenssl.cc index b5c679d76..70d36cd8e 100644 --- a/kio/kssl/kopenssl.cc +++ b/kio/kssl/kopenssl.cc @@ -228,7 +228,7 @@ void KOpenSSLProxy::destroy() { #include <tqstring.h> #include <tqstringlist.h> -static TQString tqfindMostRecentLib(TQString dir, TQString name) +static TQString findMostRecentLib(TQString dir, TQString name) { // Grab all shared libraries in the directory TQString filter = "lib"+name+".so.*"; @@ -245,7 +245,7 @@ static TQString tqfindMostRecentLib(TQString dir, TQString name) uint s = filter.length()-1; for (TQStringList::Iterator it = l.begin(); it != l.end(); ++it) { TQString numberpart = (*it).mid(s); - uint endmaj = numberpart.tqfind('.'); + uint endmaj = numberpart.find('.'); if (endmaj == -1) continue; bool ok; @@ -288,7 +288,7 @@ KConfig *cfg; #ifdef __OpenBSD__ { - TQString libname = tqfindMostRecentLib("/usr/lib" KDELIBSUFF, "crypto"); + TQString libname = findMostRecentLib("/usr/lib" KDELIBSUFF, "crypto"); if (!libname.isNull()) _cryptoLib = ll->globalLibrary(libname.latin1()); } @@ -369,7 +369,7 @@ KConfig *cfg; alib += "/"; alib += *shit; TQString tmpStr(alib.latin1()); - tmpStr.tqreplace(TQRegExp("\\(.*\\)"), ""); + tmpStr.replace(TQRegExp("\\(.*\\)"), ""); if (!access(tmpStr.latin1(), R_OK)) _cryptoLib = ll->globalLibrary(alib.latin1()); if (_cryptoLib) break; @@ -511,7 +511,7 @@ KConfig *cfg; #ifdef __OpenBSD__ { - TQString libname = tqfindMostRecentLib("/usr/lib", "ssl"); + TQString libname = findMostRecentLib("/usr/lib", "ssl"); if (!libname.isNull()) _sslLib = ll->globalLibrary(libname.latin1()); } @@ -527,7 +527,7 @@ KConfig *cfg; alib += "/"; alib += *shit; TQString tmpStr(alib.latin1()); - tmpStr.tqreplace(TQRegExp("\\(.*\\)"), ""); + tmpStr.replace(TQRegExp("\\(.*\\)"), ""); if (!access(tmpStr.latin1(), R_OK)) _sslLib = ll->globalLibrary(alib.latin1()); if (_sslLib) break; |