diff options
author | Timothy Pearson <[email protected]> | 2012-03-01 13:19:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-01 13:19:48 -0600 |
commit | aa85254cd16cb870b8d1649ef1dbad09bd8491e8 (patch) | |
tree | 850c18efae9bd6bc03f83c16fe4caf8670b67f43 /kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp | |
parent | 4aafeadd9f7ae0e603589579d467588c7421a283 (diff) | |
download | kmymoney-aa85254cd16cb870b8d1649ef1dbad09bd8491e8.tar.gz kmymoney-aa85254cd16cb870b8d1649ef1dbad09bd8491e8.zip |
Rename additional global TQt functions
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp')
-rw-r--r-- | kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp b/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp index 30fe093..a171431 100644 --- a/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp +++ b/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp @@ -98,7 +98,7 @@ void MyMoneyDatabaseMgrTest::testCreateDb() { + *it + "&mode=single"; KSharedPtr <MyMoneyStorageSql> sql = m->connectToDatabase(m_url); CPPUNIT_ASSERT(0 != sql); - //qDebug("Database driver is %s", sql->driverName().ascii()); + //tqDebug("Database driver is %s", sql->driverName().ascii()); // Clear the database, so there is a fresh start on each run. if (0 == sql->open(m_url, IO_WriteOnly, true)) { MyMoneyFile::instance()->attachStorage(m); @@ -839,19 +839,19 @@ void MyMoneyDatabaseMgrTest::testBalance() { m->addTransaction(t1); - //qDebug ("Balance of A000003 is 0 = %s", m->balance("A000003", TQDate()).toString().ascii()); + //tqDebug ("Balance of A000003 is 0 = %s", m->balance("A000003", TQDate()).toString().ascii()); CPPUNIT_ASSERT(m->balance("A000003", TQDate()).isZero()); - //qDebug ("Balance of A000001 is 1600 = %s", m->balance("A000001", TQDate()).toString().ascii()); + //tqDebug ("Balance of A000001 is 1600 = %s", m->balance("A000001", TQDate()).toString().ascii()); CPPUNIT_ASSERT(m->totalBalance("A000001", TQDate()) == MyMoneyMoney(1600)); - //qDebug ("Balance of A000006 is -11600 = %s", m->balance("A000006", TQDate(2002,5,9)).toString().ascii()); + //tqDebug ("Balance of A000006 is -11600 = %s", m->balance("A000006", TQDate(2002,5,9)).toString().ascii()); CPPUNIT_ASSERT(m->balance("A000006", TQDate(2002,5,9)) == MyMoneyMoney(-11600)); - //qDebug ("Balance of A000005 is -100000 = %s", m->balance("A000005", TQDate(2002,5,10)).toString().ascii()); + //tqDebug ("Balance of A000005 is -100000 = %s", m->balance("A000005", TQDate(2002,5,10)).toString().ascii()); CPPUNIT_ASSERT(m->balance("A000005", TQDate(2002,5,10)) == MyMoneyMoney(-100000)); - //qDebug ("Balance of A000006 is 88400 = %s", m->balance("A000006", TQDate(2002,5,10)).toString().ascii()); + //tqDebug ("Balance of A000006 is 88400 = %s", m->balance("A000006", TQDate(2002,5,10)).toString().ascii()); CPPUNIT_ASSERT(m->balance("A000006", TQDate(2002,5,10)) == MyMoneyMoney(88400)); } @@ -1731,7 +1731,7 @@ void MyMoneyDatabaseMgrTest::testScheduleList() { m->addSchedule(schedule3); m->addSchedule(schedule4); } catch(MyMoneyException *e) { - qDebug("Error: %s", e->what().latin1()); + tqDebug("Error: %s", e->what().latin1()); delete e; CPPUNIT_FAIL("Unexpected exception"); } |