summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/ksplittransactiondlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/ksplittransactiondlg.cpp')
-rw-r--r--kmymoney2/dialogs/ksplittransactiondlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/dialogs/ksplittransactiondlg.cpp b/kmymoney2/dialogs/ksplittransactiondlg.cpp
index 9236bea..cb80e62 100644
--- a/kmymoney2/dialogs/ksplittransactiondlg.cpp
+++ b/kmymoney2/dialogs/ksplittransactiondlg.cpp
@@ -62,8 +62,8 @@ KSplitTransactionDlg::KSplitTransactionDlg(const MyMoneyTransaction& t,
const bool deposit,
const MyMoneyMoney& calculatedValue,
const TQMap<TQString, MyMoneyMoney>& priceInfo,
- TQWidget* tqparent, const char* name) :
- KSplitTransactionDlgDecl(tqparent, name, true),
+ TQWidget* parent, const char* name) :
+ KSplitTransactionDlgDecl(parent, name, true),
m_account(acc),
m_split(s),
m_precision(2),
@@ -428,19 +428,19 @@ MyMoneyMoney KSplitTransactionDlg::diffAmount(void)
void KSplitTransactionDlg::slotCreateCategory(const TQString& name, TQString& id)
{
- MyMoneyAccount acc, tqparent;
+ MyMoneyAccount acc, parent;
acc.setName(name);
if(m_isDeposit)
- tqparent = MyMoneyFile::instance()->income();
+ parent = MyMoneyFile::instance()->income();
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();