From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: 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 --- kppp/pppstats.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kppp/pppstats.cpp') 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; -- cgit v1.2.1