summaryrefslogtreecommitdiffstats
path: root/kjsembed/cpptests/jsaccess
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/cpptests/jsaccess
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
Diffstat (limited to 'kjsembed/cpptests/jsaccess')
-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 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;