summaryrefslogtreecommitdiffstats
path: root/kjsembed/qtbindings/qcanvasrectangle_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/qtbindings/qcanvasrectangle_imp.cpp')
-rw-r--r--kjsembed/qtbindings/qcanvasrectangle_imp.cpp58
1 files changed, 29 insertions, 29 deletions
diff --git a/kjsembed/qtbindings/qcanvasrectangle_imp.cpp b/kjsembed/qtbindings/qcanvasrectangle_imp.cpp
index 19564e7b..55f1f14d 100644
--- a/kjsembed/qtbindings/qcanvasrectangle_imp.cpp
+++ b/kjsembed/qtbindings/qcanvasrectangle_imp.cpp
@@ -23,12 +23,12 @@
*/
namespace KJSEmbed {
-TTQCanvasRectangleImp::TQCanvasRectangleImp( KJS::ExecState *exec, int mid, bool constructor )
+TQCanvasRectangleImp::TQCanvasRectangleImp( KJS::ExecState *exec, int mid, bool constructor )
: JSProxyImp(exec), id(mid), cons(constructor)
{
}
-TTQCanvasRectangleImp::~TQCanvasRectangleImp()
+TQCanvasRectangleImp::~TQCanvasRectangleImp()
{
}
@@ -43,7 +43,7 @@ void TQCanvasRectangleImp::addStaticBindings( KJS::ExecState *exec, KJS::Object
};
int idx = 0;
- TTQCString lastName;
+ TQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
@@ -76,7 +76,7 @@ void TQCanvasRectangleImp::addBindings( KJS::ExecState *exec, KJS::Object &objec
};
int idx = 0;
- TTQCString lastName;
+ TQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
@@ -89,25 +89,25 @@ void TQCanvasRectangleImp::addBindings( KJS::ExecState *exec, KJS::Object &objec
}
/**
- * Extract a TTQCanvasRectangle pointer from an Object.
+ * Extract a TQCanvasRectangle pointer from an Object.
*/
-TTQCanvasRectangle *TQCanvasRectangleImp::toTQCanvasRectangle( KJS::Object &self )
+TQCanvasRectangle *TQCanvasRectangleImp::toTQCanvasRectangle( KJS::Object &self )
{
JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() );
if ( ob ) {
- TTQObject *obj = ob->object();
+ TQObject *obj = ob->object();
if ( obj )
- return dynamic_cast<TTQCanvasRectangle *>( obj );
+ return dynamic_cast<TQCanvasRectangle *>( obj );
}
JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() );
if ( !op )
return 0;
- if ( op->typeName() != "TTQCanvasRectangle" )
+ if ( op->typeName() != "TQCanvasRectangle" )
return 0;
- return op->toNative<TTQCanvasRectangle>();
+ return op->toNative<TQCanvasRectangle>();
}
/**
@@ -133,7 +133,7 @@ KJS::Object TQCanvasRectangleImp::construct( KJS::ExecState *exec, const KJS::Li
break;
}
- TTQString msg = i18n("TQCanvasRectangleCons has no constructor with id '%1'.").arg(id);
+ TQString msg = i18n("TQCanvasRectangleCons has no constructor with id '%1'.").arg(id);
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -141,15 +141,15 @@ KJS::Object TQCanvasRectangleImp::construct( KJS::ExecState *exec, const KJS::Li
KJS::Object TQCanvasRectangleImp::TQCanvasRectangle_1( KJS::ExecState *exec, const KJS::List &args )
{
- // Unsupported parameter TTQCanvas *
+ // Unsupported parameter TQCanvas *
return KJS::Object();
- TTQCanvas * arg0; // Dummy
+ TQCanvas * arg0; // Dummy
- // We should now create an instance of the TTQCanvasRectangle object
+ // We should now create an instance of the TQCanvasRectangle object
- TTQCanvasRectangle *ret = new TTQCanvasRectangle(
+ TQCanvasRectangle *ret = new TQCanvasRectangle(
arg0 );
@@ -159,17 +159,17 @@ KJS::Object TQCanvasRectangleImp::TQCanvasRectangle_1( KJS::ExecState *exec, con
KJS::Object TQCanvasRectangleImp::TQCanvasRectangle_2( KJS::ExecState *exec, const KJS::List &args )
{
- TTQRect arg0 = extractTQRect(exec, args, 0);
+ TQRect arg0 = extractTQRect(exec, args, 0);
- // Unsupported parameter TTQCanvas *
+ // Unsupported parameter TQCanvas *
return KJS::Object();
- TTQCanvas * arg1; // Dummy
+ TQCanvas * arg1; // Dummy
- // We should now create an instance of the TTQCanvasRectangle object
+ // We should now create an instance of the TQCanvasRectangle object
- TTQCanvasRectangle *ret = new TTQCanvasRectangle(
+ TQCanvasRectangle *ret = new TQCanvasRectangle(
arg0,
arg1 );
@@ -188,15 +188,15 @@ KJS::Object TQCanvasRectangleImp::TQCanvasRectangle_3( KJS::ExecState *exec, con
int arg3 = extractInt(exec, args, 3);
- // Unsupported parameter TTQCanvas *
+ // Unsupported parameter TQCanvas *
return KJS::Object();
- TTQCanvas * arg4; // Dummy
+ TQCanvas * arg4; // Dummy
- // We should now create an instance of the TTQCanvasRectangle object
+ // We should now create an instance of the TQCanvasRectangle object
- TTQCanvasRectangle *ret = new TTQCanvasRectangle(
+ TQCanvasRectangle *ret = new TQCanvasRectangle(
arg0,
arg1,
@@ -249,7 +249,7 @@ KJS::Value TQCanvasRectangleImp::call( KJS::ExecState *exec, KJS::Object &self,
break;
}
- TTQString msg = i18n( "TQCanvasRectangleImp has no method with id '%1'." ).arg( id );
+ TQString msg = i18n( "TQCanvasRectangleImp has no method with id '%1'." ).arg( id );
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -288,7 +288,7 @@ KJS::Value TQCanvasRectangleImp::setSize_7( KJS::ExecState *exec, KJS::Object &o
KJS::Value TQCanvasRectangleImp::size_8( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TTQSize ret;
+ TQSize ret;
ret = instance->size( );
return convertToValue( exec, ret );
@@ -305,7 +305,7 @@ KJS::Value TQCanvasRectangleImp::areaPoints_9( KJS::ExecState *exec, KJS::Object
KJS::Value TQCanvasRectangleImp::rect_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TTQRect ret;
+ TQRect ret;
ret = instance->rect( );
return convertToValue( exec, ret );
@@ -315,10 +315,10 @@ KJS::Value TQCanvasRectangleImp::rect_10( KJS::ExecState *exec, KJS::Object &obj
KJS::Value TQCanvasRectangleImp::collidesWith_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const TTQCanvasItem *
+ // Unsupported parameter const TQCanvasItem *
return KJS::Value();
- const TTQCanvasItem * arg0; // Dummy
+ const TQCanvasItem * arg0; // Dummy
bool ret;
ret = instance->collidesWith(