diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kppp/runtests.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/runtests.cpp')
-rw-r--r-- | kppp/runtests.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kppp/runtests.cpp b/kppp/runtests.cpp index 59f32e93..a520d116 100644 --- a/kppp/runtests.cpp +++ b/kppp/runtests.cpp @@ -24,7 +24,7 @@ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include <qdir.h> +#include <tqdir.h> #include "runtests.h" #include <ctype.h> #include <unistd.h> @@ -197,13 +197,13 @@ int runTests() { char buf[2048]; // safe while(f != NULL && !feof(f)) { if(fgets(buf, sizeof(buf), f) != NULL) { - QString s(buf); + TQString s(buf); s = s.stripWhiteSpace(); if(s[0] == '#' || s.length() == 0) continue; - if((uid_t)uidFromName(QFile::encodeName(s)) == getuid()) { + if((uid_t)uidFromName(TQFile::encodeName(s)) == getuid()) { access = TRUE; fclose(f); f = NULL; @@ -261,8 +261,8 @@ int runTests() { // Test 5: check for existence of /etc/resolv.conf if (access(_PATH_RESCONF, R_OK) != 0) { - QString file = _PATH_RESCONF" "; - QString msgstr = i18n("%1 is missing or can't be read!\n" + TQString file = _PATH_RESCONF" "; + TQString msgstr = i18n("%1 is missing or can't be read!\n" "Ask your system administrator to create " "this file (can be empty) with appropriate " "read and write permissions.").arg(file); |