diff options
Diffstat (limited to 'kmymoney2/dialogs/transactioneditor.cpp')
-rw-r--r-- | kmymoney2/dialogs/transactioneditor.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kmymoney2/dialogs/transactioneditor.cpp b/kmymoney2/dialogs/transactioneditor.cpp index cdc111a..bffcbe8 100644 --- a/kmymoney2/dialogs/transactioneditor.cpp +++ b/kmymoney2/dialogs/transactioneditor.cpp @@ -281,7 +281,7 @@ int TransactionEditor::slotEditSplits(void) *m_transactionPtr = k; } } catch(MyMoneyException *e) { - qDebug("Unable to update commodity to second splits currency in %s: '%s'", m_transaction.id().data(), e->what().data()); + tqDebug("Unable to update commodity to second splits currency in %s: '%s'", m_transaction.id().data(), e->what().data()); delete e; } @@ -357,7 +357,7 @@ bool TransactionEditor::fixTransactionCommodity(const MyMoneyAccount& account) (*it_t).transaction().modifySplit(splitB); } catch(MyMoneyException *e) { - qDebug("Unable to update commodity to second splits currency in %s: '%s'", (*it_t).transaction().id().data(), e->what().data()); + tqDebug("Unable to update commodity to second splits currency in %s: '%s'", (*it_t).transaction().id().data(), e->what().data()); delete e; } break; @@ -394,7 +394,7 @@ bool TransactionEditor::fixTransactionCommodity(const MyMoneyAccount& account) (*it_t).transaction().modifySplit(splitB); } catch(MyMoneyException *e) { - qDebug("Unable to update commodity to second splits currency in %s: '%s'", (*it_t).transaction().id().data(), e->what().data()); + tqDebug("Unable to update commodity to second splits currency in %s: '%s'", (*it_t).transaction().id().data(), e->what().data()); delete e; } break; @@ -440,7 +440,7 @@ bool TransactionEditor::fixTransactionCommodity(const MyMoneyAccount& account) } } } catch(MyMoneyException *e) { - qDebug("Unable to update commodity of split currency in %s: '%s'", (*it_t).transaction().id().data(), e->what().data()); + tqDebug("Unable to update commodity of split currency in %s: '%s'", (*it_t).transaction().id().data(), e->what().data()); delete e; } break; @@ -707,7 +707,7 @@ bool TransactionEditor::enterTransactions(TQString& newId, bool askForSchedule, } } } catch(MyMoneyException * e) { - qDebug("Unable to store transaction within engine: %s", e->what().latin1()); + tqDebug("Unable to store transaction within engine: %s", e->what().latin1()); delete e; newTransactionCreated = false; } @@ -748,7 +748,7 @@ bool StdTransactionEditor::eventFilter(TQObject* o, TQEvent* e) if((e->type() == TQEvent::FocusOut) && (haveWidget("payee") == dynamic_cast<TQWidget*>(o))) { // loosing the focus on the payee widget? - qDebug("Loosing focus on payee"); + tqDebug("Loosing focus on payee"); KMyMoneyPayeeCombo* p = dynamic_cast<KMyMoneyPayeeCombo*>(haveWidget("payee")); if(!p->selectedItem().isEmpty()) slotUpdatePayee(p->selectedItem()); @@ -1421,7 +1421,7 @@ void StdTransactionEditor::slotUpdateCashFlow(KMyMoneyRegister::CashFlowDirectio { TQLabel* categoryLabel = dynamic_cast<TQLabel*>(haveWidget("category-label")); - // qDebug("Update cashflow to %d", dir); + // tqDebug("Update cashflow to %d", dir); if(categoryLabel) { TabBar* tabbar = dynamic_cast<TabBar*>(haveWidget("tabbar")); if(categoryLabel->text() != i18n("Category")) { @@ -1443,7 +1443,7 @@ void StdTransactionEditor::slotUpdateCashFlow(KMyMoneyRegister::CashFlowDirectio void StdTransactionEditor::slotUpdateCategory(const TQString& id) { TQLabel *categoryLabel = dynamic_cast<TQLabel*>(haveWidget("category-label")); - // qDebug("Update category to %s", id.data()); + // tqDebug("Update category to %s", id.data()); if(categoryLabel) { TabBar* tabbar = dynamic_cast<TabBar*>(haveWidget("tabbar")); @@ -1522,7 +1522,7 @@ void StdTransactionEditor::slotUpdateDeposit(const TQString& txt) void StdTransactionEditor::slotUpdateAmount(const TQString& txt) { - // qDebug("Update amount to %s", txt.data()); + // tqDebug("Update amount to %s", txt.data()); MyMoneyMoney val(txt); updateAmount(val); updateVAT(true); @@ -1645,7 +1645,7 @@ bool StdTransactionEditor::addVatSplit(MyMoneyTransaction& tr, const MyMoneyMone const MyMoneySecurity& csec = file->security(category.currencyId()); const MyMoneySecurity& vsec = file->security(vatAcc.currencyId()); if(asec.id() != csec.id() || asec.id() != vsec.id()) { - qDebug("Auto VAT assignment only works if all three accounts use the same currency."); + tqDebug("Auto VAT assignment only works if all three accounts use the same currency."); return false; } @@ -1657,7 +1657,7 @@ bool StdTransactionEditor::addVatSplit(MyMoneyTransaction& tr, const MyMoneyMone tax.setAccountId(vatAcc.id()); - // qDebug("vat amount is '%s'", category.value("VatAmount").latin1()); + // tqDebug("vat amount is '%s'", category.value("VatAmount").latin1()); if(category.value("VatAmount").lower() != TQString("net")) { // split value is the gross value gv = amount; @@ -1857,7 +1857,7 @@ int StdTransactionEditor::slotEditSplits(void) } } if(!deposit || !payment) { - qDebug("Internal error: deposit(%p) & payment(%p) widgets not found but required", deposit, payment); + tqDebug("Internal error: deposit(%p) & payment(%p) widgets not found but required", deposit, payment); return rc; } } |