summaryrefslogtreecommitdiffstats
path: root/kjsembed/jsvalueproxy.cpp
diff options
context:
space:
mode:
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()) );
}