summaryrefslogtreecommitdiffstats
path: root/kppp/pppstats.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
commit089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch)
treece014fb2326a80fcfafa2362b7ff88486aa17c96 /kppp/pppstats.cpp
parent83677e35509b4dafac63b76995652bdf3b49f209 (diff)
downloadtdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz
tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip
Rename old tq methods that no longer need a unique name
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;