diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/cpptests | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |