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/mymoney/mymoneypayeetest.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/mymoney/mymoneypayeetest.cpp')
-rw-r--r-- | kmymoney2/mymoney/mymoneypayeetest.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/mymoney/mymoneypayeetest.cpp b/kmymoney2/mymoney/mymoneypayeetest.cpp index 124cc65..0dad126 100644 --- a/kmymoney2/mymoney/mymoneypayeetest.cpp +++ b/kmymoney2/mymoney/mymoneypayeetest.cpp @@ -27,20 +27,20 @@ void MyMoneyPayeeTest::tearDown () { void MyMoneyPayeeTest::testXml(){ TQDomDocument doc; - TQDomElement tqparent = doc.createElement("Test"); - doc.appendChild(tqparent); + TQDomElement parent = doc.createElement("Test"); + doc.appendChild(parent); MyMoneyPayee payee1; payee1.m_id = "some random id";//if the ID isn't set, w ethrow an exception - payee1.writeXML(doc,tqparent); + payee1.writeXML(doc,parent); TQString temp1 = "Account1"; payee1.setDefaultAccountId(temp1); - payee1.writeXML(doc,tqparent); + payee1.writeXML(doc,parent); TQString temp2 = "Account2"; payee1.setDefaultAccountId(temp2); - payee1.writeXML(doc,tqparent); + payee1.writeXML(doc,parent); payee1.setDefaultAccountId(); - payee1.writeXML(doc,tqparent); - TQDomElement el = tqparent.firstChild().toElement(); + payee1.writeXML(doc,parent); + TQDomElement el = parent.firstChild().toElement(); CPPUNIT_ASSERT(!el.isNull()); MyMoneyPayee payee2(el); CPPUNIT_ASSERT(!payee2.defaultAccountEnabled()); |