summaryrefslogtreecommitdiffstats
path: root/kjsembed/jsvalueproxy.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/jsvalueproxy.cpp
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-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/jsvalueproxy.cpp')
-rw-r--r--kjsembed/jsvalueproxy.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kjsembed/jsvalueproxy.cpp b/kjsembed/jsvalueproxy.cpp
index 2e440cbb..cbc75b34 100644
--- a/kjsembed/jsvalueproxy.cpp
+++ b/kjsembed/jsvalueproxy.cpp
@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
-#include <qvariant.h>
+#include <tqvariant.h>
#include "global.h"
#include <kjs/interpreter.h>
@@ -44,18 +44,18 @@ JSValueProxy::~JSValueProxy()
{
}
-QString JSValueProxy::typeName() const
+TQString JSValueProxy::typeName() const
{
return val.typeName();
}
-void JSValueProxy::setValue( const QVariant &var )
+void JSValueProxy::setValue( const TQVariant &var )
{
kdDebug(80001) << "JSValueProxy::setValue() variant, type is " << var.typeName() << endl;
val = var;
}
-QVariant JSValueProxy::toVariant() const
+TQVariant JSValueProxy::toVariant() const
{
kdDebug(80001) << "JSValueProxy::toVariant() variant, type is " << val.typeName() << endl;
return val;
@@ -78,7 +78,7 @@ void JSValueProxy::addBindings( KJS::ExecState *exec, KJS::Object &object )
KJS::UString JSValueProxy::toString( KJS::ExecState * /*exec*/ ) const
{
- QString s( "%1 (%2)" );
+ TQString s( "%1 (%2)" );
return KJS::UString( s.arg("JSValueProxy").arg(val.typeName()) );
}