summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs')
-rw-r--r--kmymoney2/dialogs/investactivities.cpp4
-rw-r--r--kmymoney2/dialogs/investtransactioneditor.cpp2
-rw-r--r--kmymoney2/dialogs/kcurrencycalculator.cpp2
-rw-r--r--kmymoney2/dialogs/kcurrencyeditdlg.cpp6
-rw-r--r--kmymoney2/dialogs/keditloanwizard.cpp4
-rw-r--r--kmymoney2/dialogs/keditscheduledlg.cpp10
-rw-r--r--kmymoney2/dialogs/kendingbalancedlg.cpp4
-rw-r--r--kmymoney2/dialogs/kenterscheduledlg.cpp8
-rw-r--r--kmymoney2/dialogs/kequitypriceupdatedlg.cpp2
-rw-r--r--kmymoney2/dialogs/kexportdlg.cpp2
-rw-r--r--kmymoney2/dialogs/kmymoneypricedlg.cpp2
-rw-r--r--kmymoney2/dialogs/kmymoneysplittable.cpp8
-rw-r--r--kmymoney2/dialogs/knewaccountdlg.cpp18
-rw-r--r--kmymoney2/dialogs/knewloanwizard.cpp6
-rw-r--r--kmymoney2/dialogs/kreconciledlg.cpp2
-rw-r--r--kmymoney2/dialogs/ksplittransactiondlg.cpp2
-rw-r--r--kmymoney2/dialogs/settings/ksettingshome.cpp2
-rw-r--r--kmymoney2/dialogs/transactioneditor.cpp24
18 files changed, 54 insertions, 54 deletions
diff --git a/kmymoney2/dialogs/investactivities.cpp b/kmymoney2/dialogs/investactivities.cpp
index 75081b7..c5adc66 100644
--- a/kmymoney2/dialogs/investactivities.cpp
+++ b/kmymoney2/dialogs/investactivities.cpp
@@ -155,7 +155,7 @@ void Activity::setLabelText(const TQString& idx, const TQString& txt) const
if(w) {
w->setText(txt);
} else {
- qDebug("Unknown TQLabel named '%s'", idx.data());
+ tqDebug("Unknown TQLabel named '%s'", idx.data());
}
}
@@ -484,7 +484,7 @@ bool Reinvest::createTransaction(MyMoneyTransaction& t, MyMoneySplit& s0, MyMone
return false;
if(interestSplits.count() != 1) {
- qDebug("more or less than one interest split in Reinvest::createTransaction. Not created.");
+ tqDebug("more or less than one interest split in Reinvest::createTransaction. Not created.");
return false;
}
diff --git a/kmymoney2/dialogs/investtransactioneditor.cpp b/kmymoney2/dialogs/investtransactioneditor.cpp
index 1f6f6da..b46e9d1 100644
--- a/kmymoney2/dialogs/investtransactioneditor.cpp
+++ b/kmymoney2/dialogs/investtransactioneditor.cpp
@@ -362,7 +362,7 @@ int InvestTransactionEditor::editSplits(const TQString& categoryWidgetName, cons
d->m_phonyAccount.setCurrencyId(m_transaction.commodity());
d->m_phonyAccount.fraction(MyMoneyFile::instance()->security(m_transaction.commodity()));
} catch(MyMoneyException *e) {
- qDebug("Unable to setup precision");
+ tqDebug("Unable to setup precision");
delete e;
}
diff --git a/kmymoney2/dialogs/kcurrencycalculator.cpp b/kmymoney2/dialogs/kcurrencycalculator.cpp
index 0ecd16e..54e6f6e 100644
--- a/kmymoney2/dialogs/kcurrencycalculator.cpp
+++ b/kmymoney2/dialogs/kcurrencycalculator.cpp
@@ -287,7 +287,7 @@ void KCurrencyCalculator::accept(void)
MyMoneyFile::instance()->addPrice(pr);
ft.commit();
} catch(MyMoneyException *e) {
- qDebug("Cannot add price");
+ tqDebug("Cannot add price");
delete e;
}
}
diff --git a/kmymoney2/dialogs/kcurrencyeditdlg.cpp b/kmymoney2/dialogs/kcurrencyeditdlg.cpp
index d902941..d7add09 100644
--- a/kmymoney2/dialogs/kcurrencyeditdlg.cpp
+++ b/kmymoney2/dialogs/kcurrencyeditdlg.cpp
@@ -175,7 +175,7 @@ void KCurrencyEditDlg::updateCurrency(void)
MyMoneyFile::instance()->modifyCurrency(m_currency);
ft.commit();
} catch(MyMoneyException *e) {
- qWarning("Updateing the currency failed!");
+ tqWarning("Updateing the currency failed!");
delete e;
}
}
@@ -257,7 +257,7 @@ void KCurrencyEditDlg::slotRenameCurrency(TQListViewItem* item, int /* col */, c
try {
if(txt != m_currency.name()) {
- qDebug("Renaming");
+ tqDebug("Renaming");
MyMoneySecurity currency = file->currency(p->id());
currency.setName(txt);
MyMoneyFileTransaction ft;
@@ -266,7 +266,7 @@ void KCurrencyEditDlg::slotRenameCurrency(TQListViewItem* item, int /* col */, c
m_currency = currency;
ft.commit();
} catch(MyMoneyException* e) {
- qDebug("Renaming currency failed");
+ tqDebug("Renaming currency failed");
delete e;
}
}
diff --git a/kmymoney2/dialogs/keditloanwizard.cpp b/kmymoney2/dialogs/keditloanwizard.cpp
index 6350845..b9a2fcc 100644
--- a/kmymoney2/dialogs/keditloanwizard.cpp
+++ b/kmymoney2/dialogs/keditloanwizard.cpp
@@ -172,7 +172,7 @@ void KEditLoanWizard::loadWidgets(const MyMoneyAccount& /* account */)
m_payeeEdit->setSelectedItem(payee.id());
} catch(MyMoneyException *e) {
delete e;
- qWarning("Payee for schedule has been deleted");
+ tqWarning("Payee for schedule has been deleted");
}
}
@@ -318,7 +318,7 @@ void KEditLoanWizard::next()
setFinishEnabled(m_summaryPage, true);
} else {
- qFatal("%s,%d: This should never happen", __FILE__, __LINE__);
+ tqFatal("%s,%d: This should never happen", __FILE__, __LINE__);
}
m_lastSelection = m_selectionButtonGroup->id(m_selectionButtonGroup->selected());
diff --git a/kmymoney2/dialogs/keditscheduledlg.cpp b/kmymoney2/dialogs/keditscheduledlg.cpp
index 195a232..1ee14db 100644
--- a/kmymoney2/dialogs/keditscheduledlg.cpp
+++ b/kmymoney2/dialogs/keditscheduledlg.cpp
@@ -358,7 +358,7 @@ const MyMoneySchedule& KEditScheduleDlg::schedule(void) const
break;
}
} else {
- qDebug("No tabbar found in KEditScheduleDlg::schedule(). Defaulting type to BILL");
+ tqDebug("No tabbar found in KEditScheduleDlg::schedule(). Defaulting type to BILL");
}
d->m_schedule.setAutoEnter(m_autoEnterEdit->isChecked());
@@ -389,16 +389,16 @@ bool KEditScheduleDlg::focusNextPrevChild(bool next)
{
bool rc = false;
- // qDebug("KEditScheduleDlg::focusNextPrevChild(editmode=%s)", m_inEditMode ? "true" : "false");
+ // tqDebug("KEditScheduleDlg::focusNextPrevChild(editmode=%s)", m_inEditMode ? "true" : "false");
TQWidget *w = 0;
TQWidget *currentWidget;
w = tqApp->focusWidget();
while(w && d->m_tabOrderWidgets.find(w) == -1) {
- // qDebug("'%s' not in list, use parent", w->className());
+ // tqDebug("'%s' not in list, use parent", w->className());
w = w->parentWidget();
}
- // if(w) qDebug("tab order is at '%s'", w->className());
+ // if(w) tqDebug("tab order is at '%s'", w->className());
currentWidget = d->m_tabOrderWidgets.current();
w = next ? d->m_tabOrderWidgets.next() : d->m_tabOrderWidgets.prev();
@@ -410,7 +410,7 @@ bool KEditScheduleDlg::focusNextPrevChild(bool next)
if(w != currentWidget
&& ((w->focusPolicy() & TQ_TabFocus) == TQ_TabFocus)
&& w->isVisible() && w->isEnabled()) {
- // qDebug("Selecting '%s' as focus", w->className());
+ // tqDebug("Selecting '%s' as focus", w->className());
w->setFocus();
rc = true;
break;
diff --git a/kmymoney2/dialogs/kendingbalancedlg.cpp b/kmymoney2/dialogs/kendingbalancedlg.cpp
index 0195e48..5361613 100644
--- a/kmymoney2/dialogs/kendingbalancedlg.cpp
+++ b/kmymoney2/dialogs/kendingbalancedlg.cpp
@@ -362,7 +362,7 @@ bool KEndingBalanceDlg::createTransaction(MyMoneyTransaction &t, const int sign,
t.modifySplit(s2);
} catch(MyMoneyException *e) {
- qDebug("%s", e->what().data());
+ tqDebug("%s", e->what().data());
delete e;
t = MyMoneyTransaction();
return false;
@@ -590,7 +590,7 @@ const MyMoneyTransaction KEndingBalanceLoanDlg::adjustmentTransaction(void) cons
t.setPostDate(m_endDateEdit->date());
} catch(MyMoneyException *e) {
- qDebug("Unable to create adjustment transaction for loan reconciliation: %s", e->what().data());
+ tqDebug("Unable to create adjustment transaction for loan reconciliation: %s", e->what().data());
delete e;
return MyMoneyTransaction();
}
diff --git a/kmymoney2/dialogs/kenterscheduledlg.cpp b/kmymoney2/dialogs/kenterscheduledlg.cpp
index c225de5..79616cb 100644
--- a/kmymoney2/dialogs/kenterscheduledlg.cpp
+++ b/kmymoney2/dialogs/kenterscheduledlg.cpp
@@ -285,16 +285,16 @@ bool KEnterScheduleDlg::focusNextPrevChild(bool next)
{
bool rc = false;
- // qDebug("KGlobalLedgerView::focusNextPrevChild(editmode=%s)", m_inEditMode ? "true" : "false");
+ // tqDebug("KGlobalLedgerView::focusNextPrevChild(editmode=%s)", m_inEditMode ? "true" : "false");
TQWidget *w = 0;
TQWidget *currentWidget;
w = tqApp->focusWidget();
while(w && d->m_tabOrderWidgets.find(w) == -1) {
- // qDebug("'%s' not in list, use parent", w->className());
+ // tqDebug("'%s' not in list, use parent", w->className());
w = w->parentWidget();
}
- // if(w) qDebug("tab order is at '%s'", w->className());
+ // if(w) tqDebug("tab order is at '%s'", w->className());
currentWidget = d->m_tabOrderWidgets.current();
w = next ? d->m_tabOrderWidgets.next() : d->m_tabOrderWidgets.prev();
@@ -306,7 +306,7 @@ bool KEnterScheduleDlg::focusNextPrevChild(bool next)
if(w != currentWidget
&& ((w->focusPolicy() & TQ_TabFocus) == TQ_TabFocus)
&& w->isVisible() && w->isEnabled()) {
- // qDebug("Selecting '%s' as focus", w->className());
+ // tqDebug("Selecting '%s' as focus", w->className());
w->setFocus();
rc = true;
break;
diff --git a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
index ada2c25..de48ec7 100644
--- a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
+++ b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
@@ -365,7 +365,7 @@ void KEquityPriceUpdateDlg::storePrices(void)
ft.commit();
} catch(MyMoneyException *e) {
- qDebug("Unable to add price information for %s", name.data());
+ tqDebug("Unable to add price information for %s", name.data());
delete e;
}
}
diff --git a/kmymoney2/dialogs/kexportdlg.cpp b/kmymoney2/dialogs/kexportdlg.cpp
index 3332c0d..d71a95c 100644
--- a/kmymoney2/dialogs/kexportdlg.cpp
+++ b/kmymoney2/dialogs/kexportdlg.cpp
@@ -234,7 +234,7 @@ void KExportDlg::loadAccounts(void)
addCategories(strList, file->asset().id(), TQString());
} catch (MyMoneyException *e) {
- qDebug("Exception '%s' thrown in %s, line %ld caught in KExportDlg::loadAccounts:%d",
+ tqDebug("Exception '%s' thrown in %s, line %ld caught in KExportDlg::loadAccounts:%d",
e->what().latin1(), e->file().latin1(), e->line(), __LINE__);
delete e;
}
diff --git a/kmymoney2/dialogs/kmymoneypricedlg.cpp b/kmymoney2/dialogs/kmymoneypricedlg.cpp
index 5e5e268..c77028a 100644
--- a/kmymoney2/dialogs/kmymoneypricedlg.cpp
+++ b/kmymoney2/dialogs/kmymoneypricedlg.cpp
@@ -204,7 +204,7 @@ void KMyMoneyPriceDlg::slotDeletePrice(void)
MyMoneyFile::instance()->removePrice(item->price());
ft.commit();
} catch(MyMoneyException *e) {
- qDebug("Cannot delete price");
+ tqDebug("Cannot delete price");
delete e;
}
}
diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp
index 922b342..405a8f7 100644
--- a/kmymoney2/dialogs/kmymoneysplittable.cpp
+++ b/kmymoney2/dialogs/kmymoneysplittable.cpp
@@ -554,7 +554,7 @@ void kMyMoneySplitTable::slotUpdateData(const MyMoneyTransaction& t)
try {
colText = MyMoneyFile::instance()->accountToCategory((*it).accountId());
} catch(MyMoneyException *e) {
- qDebug("Unexpected exception in kMyMoneySplitTable::slotUpdateData()");
+ tqDebug("Unexpected exception in kMyMoneySplitTable::slotUpdateData()");
delete e;
}
}
@@ -636,7 +636,7 @@ void kMyMoneySplitTable::slotDuplicateSplit(void)
m_transaction.addSplit(split);
emit transactionChanged(m_transaction);
} catch(MyMoneyException *e) {
- qDebug("Cannot duplicate split: %s", e->what().latin1());
+ tqDebug("Cannot duplicate split: %s", e->what().latin1());
delete e;
}
}
@@ -662,7 +662,7 @@ void kMyMoneySplitTable::slotDeleteSplit(void)
setCurrentCell(m_currentRow, 0);
emit transactionChanged(m_transaction);
} catch(MyMoneyException *e) {
- qDebug("Cannot remove split: %s", e->what().latin1());
+ tqDebug("Cannot remove split: %s", e->what().latin1());
delete e;
}
}
@@ -781,7 +781,7 @@ void kMyMoneySplitTable::endEdit(bool keyBoardDriven)
}
emit transactionChanged(m_transaction);
} catch(MyMoneyException *e) {
- qDebug("Cannot add/modify split: %s", e->what().latin1());
+ tqDebug("Cannot add/modify split: %s", e->what().latin1());
delete e;
}
}
diff --git a/kmymoney2/dialogs/knewaccountdlg.cpp b/kmymoney2/dialogs/knewaccountdlg.cpp
index 5f085aa..0f54394 100644
--- a/kmymoney2/dialogs/knewaccountdlg.cpp
+++ b/kmymoney2/dialogs/knewaccountdlg.cpp
@@ -345,7 +345,7 @@ KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bo
}
catch (MyMoneyException *e)
{
- qDebug("exception in init for account dialog: %s", e->what().latin1());
+ tqDebug("exception in init for account dialog: %s", e->what().latin1());
delete e;
}
@@ -502,7 +502,7 @@ void KNewAccountDlg::okClicked()
}
catch (MyMoneyException *e)
{
- qDebug("Exception in account institution set: %s", e->what().latin1());
+ tqDebug("Exception in account institution set: %s", e->what().latin1());
delete e;
}
}
@@ -700,7 +700,7 @@ const MyMoneyAccount& KNewAccountDlg::parentAccount(void)
m_parentAccount = file->equity();
break;
default:
- qDebug("Seems we have an account that hasn't been mapped to the top five");
+ tqDebug("Seems we have an account that hasn't been mapped to the top five");
if(m_categoryEditor)
m_parentAccount = file->income();
else
@@ -916,7 +916,7 @@ void KNewAccountDlg::initParentWidget(TQString parentId, const TQString& account
}
catch (MyMoneyException *e)
{
- qDebug("Exception in assets account refresh: %s", e->what().latin1());
+ tqDebug("Exception in assets account refresh: %s", e->what().latin1());
delete e;
}
@@ -974,7 +974,7 @@ void KNewAccountDlg::slotSelectionChanged(TQListViewItem *item)
{
MyMoneyFile *file = MyMoneyFile::instance();
- //qDebug("Selected account id: %s", accountItem->accountID().data());
+ //tqDebug("Selected account id: %s", accountItem->accountID().data());
m_parentAccount = file->account(accountItem->id());
m_subAccountLabel->setText(i18n("Is a sub account of %1").arg(m_parentAccount.name()));
if(m_qlistviewParentAccounts->isEnabled()) {
@@ -983,7 +983,7 @@ void KNewAccountDlg::slotSelectionChanged(TQListViewItem *item)
}
catch (MyMoneyException *e)
{
- qDebug("This shouldn't happen! : %s", e->what().latin1());
+ tqDebug("This shouldn't happen! : %s", e->what().latin1());
delete e;
}
}
@@ -1054,7 +1054,7 @@ void KNewAccountDlg::slotLoadInstitutions(const TQString& name)
}
catch (MyMoneyException *e)
{
- qDebug("Exception in institution load: %s", e->what().latin1());
+ tqDebug("Exception in institution load: %s", e->what().latin1());
delete e;
}
}
@@ -1109,7 +1109,7 @@ void KNewAccountDlg::slotAccountTypeChanged(const TQString& typeStr)
parentId = file->income().id();
break;
default:
- qWarning("Unknown account group in KNewAccountDlg::slotAccountTypeChanged()");
+ tqWarning("Unknown account group in KNewAccountDlg::slotAccountTypeChanged()");
break;
}
initParentWidget(parentId, TQString());
@@ -1117,7 +1117,7 @@ void KNewAccountDlg::slotAccountTypeChanged(const TQString& typeStr)
}
} catch(MyMoneyException *e) {
delete e;
- qWarning("Unexpected exception in KNewAccountDlg::slotAccountTypeChanged()");
+ tqWarning("Unexpected exception in KNewAccountDlg::slotAccountTypeChanged()");
}
}
diff --git a/kmymoney2/dialogs/knewloanwizard.cpp b/kmymoney2/dialogs/knewloanwizard.cpp
index 87baaf9..105e2d3 100644
--- a/kmymoney2/dialogs/knewloanwizard.cpp
+++ b/kmymoney2/dialogs/knewloanwizard.cpp
@@ -445,7 +445,7 @@ void KNewLoanWizard::updateSummary(void)
MyMoneyAccount acc = MyMoneyFile::instance()->account(sel.first());
m_summaryInterestCategory->setText(acc.name());
} catch(MyMoneyException *e) {
- qWarning("Unable to determine interest category for loan account creation");
+ tqWarning("Unable to determine interest category for loan account creation");
delete e;
}
m_summaryAdditionalFees->setText(m_additionalCost->text());
@@ -459,7 +459,7 @@ void KNewLoanWizard::updateSummary(void)
MyMoneyAccount acc = MyMoneyFile::instance()->account(sel.first());
m_summaryPaymentAccount->setText(acc.name());
} catch(MyMoneyException *e) {
- qWarning("Unable to determine payment account for loan account creation");
+ tqWarning("Unable to determine payment account for loan account creation");
delete e;
}
}
@@ -789,7 +789,7 @@ int KNewLoanWizard::calculateLoan(void)
if((m_borrowButton->isChecked() && val < 0 && fabsl(val) > fabsl(calc.payment()))
|| (m_lendButton->isChecked() && val > 0 && fabs(val) > fabs(calc.payment()))) {
// case a)
- qDebug("Future Value is %Lf", val);
+ tqDebug("Future Value is %Lf", val);
throw new MYMONEYEXCEPTION("incorrect fincancial calculation");
} else if((m_borrowButton->isChecked() && val < 0 && fabsl(val) <= fabsl(calc.payment()))
diff --git a/kmymoney2/dialogs/kreconciledlg.cpp b/kmymoney2/dialogs/kreconciledlg.cpp
index 9c18d68..a3d0553 100644
--- a/kmymoney2/dialogs/kreconciledlg.cpp
+++ b/kmymoney2/dialogs/kreconciledlg.cpp
@@ -273,7 +273,7 @@ void KReconcileDlg::finishClicked(void)
void KReconcileDlg::updateData(void)
{
// Simply reload the list clearing the status.
- qDebug("In updateData");
+ tqDebug("In updateData");
m_reconciledTransactions.clear();
m_debitsTQList.clear();
m_creditsTQList.clear();
diff --git a/kmymoney2/dialogs/ksplittransactiondlg.cpp b/kmymoney2/dialogs/ksplittransactiondlg.cpp
index 907f927..a31693a 100644
--- a/kmymoney2/dialogs/ksplittransactiondlg.cpp
+++ b/kmymoney2/dialogs/ksplittransactiondlg.cpp
@@ -221,7 +221,7 @@ int KSplitTransactionDlg::exec(void)
break;
case 2: // distribute difference
- qDebug("distribution of difference not yet supported in KSplitTransactionDlg::slotFinishClicked()");
+ tqDebug("distribution of difference not yet supported in KSplitTransactionDlg::slotFinishClicked()");
break;
case 3: // leave unassigned
diff --git a/kmymoney2/dialogs/settings/ksettingshome.cpp b/kmymoney2/dialogs/settings/ksettingshome.cpp
index 44bd10b..afdb28b 100644
--- a/kmymoney2/dialogs/settings/ksettingshome.cpp
+++ b/kmymoney2/dialogs/settings/ksettingshome.cpp
@@ -105,7 +105,7 @@ void KSettingsHome::slotLoadItems(void)
if(last)
item->moveItem(last);
- // qDebug("Adding %s", item->text(0).latin1());
+ // tqDebug("Adding %s", item->text(0).latin1());
item->setOn(enabled);
if(item->width(fm, m_homePageList, 0) > w)
w = item->width(fm, m_homePageList, 0);
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;
}
}