summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp b/kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp
index 6d3d1db..bc1757d 100644
--- a/kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp
+++ b/kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp
@@ -70,7 +70,7 @@ void MyMoneyKeyValueContainerTest::testClear() {
}
void MyMoneyKeyValueContainerTest::testRetrieveList() {
- QMap<QString, QString> copy;
+ TQMap<TQString, TQString> copy;
copy = m->pairs();
CPPUNIT_ASSERT(copy.count() == 0);
@@ -95,12 +95,12 @@ void MyMoneyKeyValueContainerTest::testWriteXML() {
m->setValue("Key", "Value");
m->setValue("key", "value");
- QDomDocument doc("TEST");
- QDomElement el = doc.createElement("KVP-CONTAINER");
+ TQDomDocument doc("TEST");
+ TQDomElement el = doc.createElement("KVP-CONTAINER");
doc.appendChild(el);
m->writeXML(doc, el);
- QString ref(
+ TQString ref(
"<!DOCTYPE TEST>\n"
"<KVP-CONTAINER>\n"
" <KEYVALUEPAIRS>\n"
@@ -116,7 +116,7 @@ void MyMoneyKeyValueContainerTest::testReadXML() {
m->setValue("Key", "Value");
m->setValue("key", "value");
- QString ref_ok(
+ TQString ref_ok(
"<!DOCTYPE TEST>\n"
"<KVP-CONTAINER>\n"
" <KEYVALUEPAIRS>\n"
@@ -125,7 +125,7 @@ void MyMoneyKeyValueContainerTest::testReadXML() {
" </KEYVALUEPAIRS>\n"
"</KVP-CONTAINER>\n");
- QString ref_false(
+ TQString ref_false(
"<!DOCTYPE TEST>\n"
"<KVP-CONTAINER>\n"
" <KEYVALUE-PAIRS>\n"
@@ -135,14 +135,14 @@ void MyMoneyKeyValueContainerTest::testReadXML() {
"</KVP-CONTAINER>\n");
- QDomDocument doc;
- QDomElement node;
+ TQDomDocument doc;
+ TQDomElement node;
doc.setContent(ref_false);
node = doc.documentElement().firstChild().toElement();
// make sure, an empty node does not trigger an exception
try {
- MyMoneyKeyValueContainer k(QDomNode());
+ MyMoneyKeyValueContainer k(TQDomNode());
} catch(MyMoneyException *e) {
CPPUNIT_FAIL("Unexpected exception");
delete e;