summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit6612bcfa1e491fbb2f441f2060f700b6ad589ffd (patch)
tree01ab5692b3735b315708ecef00f3a1a3d3e07d51 /kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp
parent6aa61ac2c4eb5a0c0882b2255a9dd6789a428bc7 (diff)
downloadkmymoney-6612bcfa1e491fbb2f441f2060f700b6ad589ffd.tar.gz
kmymoney-6612bcfa1e491fbb2f441f2060f700b6ad589ffd.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp')
-rw-r--r--kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp b/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp
index 9decdce..c4505e3 100644
--- a/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp
+++ b/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp
@@ -354,7 +354,7 @@ void MyMoneySeqAccessMgrTest::testModifyAccount() {
m->commitTransaction();
m->startTransaction();
MyMoneyAccount b = m->account("A000001");
- CPPUNIT_ASSERT(b.tqparentAccountId() == a.tqparentAccountId());
+ CPPUNIT_ASSERT(b.parentAccountId() == a.parentAccountId());
CPPUNIT_ASSERT(b.name() == "New account name");
CPPUNIT_ASSERT(m->dirty() == true);
} catch (MyMoneyException *e) {
@@ -422,7 +422,7 @@ void MyMoneySeqAccessMgrTest::testModifyInstitution() {
}
}
-void MyMoneySeqAccessMgrTest::testRetqparentAccount() {
+void MyMoneySeqAccessMgrTest::testReparentAccount() {
// this one adds some accounts to the database
MyMoneyAccount ex1;
ex1.setAccountType(MyMoneyAccount::Expense);
@@ -475,12 +475,12 @@ void MyMoneySeqAccessMgrTest::testRetqparentAccount() {
CPPUNIT_ASSERT(m->expense().accountCount() == 3);
CPPUNIT_ASSERT(m->account(ex1.id()).accountCount() == 1);
- CPPUNIT_ASSERT(ex3.tqparentAccountId() == STD_ACC_EXPENSE);
+ CPPUNIT_ASSERT(ex3.parentAccountId() == STD_ACC_EXPENSE);
m->reparentAccount(ex3, ex1);
CPPUNIT_ASSERT(m->expense().accountCount() == 2);
CPPUNIT_ASSERT(m->account(ex1.id()).accountCount() == 2);
- CPPUNIT_ASSERT(ex3.tqparentAccountId() == ex1.id());
+ CPPUNIT_ASSERT(ex3.parentAccountId() == ex1.id());
} catch (MyMoneyException *e) {
std::cout << std::endl << e->what() << std::endl;
delete e;
@@ -489,7 +489,7 @@ void MyMoneySeqAccessMgrTest::testRetqparentAccount() {
}
void MyMoneySeqAccessMgrTest::testAddTransactions() {
- testRetqparentAccount();
+ testReparentAccount();
MyMoneyAccount ch;
MyMoneyTransaction t1, t2;
@@ -822,7 +822,7 @@ void MyMoneySeqAccessMgrTest::testRemoveUsedAccount() {
void MyMoneySeqAccessMgrTest::testRemoveInstitution() {
testModifyInstitution();
- testRetqparentAccount();
+ testReparentAccount();
MyMoneyInstitution i;
MyMoneyAccount a;