summaryrefslogtreecommitdiffstats
path: root/kppp/pppstats.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kppp/pppstats.cpp
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
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 fb4d6428..29a87e77 100644
--- a/kppp/pppstats.cpp
+++ b/kppp/pppstats.cpp
@@ -127,25 +127,25 @@ void PPPStats::clear()
compressed = 0;
packetsunc = 0;
packetsoutunc = 0;
- iotqStatus = BytesNone;
+ ioStatus = BytesNone;
}
void PPPStats::timerClick() {
- enum IOtqStatus newtqStatus;
+ enum IOStatus newStatus;
doStats();
if((ibytes != ibytes_last) && (obytes != obytes_last))
- newtqStatus = BytesBoth;
+ newStatus = BytesBoth;
else if(ibytes != ibytes_last)
- newtqStatus = BytesIn;
+ newStatus = BytesIn;
else if(obytes != obytes_last)
- newtqStatus = BytesOut;
+ newStatus = BytesOut;
else
- newtqStatus = BytesNone;
+ newStatus = BytesNone;
- if(newtqStatus != iotqStatus)
- emit statsChanged(iotqStatus = newtqStatus);
+ if(newStatus != ioStatus)
+ emit statsChanged(ioStatus = newStatus);
ibytes_last = ibytes;
obytes_last = obytes;