summaryrefslogtreecommitdiffstats
path: root/kjsembed/cpptests/jsaccess/jsaccess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/cpptests/jsaccess/jsaccess.cpp')
-rw-r--r--kjsembed/cpptests/jsaccess/jsaccess.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kjsembed/cpptests/jsaccess/jsaccess.cpp b/kjsembed/cpptests/jsaccess/jsaccess.cpp
index 6d22b412..5e2e7d6c 100644
--- a/kjsembed/cpptests/jsaccess/jsaccess.cpp
+++ b/kjsembed/cpptests/jsaccess/jsaccess.cpp
@@ -47,7 +47,7 @@ int main( int argc, char **argv )
KJS::Interpreter *js = part->interpreter();
KJS::ExecState *exec = js->globalExec();
- TQString script = "var foobar = \"test from javascript.\";"
+ TTQString script = "var foobar = \"test from javascript.\";"
"function testNoArgsFunction( ){ return foobar; }"
"function testNoReturnFunction( value ){ foobar = value; }"
"function testFunction( value ){ return \"testFunction dorks with \" + value;}";
@@ -58,7 +58,7 @@ int main( int argc, char **argv )
/**
* Test extraction of a Variant from javascript
*/
- TQString value = part->getVariant("foobar").toString();
+ TTQString value = part->getVariant("foobar").toString();
if( value != "test from javascript." )
kdWarning() << "Get variant failed with: " << value << endl;