summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyobjecttest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneyobjecttest.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyobjecttest.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/mymoney/mymoneyobjecttest.cpp b/kmymoney2/mymoney/mymoneyobjecttest.cpp
index f7201a9..b69d63a 100644
--- a/kmymoney2/mymoney/mymoneyobjecttest.cpp
+++ b/kmymoney2/mymoney/mymoneyobjecttest.cpp
@@ -34,14 +34,14 @@ void MyMoneyObjectTest::testEmptyConstructor() {
}
void MyMoneyObjectTest::testConstructor() {
- MyMoneyAccount a(QString("thb"), MyMoneyAccount());
+ MyMoneyAccount a(TQString("thb"), MyMoneyAccount());
CPPUNIT_ASSERT(!a.id().isEmpty());
- CPPUNIT_ASSERT(a.id() == QString("thb"));
+ CPPUNIT_ASSERT(a.id() == TQString("thb"));
}
void MyMoneyObjectTest::testClearId() {
- MyMoneyAccount a(QString("thb"), MyMoneyAccount());
+ MyMoneyAccount a(TQString("thb"), MyMoneyAccount());
CPPUNIT_ASSERT(!a.id().isEmpty());
a.clearId();
@@ -49,23 +49,23 @@ void MyMoneyObjectTest::testClearId() {
}
void MyMoneyObjectTest::testCopyConstructor() {
- MyMoneyAccount a(QString("thb"), MyMoneyAccount());
+ MyMoneyAccount a(TQString("thb"), MyMoneyAccount());
MyMoneyAccount b(a);
CPPUNIT_ASSERT(a.MyMoneyObject::operator==(b));
}
void MyMoneyObjectTest::testAssignmentConstructor() {
- MyMoneyAccount a(QString("thb"), MyMoneyAccount());
+ MyMoneyAccount a(TQString("thb"), MyMoneyAccount());
MyMoneyAccount b = a;
CPPUNIT_ASSERT(a.MyMoneyObject::operator==(b));
}
void MyMoneyObjectTest::testEquality() {
- MyMoneyAccount a(QString("thb"), MyMoneyAccount());
- MyMoneyAccount b(QString("thb"), MyMoneyAccount());
- MyMoneyAccount c(QString("ace"), MyMoneyAccount());
+ MyMoneyAccount a(TQString("thb"), MyMoneyAccount());
+ MyMoneyAccount b(TQString("thb"), MyMoneyAccount());
+ MyMoneyAccount c(TQString("ace"), MyMoneyAccount());
CPPUNIT_ASSERT(a.MyMoneyObject::operator==(b));
CPPUNIT_ASSERT(!(a.MyMoneyObject::operator==(c)));