summaryrefslogtreecommitdiffstats
path: root/kppp/logview/log.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kppp/logview/log.cpp
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/logview/log.cpp')
-rw-r--r--kppp/logview/log.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kppp/logview/log.cpp b/kppp/logview/log.cpp
index 93be0098..53508bdc 100644
--- a/kppp/logview/log.cpp
+++ b/kppp/logview/log.cpp
@@ -43,8 +43,8 @@ int loadLogs() {
kdDebug(5002) << "logdirname: " << logdirname << endl;
// get log file size
- const QFileInfoList *list = logdir.entryInfoList();
- QFileInfoListIterator it( *list );
+ const TQFileInfoList *list = logdir.entryInfoList();
+ TQFileInfoListIterator it( *list );
TQFileInfo *fi;
while ((fi = it.current()) != 0) {
@@ -53,13 +53,13 @@ int loadLogs() {
}
dlg = new TQProgressDialog(i18n("Loading log files"),
- TQString::null,
+ TQString(),
logsize);
dlg->setProgress(0);
// load logs
list = logdir.entryInfoList();
- QFileInfoListIterator it1( *list );
+ TQFileInfoListIterator it1( *list );
int retval = 0;
while ((fi = it1.current()) != 0) {
@@ -116,7 +116,7 @@ int loadLog(TQString fname) {
return 0;
}
-int QLogList::compareItems(Item a, Item b) {
+int TQLogList::compareItems(Item a, Item b) {
LogInfo *la = (LogInfo *)a;
LogInfo *lb = (LogInfo *)b;