diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 902ba103f2215bcefa22d62b1c9138aa4b88891c (patch) | |
tree | 63ef88424b9be33a31e5a8de61343fb8d7633937 /kmymoney2/reports/querytable.cpp | |
parent | 7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (diff) | |
download | kmymoney-902ba103f2215bcefa22d62b1c9138aa4b88891c.tar.gz kmymoney-902ba103f2215bcefa22d62b1c9138aa4b88891c.zip |
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
Diffstat (limited to 'kmymoney2/reports/querytable.cpp')
-rw-r--r-- | kmymoney2/reports/querytable.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kmymoney2/reports/querytable.cpp b/kmymoney2/reports/querytable.cpp index cc38a2f..8257ce3 100644 --- a/kmymoney2/reports/querytable.cpp +++ b/kmymoney2/reports/querytable.cpp @@ -548,8 +548,8 @@ void QueryTable::constructTransactionTable(void) if (splitAcc.isInvest()) { - // use the institution of the tqparent for stock accounts - institution = splitAcc.tqparent().institutionId(); + // use the institution of the parent for stock accounts + institution = splitAcc.parent().institutionId(); MyMoneyMoney shares = (*it_split).shares(); qA["action"] = (*it_split).action(); @@ -559,7 +559,7 @@ void QueryTable::constructTransactionTable(void) if (((*it_split).action() == MyMoneySplit::ActionBuyShares) && (*it_split).shares().isNegative()) qA["action"] = "Sell"; - qA["investaccount"] = splitAcc.tqparent().name(); + qA["investaccount"] = splitAcc.parent().name(); } if (it_split == myBegin) { @@ -829,9 +829,9 @@ void QueryTable::constructTransactionTable(void) TQString institution = account.institutionId(); - // use the institution of the tqparent for stock accounts + // use the institution of the parent for stock accounts if (account.isInvest()) - institution = account.tqparent().institutionId(); + institution = account.parent().institutionId(); MyMoneyMoney startBalance, endBalance, startPrice, endPrice; MyMoneyMoney startShares, endShares; @@ -1148,7 +1148,7 @@ void QueryTable::constructAccountTable(void) TQString iid = (*it_account).institutionId(); - // If an account does not have an institution, get it from the top-tqparent. + // If an account does not have an institution, get it from the top-parent. if ( iid.isEmpty() && ! account.isTopLevel() ) { ReportAccount topaccount = account.topParent(); @@ -1308,8 +1308,8 @@ void QueryTable::constructSplitsTable(void) if (splitAcc.isInvest()) { - // use the institution of the tqparent for stock accounts - institution = splitAcc.tqparent().institutionId(); + // use the institution of the parent for stock accounts + institution = splitAcc.parent().institutionId(); MyMoneyMoney shares = (*it_split).shares(); qA["action"] = (*it_split).action(); @@ -1319,7 +1319,7 @@ void QueryTable::constructSplitsTable(void) if (((*it_split).action() == MyMoneySplit::ActionBuyShares) && (*it_split).shares().isNegative()) qA["action"] = "Sell"; - qA["investaccount"] = splitAcc.tqparent().name(); + qA["investaccount"] = splitAcc.parent().name(); } include_me = m_config.includes(splitAcc); @@ -1461,9 +1461,9 @@ void QueryTable::constructSplitsTable(void) TQString institution = account.institutionId(); - // use the institution of the tqparent for stock accounts + // use the institution of the parent for stock accounts if (account.isInvest()) - institution = account.tqparent().institutionId(); + institution = account.parent().institutionId(); MyMoneyMoney startBalance, endBalance, startPrice, endPrice; MyMoneyMoney startShares, endShares; |