summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/investtransactioneditor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:10:39 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-06 03:55:14 +0200
commite0d4ece30d7c0095bfdd9a81364b66fe18a0f2cb (patch)
treea38d8fbb9786006a80b3c58554377a82ddbed49c /kmymoney2/dialogs/investtransactioneditor.cpp
parent9a28776b6c0b3446535e039d82c28519aa5a6479 (diff)
downloadkmymoney-e0d4ece30d7c0095bfdd9a81364b66fe18a0f2cb.tar.gz
kmymoney-e0d4ece30d7c0095bfdd9a81364b66fe18a0f2cb.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 28723595822268551d3e050c3a83bf6ca5e17dd5)
Diffstat (limited to 'kmymoney2/dialogs/investtransactioneditor.cpp')
-rw-r--r--kmymoney2/dialogs/investtransactioneditor.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmymoney2/dialogs/investtransactioneditor.cpp b/kmymoney2/dialogs/investtransactioneditor.cpp
index 92ea338..1f6f6da 100644
--- a/kmymoney2/dialogs/investtransactioneditor.cpp
+++ b/kmymoney2/dialogs/investtransactioneditor.cpp
@@ -279,39 +279,39 @@ void InvestTransactionEditor::createEditWidgets(void)
}
TQLabel* label = new TQLabel("", 0);
- label->tqsetAlignment(TQt::AlignVCenter | TQt::AlignRight | TQt::DontClip);
+ label->setAlignment(TQt::AlignVCenter | TQt::AlignRight | TQt::DontClip);
m_editWidgets["total"] = label;
label = new TQLabel("", 0);
- label->tqsetAlignment(TQt::AlignVCenter | TQt::DontClip);
+ label->setAlignment(TQt::AlignVCenter | TQt::DontClip);
m_editWidgets["total-label"] = label;
label = new TQLabel("", 0);
- label->tqsetAlignment(TQt::AlignVCenter | TQt::DontClip);
+ label->setAlignment(TQt::AlignVCenter | TQt::DontClip);
m_editWidgets["asset-label"] = label;
label = new TQLabel("", 0);
- label->tqsetAlignment(TQt::AlignVCenter | TQt::DontClip);
+ label->setAlignment(TQt::AlignVCenter | TQt::DontClip);
m_editWidgets["fee-label"] = label;
label = new TQLabel("", 0);
- label->tqsetAlignment(TQt::AlignVCenter | TQt::DontClip);
+ label->setAlignment(TQt::AlignVCenter | TQt::DontClip);
m_editWidgets["fee-amount-label"] = label;
label = new TQLabel("", 0);
- label->tqsetAlignment(TQt::AlignVCenter | TQt::DontClip);
+ label->setAlignment(TQt::AlignVCenter | TQt::DontClip);
m_editWidgets["interest-label"] = label;
label = new TQLabel("", 0);
- label->tqsetAlignment(TQt::AlignVCenter | TQt::DontClip);
+ label->setAlignment(TQt::AlignVCenter | TQt::DontClip);
m_editWidgets["interest-amount-label"] = label;
label = new TQLabel("", 0);
- label->tqsetAlignment(TQt::AlignVCenter | TQt::DontClip);
+ label->setAlignment(TQt::AlignVCenter | TQt::DontClip);
m_editWidgets["price-label"] = label;
label = new TQLabel("", 0);
- label->tqsetAlignment(TQt::AlignVCenter | TQt::DontClip);
+ label->setAlignment(TQt::AlignVCenter | TQt::DontClip);
m_editWidgets["shares-label"] = label;
// if we don't have more than 1 selected transaction, we don't need
@@ -586,7 +586,7 @@ void InvestTransactionEditor::loadEditWidgets(KMyMoneyRegister::Action /* action
else if(m_lastPostDate.isValid())
postDate->setDate(m_lastPostDate);
else
- postDate->setDate(TQDate::tqcurrentDate());
+ postDate->setDate(TQDate::currentDate());
// security (but only if it's not the investment account)
if(m_split.accountId() != m_account.id()) {
@@ -1014,7 +1014,7 @@ bool InvestTransactionEditor::createTransaction(MyMoneyTransaction& t, const MyM
s0.setReconcileFlag(status->state());
if(s0.reconcileFlag() == MyMoneySplit::Reconciled && !s0.reconcileDate().isValid())
- s0.setReconcileDate(TQDate::tqcurrentDate());
+ s0.setReconcileDate(TQDate::currentDate());
// call the creation logic for the current selected activity
bool rc = d->m_activity->createTransaction(t, s0, assetAccountSplit, feeSplits, m_feeSplits, interestSplits, m_interestSplits, security, currency);