summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyobjecttest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/mymoney/mymoneyobjecttest.cpp
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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)));