summaryrefslogtreecommitdiffstats
path: root/kppp/pppstats.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /kppp/pppstats.cpp
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
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 29a87e77..fb4d6428 100644
--- a/kppp/pppstats.cpp
+++ b/kppp/pppstats.cpp
@@ -127,25 +127,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;