summaryrefslogtreecommitdiffstats
path: root/kjsembed/jsopaqueproxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/jsopaqueproxy.cpp')
-rw-r--r--kjsembed/jsopaqueproxy.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kjsembed/jsopaqueproxy.cpp b/kjsembed/jsopaqueproxy.cpp
index 5abd9558..ad38efe1 100644
--- a/kjsembed/jsopaqueproxy.cpp
+++ b/kjsembed/jsopaqueproxy.cpp
@@ -43,13 +43,13 @@ JSOpaqueProxy::JSOpaqueProxy()
{
}
-JSOpaqueProxy::JSOpaqueProxy( TQTextStream *ts )
+JSOpaqueProxy::JSOpaqueProxy( TTQTextStream *ts )
: JSProxy( JSProxy::OpaqueProxy ), ptr(0)
{
setValue( ts );
}
-JSOpaqueProxy::JSOpaqueProxy( const TQEvent *ev )
+JSOpaqueProxy::JSOpaqueProxy( const TTQEvent *ev )
: JSProxy( JSProxy::OpaqueProxy ), ptr(0)
{
setValue( ev );
@@ -66,7 +66,7 @@ JSOpaqueProxy::~JSOpaqueProxy()
}
}
-TQString JSOpaqueProxy::typeName() const
+TTQString JSOpaqueProxy::typeName() const
{
return ptrtype;
}
@@ -76,34 +76,34 @@ bool JSOpaqueProxy::inherits( const char *clazz )
return (ptrtype == clazz);
}
-void JSOpaqueProxy::setValue( TQTextStream *ts )
+void JSOpaqueProxy::setValue( TTQTextStream *ts )
{
if( ptr ) {
if(owner() == JavaScript) ptr->cleanup();
delete ptr;
}
- ptr = new Pointer<TQTextStream>(ts);
- ptrtype = "TQTextStream";
+ ptr = new Pointer<TTQTextStream>(ts);
+ ptrtype = "TTQTextStream";
}
-void JSOpaqueProxy::setValue( const TQEvent *ev )
+void JSOpaqueProxy::setValue( const TTQEvent *ev )
{
if( ptr ) {
if(owner() == JavaScript) ptr->cleanup();
delete ptr;
}
- ptr = new Pointer<const TQEvent>(ev);
- ptrtype = "TQEvent";
+ ptr = new Pointer<const TTQEvent>(ev);
+ ptrtype = "TTQEvent";
}
-TQTextStream *JSOpaqueProxy::toTextStream()
+TTQTextStream *JSOpaqueProxy::toTextStream()
{
- return toNative<TQTextStream>();
+ return toNative<TTQTextStream>();
}
-const TQEvent *JSOpaqueProxy::toEvent()
+const TTQEvent *JSOpaqueProxy::toEvent()
{
- return toNative<TQEvent>();
+ return toNative<TTQEvent>();
}
void JSOpaqueProxy::addBindings( KJS::ExecState *exec, KJS::Object &object )
@@ -124,7 +124,7 @@ void JSOpaqueProxy::addBindings( KJS::ExecState *exec, KJS::Object &object )
KJS::UString JSOpaqueProxy::toString( KJS::ExecState */*exec*/ ) const
{
- TQString s( "%1 (%2)" );
+ TTQString s( "%1 (%2)" );
return KJS::UString( s.arg("JSOpaqueProxy").arg(ptrtype) );
}