summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/tests/kooasisstoretest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/tests/kooasisstoretest.cpp')
-rw-r--r--lib/kofficecore/tests/kooasisstoretest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kofficecore/tests/kooasisstoretest.cpp b/lib/kofficecore/tests/kooasisstoretest.cpp
index 6750904b..be791644 100644
--- a/lib/kofficecore/tests/kooasisstoretest.cpp
+++ b/lib/kofficecore/tests/kooasisstoretest.cpp
@@ -21,9 +21,9 @@
#include <kdebug.h>
#include <assert.h>
-void testMimeForPath( QDomDocument& doc )
+void testMimeForPath( TQDomDocument& doc )
{
- QString mime = KoOasisStore::mimeForPath( doc, "Object 1" );
+ TQString mime = KoOasisStore::mimeForPath( doc, "Object 1" );
kdDebug() << k_funcinfo << mime << endl;
assert( !mime.isNull() );
assert( !mime.isEmpty() );
@@ -33,7 +33,7 @@ void testMimeForPath( QDomDocument& doc )
int main( int, char** ) {
- const QCString xml = "\
+ const TQCString xml = "\
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
<manifest:manifest xmlns:manifest=\"urn:oasis:names:tc:opendocument:xmlns:manifest:1.0\">\n\
<manifest:file-entry manifest:media-type=\"application/vnd.oasis.opendocument.text\" manifest:full-path=\"/\"/>\n\
@@ -42,8 +42,8 @@ int main( int, char** ) {
</manifest:manifest> \
";
- QDomDocument doc;
- QString errorMsg;
+ TQDomDocument doc;
+ TQString errorMsg;
int errorLine, errorColumn;
bool ok = doc.setContent( xml, true /* namespace processing */, &errorMsg, &errorLine, &errorColumn );
if ( !ok ) {