diff options
Diffstat (limited to 'kjsembed/cpptests/jsaccess/jsaccess.cpp')
-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 5e2e7d6c..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(); - TTQString 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 */ - TTQString value = part->getVariant("foobar").toString(); + TQString value = part->getVariant("foobar").toString(); if( value != "test from javascript." ) kdWarning() << "Get variant failed with: " << value << endl; |