summaryrefslogtreecommitdiffstats
path: root/kppp/logview/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/logview/log.cpp')
-rw-r--r--kppp/logview/log.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kppp/logview/log.cpp b/kppp/logview/log.cpp
index b0251d53..93be0098 100644
--- a/kppp/logview/log.cpp
+++ b/kppp/logview/log.cpp
@@ -23,37 +23,37 @@
#include <stdlib.h>
#include <stdio.h>
-#include <qprogressdialog.h>
-#include <qdir.h>
+#include <tqprogressdialog.h>
+#include <tqdir.h>
#include <kapplication.h>
#include <klocale.h>
#include <kstandarddirs.h>
#include <kdebug.h>
-QPtrList<LogInfo> logList;
-QProgressDialog *dlg;
+TQPtrList<LogInfo> logList;
+TQProgressDialog *dlg;
int loadLogs() {
int logsize = 0;
- QString logdirname = locateLocal("data", "kppp/Log/");
- QDir logdir(logdirname, "*.log");
+ TQString logdirname = locateLocal("data", "kppp/Log/");
+ TQDir logdir(logdirname, "*.log");
kdDebug(5002) << "logdirname: " << logdirname << endl;
// get log file size
const QFileInfoList *list = logdir.entryInfoList();
QFileInfoListIterator it( *list );
- QFileInfo *fi;
+ TQFileInfo *fi;
while ((fi = it.current()) != 0) {
logsize += fi->size();
++it;
}
- dlg = new QProgressDialog(i18n("Loading log files"),
- QString::null,
+ dlg = new TQProgressDialog(i18n("Loading log files"),
+ TQString::null,
logsize);
dlg->setProgress(0);
@@ -71,11 +71,11 @@ int loadLogs() {
return retval;
}
-int loadLog(QString fname) {
+int loadLog(TQString fname) {
FILE *f;
int warning=0;
- f = fopen(QFile::encodeName(fname), "r");
+ f = fopen(TQFile::encodeName(fname), "r");
if(f == NULL)
return 1;