diff options
Diffstat (limited to 'kjsembed/cpptests')
-rw-r--r-- | kjsembed/cpptests/jsaccess/jsaccess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kjsembed/cpptests/jsaccess/jsaccess.cpp b/kjsembed/cpptests/jsaccess/jsaccess.cpp index 5693ceea..6d22b412 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(); - QString script = "var foobar = \"test from javascript.\";" + TQString 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 */ - QString value = part->getVariant("foobar").toString(); + TQString value = part->getVariant("foobar").toString(); if( value != "test from javascript." ) kdWarning() << "Get variant failed with: " << value << endl; |