diff options
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; |