summaryrefslogtreecommitdiffstats
path: root/kppp/pppstats.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/pppstats.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/pppstats.cpp')
-rw-r--r--kppp/pppstats.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kppp/pppstats.cpp b/kppp/pppstats.cpp
index ecc083fc..d4b3007e 100644
--- a/kppp/pppstats.cpp
+++ b/kppp/pppstats.cpp
@@ -121,25 +121,25 @@ void PPPStats::clear()
compressed = 0;
packetsunc = 0;
packetsoutunc = 0;
- ioStatus = BytesNone;
+ iotqStatus = BytesNone;
}
void PPPStats::timerClick() {
- enum IOStatus newStatus;
+ enum IOtqStatus newtqStatus;
doStats();
if((ibytes != ibytes_last) && (obytes != obytes_last))
- newStatus = BytesBoth;
+ newtqStatus = BytesBoth;
else if(ibytes != ibytes_last)
- newStatus = BytesIn;
+ newtqStatus = BytesIn;
else if(obytes != obytes_last)
- newStatus = BytesOut;
+ newtqStatus = BytesOut;
else
- newStatus = BytesNone;
+ newtqStatus = BytesNone;
- if(newStatus != ioStatus)
- emit statsChanged(ioStatus = newStatus);
+ if(newtqStatus != iotqStatus)
+ emit statsChanged(iotqStatus = newtqStatus);
ibytes_last = ibytes;
obytes_last = obytes;