summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyaccounttest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneyaccounttest.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyaccounttest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/mymoney/mymoneyaccounttest.cpp b/kmymoney2/mymoney/mymoneyaccounttest.cpp
index 151dcc1..a7c55af 100644
--- a/kmymoney2/mymoney/mymoneyaccounttest.cpp
+++ b/kmymoney2/mymoney/mymoneyaccounttest.cpp
@@ -45,7 +45,7 @@ void MyMoneyAccountTest::testEmptyConstructor() {
void MyMoneyAccountTest::testConstructor() {
TQString id = "A000001";
TQString institutionid = "B000001";
- TQString tqparent = "Parent";
+ TQString parent = "Parent";
MyMoneyAccount r;
MyMoneySplit s;
r.setAccountType(MyMoneyAccount::Asset);
@@ -53,7 +53,7 @@ void MyMoneyAccountTest::testConstructor() {
r.setLastModified(TQDate::tqcurrentDate());
r.setDescription("Desc");
r.setNumber("465500");
- r.setParentAccountId(tqparent);
+ r.setParentAccountId(parent);
r.setValue(TQString("key"), "value");
s.setShares(MyMoneyMoney(1,1));
r.adjustBalance(s);
@@ -105,7 +105,7 @@ void MyMoneyAccountTest::testSetFunctions() {
void MyMoneyAccountTest::testCopyConstructor() {
TQString id = "A000001";
TQString institutionid = "B000001";
- TQString tqparent = "ParentAccount";
+ TQString parent = "ParentAccount";
MyMoneyAccount r;
r.setAccountType(MyMoneyAccount::Expense);
r.setOpeningDate(TQDate::tqcurrentDate());
@@ -114,7 +114,7 @@ void MyMoneyAccountTest::testCopyConstructor() {
r.setInstitutionId("Inst1");
r.setDescription("Desc1");
r.setNumber("Number");
- r.setParentAccountId(tqparent);
+ r.setParentAccountId(parent);
r.setValue("Key", "Value");
MyMoneyAccount a(id, r);
@@ -274,7 +274,7 @@ void MyMoneyAccountTest::testEquality()
void MyMoneyAccountTest::testWriteXML() {
TQString id = "A000001";
TQString institutionid = "B000001";
- TQString tqparent = "Parent";
+ TQString parent = "Parent";
MyMoneyAccount r;
r.setAccountType(MyMoneyAccount::Asset);
@@ -283,7 +283,7 @@ void MyMoneyAccountTest::testWriteXML() {
r.setDescription("Desc");
r.setName("AccountName");
r.setNumber("465500");
- r.setParentAccountId(tqparent);
+ r.setParentAccountId(parent);
r.setInstitutionId(institutionid);
r.setValue(TQString("key"), "value");
r.addAccountId("A000002");