diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:37:08 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:37:08 -0600 |
commit | c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 (patch) | |
tree | 9a07481bb1245dac332e7db600c556e1db79ecf3 /kmymoney2/mymoney/mymoneyscheduletest.cpp | |
parent | 28723595822268551d3e050c3a83bf6ca5e17dd5 (diff) | |
download | kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.tar.gz kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kmymoney2/mymoney/mymoneyscheduletest.cpp')
-rw-r--r-- | kmymoney2/mymoney/mymoneyscheduletest.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kmymoney2/mymoney/mymoneyscheduletest.cpp b/kmymoney2/mymoney/mymoneyscheduletest.cpp index d3c20d2..3fe6afe 100644 --- a/kmymoney2/mymoney/mymoneyscheduletest.cpp +++ b/kmymoney2/mymoney/mymoneyscheduletest.cpp @@ -258,13 +258,13 @@ void MyMoneyScheduleTest::testOverdue() " </TRANSACTION>\n" " </SCHEDULED_TX>\n" "</SCHEDULE-CONTAINER>\n"); - TQString ref_overdue = ref.tqarg(startDate.toString(Qt::ISODate)) - .tqarg(lastPaymentDate.toString(Qt::ISODate)) - .tqarg(lastPaymentDate.toString(Qt::ISODate)); + TQString ref_overdue = ref.arg(startDate.toString(Qt::ISODate)) + .arg(lastPaymentDate.toString(Qt::ISODate)) + .arg(lastPaymentDate.toString(Qt::ISODate)); - TQString ref_intime = ref.tqarg(startDate.addDays(1).toString(Qt::ISODate)) - .tqarg(lastPaymentDate.addDays(1).toString(Qt::ISODate)) - .tqarg(lastPaymentDate.addDays(1).toString(Qt::ISODate)); + TQString ref_intime = ref.arg(startDate.addDays(1).toString(Qt::ISODate)) + .arg(lastPaymentDate.addDays(1).toString(Qt::ISODate)) + .arg(lastPaymentDate.addDays(1).toString(Qt::ISODate)); TQDomDocument doc; TQDomElement node; @@ -1070,9 +1070,9 @@ void MyMoneyScheduleTest::testWriteXML() { " </TRANSACTION>\n" " </SCHEDULED_TX>\n" "</SCHEDULE-CONTAINER>\n" - ).tqarg(TQDate::currentDate().toString(Qt::ISODate)) - .tqarg(TQDate::currentDate().toString(Qt::ISODate)) - .tqarg(TQDate::currentDate().toString(Qt::ISODate)); + ).arg(TQDate::currentDate().toString(Qt::ISODate)) + .arg(TQDate::currentDate().toString(Qt::ISODate)) + .arg(TQDate::currentDate().toString(Qt::ISODate)); CPPUNIT_ASSERT(doc.toString() == ref); } @@ -1098,9 +1098,9 @@ void MyMoneyScheduleTest::testReadXML() { " </TRANSACTION>\n" " </SCHEDULED_TX>\n" "</SCHEDULE-CONTAINER>\n" - ).tqarg(TQDate::currentDate().toString(Qt::ISODate)) - .tqarg(TQDate::currentDate().toString(Qt::ISODate)) - .tqarg(TQDate::currentDate().toString(Qt::ISODate)); + ).arg(TQDate::currentDate().toString(Qt::ISODate)) + .arg(TQDate::currentDate().toString(Qt::ISODate)) + .arg(TQDate::currentDate().toString(Qt::ISODate)); // diff to ref_ok1 is that we now have an empty entrydate // in the transaction parameters @@ -1122,9 +1122,9 @@ void MyMoneyScheduleTest::testReadXML() { " </TRANSACTION>\n" " </SCHEDULED_TX>\n" "</SCHEDULE-CONTAINER>\n" - ).tqarg(TQDate::currentDate().toString(Qt::ISODate)) - .tqarg(TQDate::currentDate().toString(Qt::ISODate)) - .tqarg(TQDate::currentDate().toString(Qt::ISODate)); + ).arg(TQDate::currentDate().toString(Qt::ISODate)) + .arg(TQDate::currentDate().toString(Qt::ISODate)) + .arg(TQDate::currentDate().toString(Qt::ISODate)); TQString ref_false = TQString( "<!DOCTYPE TEST>\n" @@ -1144,9 +1144,9 @@ void MyMoneyScheduleTest::testReadXML() { " </TRANSACTION>\n" " </SCHEDULED_TX>\n" "</SCHEDULE-CONTAINER>\n" - ).tqarg(TQDate::currentDate().toString(Qt::ISODate)) - .tqarg(TQDate::currentDate().toString(Qt::ISODate)) - .tqarg(TQDate::currentDate().toString(Qt::ISODate)); + ).arg(TQDate::currentDate().toString(Qt::ISODate)) + .arg(TQDate::currentDate().toString(Qt::ISODate)) + .arg(TQDate::currentDate().toString(Qt::ISODate)); TQDomDocument doc; TQDomElement node; @@ -1236,9 +1236,9 @@ void MyMoneyScheduleTest::testHasReferenceTo() " </TRANSACTION>\n" " </SCHEDULED_TX>\n" "</SCHEDULE-CONTAINER>\n" - ).tqarg(TQDate::currentDate().toString(Qt::ISODate)) - .tqarg(TQDate::currentDate().toString(Qt::ISODate)) - .tqarg(TQDate::currentDate().toString(Qt::ISODate)); + ).arg(TQDate::currentDate().toString(Qt::ISODate)) + .arg(TQDate::currentDate().toString(Qt::ISODate)) + .arg(TQDate::currentDate().toString(Qt::ISODate)); TQDomDocument doc; TQDomElement node; @@ -1887,9 +1887,9 @@ void MyMoneyScheduleTest::testPaidEarlyOneTime() " </TRANSACTION>\n" " </SCHEDULED_TX>\n" "</SCHEDULE-CONTAINER>\n" - ).tqarg(paymentInFuture.toString(Qt::ISODate)) - .tqarg(paymentInFuture.toString(Qt::ISODate)) - .tqarg(paymentInFuture.toString(Qt::ISODate)); + ).arg(paymentInFuture.toString(Qt::ISODate)) + .arg(paymentInFuture.toString(Qt::ISODate)) + .arg(paymentInFuture.toString(Qt::ISODate)); TQDomDocument doc; TQDomElement node; |