summaryrefslogtreecommitdiffstats
path: root/kjsembed/qtbindings/qcanvassprite_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/qtbindings/qcanvassprite_imp.cpp')
-rw-r--r--kjsembed/qtbindings/qcanvassprite_imp.cpp60
1 files changed, 30 insertions, 30 deletions
diff --git a/kjsembed/qtbindings/qcanvassprite_imp.cpp b/kjsembed/qtbindings/qcanvassprite_imp.cpp
index d4c8dc23..98a4a428 100644
--- a/kjsembed/qtbindings/qcanvassprite_imp.cpp
+++ b/kjsembed/qtbindings/qcanvassprite_imp.cpp
@@ -23,12 +23,12 @@
*/
namespace KJSEmbed {
-TTQCanvasSpriteImp::TQCanvasSpriteImp( KJS::ExecState *exec, int mid, bool constructor )
+TQCanvasSpriteImp::TQCanvasSpriteImp( KJS::ExecState *exec, int mid, bool constructor )
: JSProxyImp(exec), id(mid), cons(constructor)
{
}
-TTQCanvasSpriteImp::~TQCanvasSpriteImp()
+TQCanvasSpriteImp::~TQCanvasSpriteImp()
{
}
@@ -43,7 +43,7 @@ void TQCanvasSpriteImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &ob
};
int idx = 0;
- TTQCString lastName;
+ TQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
@@ -66,8 +66,8 @@ void TQCanvasSpriteImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &ob
EnumValue enums[] = {
// enum FrameAnimationType
- { "Cycle", TTQCanvasSprite::Cycle },
- { "Oscillate", TTQCanvasSprite::Oscillate },
+ { "Cycle", TQCanvasSprite::Cycle },
+ { "Oscillate", TQCanvasSprite::Oscillate },
{ 0, 0 }
};
@@ -115,7 +115,7 @@ void TQCanvasSpriteImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
};
int idx = 0;
- TTQCString lastName;
+ TQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
@@ -128,25 +128,25 @@ void TQCanvasSpriteImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
}
/**
- * Extract a TTQCanvasSprite pointer from an Object.
+ * Extract a TQCanvasSprite pointer from an Object.
*/
-TTQCanvasSprite *TQCanvasSpriteImp::toTQCanvasSprite( KJS::Object &self )
+TQCanvasSprite *TQCanvasSpriteImp::toTQCanvasSprite( KJS::Object &self )
{
JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() );
if ( ob ) {
- TTQObject *obj = ob->object();
+ TQObject *obj = ob->object();
if ( obj )
- return dynamic_cast<TTQCanvasSprite *>( obj );
+ return dynamic_cast<TQCanvasSprite *>( obj );
}
JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() );
if ( !op )
return 0;
- if ( op->typeName() != "TTQCanvasSprite" )
+ if ( op->typeName() != "TQCanvasSprite" )
return 0;
- return op->toNative<TTQCanvasSprite>();
+ return op->toNative<TQCanvasSprite>();
}
/**
@@ -164,7 +164,7 @@ KJS::Object TQCanvasSpriteImp::construct( KJS::ExecState *exec, const KJS::List
break;
}
- TTQString msg = i18n("TQCanvasSpriteCons has no constructor with id '%1'.").arg(id);
+ TQString msg = i18n("TQCanvasSpriteCons has no constructor with id '%1'.").arg(id);
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -172,20 +172,20 @@ KJS::Object TQCanvasSpriteImp::construct( KJS::ExecState *exec, const KJS::List
KJS::Object TQCanvasSpriteImp::TQCanvasSprite_1( KJS::ExecState *exec, const KJS::List &args )
{
- // Unsupported parameter TTQCanvasPixmapArray *
+ // Unsupported parameter TQCanvasPixmapArray *
return KJS::Object();
- TTQCanvasPixmapArray * arg0; // Dummy
+ TQCanvasPixmapArray * arg0; // Dummy
- // Unsupported parameter TTQCanvas *
+ // Unsupported parameter TQCanvas *
return KJS::Object();
- TTQCanvas * arg1; // Dummy
+ TQCanvas * arg1; // Dummy
- // We should now create an instance of the TTQCanvasSprite object
+ // We should now create an instance of the TQCanvasSprite object
- TTQCanvasSprite *ret = new TTQCanvasSprite(
+ TQCanvasSprite *ret = new TQCanvasSprite(
arg0,
arg1 );
@@ -303,7 +303,7 @@ KJS::Value TQCanvasSpriteImp::call( KJS::ExecState *exec, KJS::Object &self, con
break;
}
- TTQString msg = i18n( "TQCanvasSpriteImp has no method with id '%1'." ).arg( id );
+ TQString msg = i18n( "TQCanvasSpriteImp has no method with id '%1'." ).arg( id );
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -311,10 +311,10 @@ KJS::Value TQCanvasSpriteImp::call( KJS::ExecState *exec, KJS::Object &self, con
KJS::Value TQCanvasSpriteImp::setSequence_2( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TTQCanvasPixmapArray *
+ // Unsupported parameter TQCanvasPixmapArray *
return KJS::Value();
- TTQCanvasPixmapArray * arg0; // Dummy
+ TQCanvasPixmapArray * arg0; // Dummy
instance->setSequence(
arg0 );
@@ -367,7 +367,7 @@ KJS::Value TQCanvasSpriteImp::setFrame_6( KJS::ExecState *exec, KJS::Object &obj
KJS::Value TQCanvasSpriteImp::setFrameAnimation_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TTQCanvasSprite::FrameAnimationType arg0 = TTQCanvasSprite::Cycle; // TODO (hack for TTQCanvasSprite)
+ TQCanvasSprite::FrameAnimationType arg0 = TQCanvasSprite::Cycle; // TODO (hack for TQCanvasSprite)
int arg1 = extractInt(exec, args, 1);
@@ -411,10 +411,10 @@ KJS::Value TQCanvasSpriteImp::rtti_10( KJS::ExecState *exec, KJS::Object &obj, c
KJS::Value TQCanvasSpriteImp::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(
@@ -425,7 +425,7 @@ KJS::Value TQCanvasSpriteImp::collidesWith_11( KJS::ExecState *exec, KJS::Object
KJS::Value TQCanvasSpriteImp::boundingRect_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TTQRect ret;
+ TQRect ret;
ret = instance->boundingRect( );
return convertToValue( exec, ret );
@@ -538,7 +538,7 @@ KJS::Value TQCanvasSpriteImp::image_23( KJS::ExecState *exec, KJS::Object &obj,
{
instance->image( );
- return KJS::Value(); // Returns 'TTQCanvasPixmap *'
+ return KJS::Value(); // Returns 'TQCanvasPixmap *'
}
@@ -546,7 +546,7 @@ KJS::Value TQCanvasSpriteImp::imageAdvanced_24( KJS::ExecState *exec, KJS::Objec
{
instance->imageAdvanced( );
- return KJS::Value(); // Returns 'TTQCanvasPixmap *'
+ return KJS::Value(); // Returns 'TQCanvasPixmap *'
}
@@ -557,7 +557,7 @@ KJS::Value TQCanvasSpriteImp::image_25( KJS::ExecState *exec, KJS::Object &obj,
instance->image(
arg0 );
- return KJS::Value(); // Returns 'TTQCanvasPixmap *'
+ return KJS::Value(); // Returns 'TQCanvasPixmap *'
}
@@ -575,7 +575,7 @@ KJS::Value TQCanvasSpriteImp::advance_26( KJS::ExecState *exec, KJS::Object &obj
KJS::Value TQCanvasSpriteImp::draw_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TTQPainter arg0; // TODO (hack for qcanvas)
+ TQPainter arg0; // TODO (hack for qcanvas)
instance->draw(
arg0 );