summaryrefslogtreecommitdiffstats
path: root/kppp/runtests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/runtests.cpp')
-rw-r--r--kppp/runtests.cpp10
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);