summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/transactioneditor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:19:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:19:48 -0600
commitaa85254cd16cb870b8d1649ef1dbad09bd8491e8 (patch)
tree850c18efae9bd6bc03f83c16fe4caf8670b67f43 /kmymoney2/dialogs/transactioneditor.cpp
parent4aafeadd9f7ae0e603589579d467588c7421a283 (diff)
downloadkmymoney-aa85254cd16cb870b8d1649ef1dbad09bd8491e8.tar.gz
kmymoney-aa85254cd16cb870b8d1649ef1dbad09bd8491e8.zip
Rename additional global TQt functions
Diffstat (limited to 'kmymoney2/dialogs/transactioneditor.cpp')
-rw-r--r--kmymoney2/dialogs/transactioneditor.cpp24
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;
}
}