summaryrefslogtreecommitdiffstats
path: root/kjsembed/jsopaqueproxy.cpp
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/jsopaqueproxy.cpp
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
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 ad38efe1..5abd9558 100644
--- a/kjsembed/jsopaqueproxy.cpp
+++ b/kjsembed/jsopaqueproxy.cpp
@@ -43,13 +43,13 @@ JSOpaqueProxy::JSOpaqueProxy()
{
}
-JSOpaqueProxy::JSOpaqueProxy( TTQTextStream *ts )
+JSOpaqueProxy::JSOpaqueProxy( TQTextStream *ts )
: JSProxy( JSProxy::OpaqueProxy ), ptr(0)
{
setValue( ts );
}
-JSOpaqueProxy::JSOpaqueProxy( const TTQEvent *ev )
+JSOpaqueProxy::JSOpaqueProxy( const TQEvent *ev )
: JSProxy( JSProxy::OpaqueProxy ), ptr(0)
{
setValue( ev );
@@ -66,7 +66,7 @@ JSOpaqueProxy::~JSOpaqueProxy()
}
}
-TTQString JSOpaqueProxy::typeName() const
+TQString JSOpaqueProxy::typeName() const
{
return ptrtype;
}
@@ -76,34 +76,34 @@ bool JSOpaqueProxy::inherits( const char *clazz )
return (ptrtype == clazz);
}
-void JSOpaqueProxy::setValue( TTQTextStream *ts )
+void JSOpaqueProxy::setValue( TQTextStream *ts )
{
if( ptr ) {
if(owner() == JavaScript) ptr->cleanup();
delete ptr;
}
- ptr = new Pointer<TTQTextStream>(ts);
- ptrtype = "TTQTextStream";
+ ptr = new Pointer<TQTextStream>(ts);
+ ptrtype = "TQTextStream";
}
-void JSOpaqueProxy::setValue( const TTQEvent *ev )
+void JSOpaqueProxy::setValue( const TQEvent *ev )
{
if( ptr ) {
if(owner() == JavaScript) ptr->cleanup();
delete ptr;
}
- ptr = new Pointer<const TTQEvent>(ev);
- ptrtype = "TTQEvent";
+ ptr = new Pointer<const TQEvent>(ev);
+ ptrtype = "TQEvent";
}
-TTQTextStream *JSOpaqueProxy::toTextStream()
+TQTextStream *JSOpaqueProxy::toTextStream()
{
- return toNative<TTQTextStream>();
+ return toNative<TQTextStream>();
}
-const TTQEvent *JSOpaqueProxy::toEvent()
+const TQEvent *JSOpaqueProxy::toEvent()
{
- return toNative<TTQEvent>();
+ return toNative<TQEvent>();
}
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
{
- TTQString s( "%1 (%2)" );
+ TQString s( "%1 (%2)" );
return KJS::UString( s.arg("JSOpaqueProxy").arg(ptrtype) );
}