diff options
Diffstat (limited to 'kmymoney2/views/kmymoneyview.cpp')
-rw-r--r-- | kmymoney2/views/kmymoneyview.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kmymoney2/views/kmymoneyview.cpp b/kmymoney2/views/kmymoneyview.cpp index 3b60c49..e622260 100644 --- a/kmymoney2/views/kmymoneyview.cpp +++ b/kmymoney2/views/kmymoneyview.cpp @@ -483,11 +483,11 @@ void KMyMoneyView::slotLedgerSelected(const TQString& _accId, const TQString& tr case MyMoneyAccount::CertificateDep: case MyMoneyAccount::MoneyMarket: case MyMoneyAccount::Currency: - qDebug("No ledger view available for account type %d", acc.accountType()); + tqDebug("No ledger view available for account type %d", acc.accountType()); break; default: - qDebug("Unknown account type %d in KMyMoneyView::slotLedgerSelected", acc.accountType()); + tqDebug("Unknown account type %d in KMyMoneyView::slotLedgerSelected", acc.accountType()); break; } } @@ -559,7 +559,7 @@ bool KMyMoneyView::readFile(const KURL& url) #else if(url.isMalformed()) { #endif - qDebug("Invalid URL '%s'", url.url().latin1()); + tqDebug("Invalid URL '%s'", url.url().latin1()); return false; } @@ -911,7 +911,7 @@ bool KMyMoneyView::initializeStorage() // Check if we have to modify the file before we allow to work with it IMyMoneyStorage* s = MyMoneyFile::instance()->storage(); while (s->fileFixVersion() < s->currentFixVersion()) { - qDebug("%s", (TQString("testing fileFixVersion %1 < %2").arg(s->fileFixVersion()).arg(s->currentFixVersion())).data()); + tqDebug("%s", (TQString("testing fileFixVersion %1 < %2").arg(s->fileFixVersion()).arg(s->currentFixVersion())).data()); switch (s->fileFixVersion()) { case 0: fixFile_0(); @@ -941,7 +941,7 @@ bool KMyMoneyView::initializeStorage() return false; } } else { - qDebug("Skipping automatic transaction fix!"); + tqDebug("Skipping automatic transaction fix!"); } MyMoneyFile::instance()->blockSignals(blocked); @@ -1308,7 +1308,7 @@ void KMyMoneyView::selectBaseCurrency(void) file->modifyAccount(*it); ft.commit(); } catch(MyMoneyException *e) { - qDebug("Unable to setup base currency in account %s (%s): %s", (*it).name().latin1(), (*it).id().data(), e->what().latin1()); + tqDebug("Unable to setup base currency in account %s (%s): %s", (*it).name().latin1(), (*it).id().data(), e->what().latin1()); delete e; } } @@ -1336,7 +1336,7 @@ void KMyMoneyView::loadDefaultCurrency(const MyMoneySecurity& currency, const bo } ft.commit(); } catch (MyMoneyException* e) { - qDebug("Error %s loading default currency", e->what().data()); + tqDebug("Error %s loading default currency", e->what().data()); delete e; } } @@ -1536,7 +1536,7 @@ void KMyMoneyView::loadAncientCurrency(const TQString& id, const TQString& name, } ft.commit(); } catch(MyMoneyException *e) { - qDebug("Error loading currency: %s", e->what().data()); + tqDebug("Error loading currency: %s", e->what().data()); delete e; } } @@ -1683,7 +1683,7 @@ void KMyMoneyView::fixFile_2(void) } } } - qDebug("%d transactions fixed in fixFile_2", count); + tqDebug("%d transactions fixed in fixFile_2", count); } void KMyMoneyView::fixFile_1(void) @@ -1866,7 +1866,7 @@ void KMyMoneyView::fixSchedule_0(MyMoneySchedule sched) MyMoneyFile::instance()->modifySchedule(sched); } } catch(MyMoneyException *e) { - qWarning("Unable to update broken schedule: %s", e->what().latin1()); + tqWarning("Unable to update broken schedule: %s", e->what().latin1()); delete e; } } @@ -2082,7 +2082,7 @@ void KMyMoneyView::fixTransactions_0(void) file->modifyTransaction(*it_t); } splits = (*it_t).splits(); // update local copy - qDebug("Fixed credit card assignment in %s", (*it_t).id().data()); + tqDebug("Fixed credit card assignment in %s", (*it_t).id().data()); } #endif @@ -2104,7 +2104,7 @@ void KMyMoneyView::fixTransactions_0(void) (*it_s).setAction(MyMoneySplit::ActionInterest); (*it_t).modifySplit(*it_s); file->modifyTransaction(*it_t); - qDebug("Fixed interest action in %s", (*it_t).id().data()); + tqDebug("Fixed interest action in %s", (*it_t).id().data()); } // if it does not reference an interest account, it must not be // of type ActionInterest @@ -2114,7 +2114,7 @@ void KMyMoneyView::fixTransactions_0(void) (*it_s).setAction(defaultAction); (*it_t).modifySplit(*it_s); file->modifyTransaction(*it_t); - qDebug("Fixed interest action in %s", (*it_t).id().data()); + tqDebug("Fixed interest action in %s", (*it_t).id().data()); } } @@ -2134,14 +2134,14 @@ void KMyMoneyView::fixTransactions_0(void) try { int fract = splitAccount.fraction(); if((*it_s).shares() != (*it_s).shares().convert(fract)) { - qDebug("adjusting fraction in %s,%s", (*it_t).id().data(), (*it_s).id().data()); + tqDebug("adjusting fraction in %s,%s", (*it_t).id().data(), (*it_s).id().data()); (*it_s).setShares((*it_s).shares().convert(fract)); (*it_s).setValue((*it_s).value().convert(fract)); (*it_t).modifySplit(*it_s); file->modifyTransaction(*it_t); } } catch(MyMoneyException* e) { - qDebug("Missing security '%s', split not altered", splitAccount.currencyId().data()); + tqDebug("Missing security '%s', split not altered", splitAccount.currencyId().data()); delete e; } } @@ -2164,7 +2164,7 @@ void KMyMoneyView::fixTransactions_0(void) void KMyMoneyView::fixDuplicateAccounts_0(MyMoneyTransaction& t) { - qDebug("Duplicate account in transaction %s", t.id().data()); + tqDebug("Duplicate account in transaction %s", t.id().data()); } void KMyMoneyView::slotPrintView(void) |