summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/tests/kooasissettingstest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/tests/kooasissettingstest.cpp')
-rw-r--r--lib/kofficecore/tests/kooasissettingstest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/tests/kooasissettingstest.cpp b/lib/kofficecore/tests/kooasissettingstest.cpp
index ef29536d..a60fbd86 100644
--- a/lib/kofficecore/tests/kooasissettingstest.cpp
+++ b/lib/kofficecore/tests/kooasissettingstest.cpp
@@ -33,7 +33,7 @@ void testSelectItemSet( KoOasisSettings& settings )
void testParseConfigItemString( KoOasisSettings& settings )
{
KoOasisSettings::Items viewSettings = settings.itemSet( "view-settings" );
- const QString unit = viewSettings.parseConfigItemString( "unit" );
+ const TQString unit = viewSettings.parseConfigItemString( "unit" );
qDebug( "%s", unit.latin1() );
assert( unit == "mm" );
kdDebug() << "testParseConfigItemString OK" << endl;
@@ -71,7 +71,7 @@ void testNamedMap( KoOasisSettings& settings )
int main( int, char** ) {
- const QCString xml = "\
+ const TQCString xml = "\
<?xml version=\"1.0\" encoding=\"UTF-8\"?> \
<office:document-settings xmlns:office=\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\" xmlns:config=\"urn:oasis:names:tc:opendocument:xmlns:config:1.0\"> \
<office:settings> \
@@ -92,7 +92,7 @@ int main( int, char** ) {
</office:document-settings> \
";
- QDomDocument doc;
+ TQDomDocument doc;
bool ok = doc.setContent( xml, true /* namespace processing */ );
assert( ok );