diff options
Diffstat (limited to 'kppp/accounting.cpp')
| -rw-r--r-- | kppp/accounting.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kppp/accounting.cpp b/kppp/accounting.cpp index 99cbd65d..4bfdcc5b 100644 --- a/kppp/accounting.cpp +++ b/kppp/accounting.cpp @@ -173,9 +173,9 @@ bool AccountingBase::saveCosts() { gpppdata.setTotalCosts(val); gpppdata.save(); - return TRUE; + return true; } else - return FALSE; + return false; } @@ -191,7 +191,7 @@ bool AccountingBase::loadCosts() { _total = 0.0; } - return TRUE; + return true; } @@ -292,7 +292,7 @@ void Accounting::slotStart() { s += ":"; s += rules.currencySymbol(); - logMessage(s, TRUE); + logMessage(s, true); } } @@ -313,7 +313,7 @@ void Accounting::slotStop() { stats->ibytes, stats->obytes); - logMessage(s, FALSE); + logMessage(s, false); saveCosts(); } } @@ -323,7 +323,7 @@ bool Accounting::loadRuleSet(const TQString & name) { if (name.isEmpty()) { rules.load(""); // delete old rules - return TRUE; + return true; } TQString d = AccountingBase::getAccountingFile(name); @@ -335,7 +335,7 @@ bool Accounting::loadRuleSet(const TQString & name) { return (bool)(ret == 0); } - return FALSE; + return false; } @@ -450,7 +450,7 @@ void ExecutableAccounting::slotStart() { s += ":"; s += currency; - logMessage(s, TRUE); + logMessage(s, true); } @@ -468,7 +468,7 @@ void ExecutableAccounting::slotStop() { stats->ibytes, stats->obytes); - logMessage(s, FALSE); + logMessage(s, false); saveCosts(); } } |
