From 902ba103f2215bcefa22d62b1c9138aa4b88891c Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmymoney2/dialogs/transactioneditor.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kmymoney2/dialogs/transactioneditor.cpp') diff --git a/kmymoney2/dialogs/transactioneditor.cpp b/kmymoney2/dialogs/transactioneditor.cpp index ec01613..63ff168 100644 --- a/kmymoney2/dialogs/transactioneditor.cpp +++ b/kmymoney2/dialogs/transactioneditor.cpp @@ -1785,33 +1785,33 @@ bool StdTransactionEditor::isComplete(TQString& reason) const void StdTransactionEditor::slotCreateCategory(const TQString& name, TQString& id) { - MyMoneyAccount acc, tqparent; + MyMoneyAccount acc, parent; acc.setName(name); KMyMoneyCashFlowCombo* cashflow = dynamic_cast(haveWidget("cashflow")); if(cashflow) { // form based input if(cashflow->direction() == KMyMoneyRegister::Deposit) - tqparent = MyMoneyFile::instance()->income(); + parent = MyMoneyFile::instance()->income(); else - tqparent = MyMoneyFile::instance()->expense(); + parent = MyMoneyFile::instance()->expense(); } else if(haveWidget("deposit")) { // register based input kMyMoneyEdit* deposit = dynamic_cast(m_editWidgets["deposit"]); if(deposit->value().isPositive()) - tqparent = MyMoneyFile::instance()->income(); + parent = MyMoneyFile::instance()->income(); else - tqparent = MyMoneyFile::instance()->expense(); + parent = MyMoneyFile::instance()->expense(); } else - tqparent = MyMoneyFile::instance()->expense(); + parent = MyMoneyFile::instance()->expense(); // TODO extract possible first part of a hierarchy and check if it is one - // of our top categories. If so, remove it and select the tqparent + // of our top categories. If so, remove it and select the parent // according to this information. - emit createCategory(acc, tqparent); + emit createCategory(acc, parent); // return id id = acc.id(); -- cgit v1.2.1