summaryrefslogtreecommitdiffstats
path: root/kjsembed/qtbindings/qcanvaspixmap_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/qtbindings/qcanvaspixmap_imp.cpp')
-rw-r--r--kjsembed/qtbindings/qcanvaspixmap_imp.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/kjsembed/qtbindings/qcanvaspixmap_imp.cpp b/kjsembed/qtbindings/qcanvaspixmap_imp.cpp
index bc11e8ce..9fcf2718 100644
--- a/kjsembed/qtbindings/qcanvaspixmap_imp.cpp
+++ b/kjsembed/qtbindings/qcanvaspixmap_imp.cpp
@@ -23,12 +23,12 @@
*/
namespace KJSEmbed {
-TTQCanvasPixmapImp::TQCanvasPixmapImp( KJS::ExecState *exec, int mid, bool constructor )
+TQCanvasPixmapImp::TQCanvasPixmapImp( KJS::ExecState *exec, int mid, bool constructor )
: JSProxyImp(exec), id(mid), cons(constructor)
{
}
-TTQCanvasPixmapImp::~TQCanvasPixmapImp()
+TQCanvasPixmapImp::~TQCanvasPixmapImp()
{
}
@@ -43,7 +43,7 @@ void TQCanvasPixmapImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &ob
};
int idx = 0;
- TTQCString lastName;
+ TQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
@@ -71,7 +71,7 @@ void TQCanvasPixmapImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
};
int idx = 0;
- TTQCString lastName;
+ TQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
@@ -84,25 +84,25 @@ void TQCanvasPixmapImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
}
/**
- * Extract a TTQCanvasPixmap pointer from an Object.
+ * Extract a TQCanvasPixmap pointer from an Object.
*/
-TTQCanvasPixmap *TQCanvasPixmapImp::toTQCanvasPixmap( KJS::Object &self )
+TQCanvasPixmap *TQCanvasPixmapImp::toTQCanvasPixmap( KJS::Object &self )
{
JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() );
if ( ob ) {
- TTQObject *obj = ob->object();
+ TQObject *obj = ob->object();
if ( obj )
- return dynamic_cast<TTQCanvasPixmap *>( obj );
+ return dynamic_cast<TQCanvasPixmap *>( obj );
}
JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() );
if ( !op )
return 0;
- if ( op->typeName() != "TTQCanvasPixmap" )
+ if ( op->typeName() != "TQCanvasPixmap" )
return 0;
- return op->toNative<TTQCanvasPixmap>();
+ return op->toNative<TQCanvasPixmap>();
}
/**
@@ -128,7 +128,7 @@ KJS::Object TQCanvasPixmapImp::construct( KJS::ExecState *exec, const KJS::List
break;
}
- TTQString msg = i18n("TQCanvasPixmapCons has no constructor with id '%1'.").arg(id);
+ TQString msg = i18n("TQCanvasPixmapCons has no constructor with id '%1'.").arg(id);
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -136,12 +136,12 @@ KJS::Object TQCanvasPixmapImp::construct( KJS::ExecState *exec, const KJS::List
KJS::Object TQCanvasPixmapImp::TQCanvasPixmap_1( KJS::ExecState *exec, const KJS::List &args )
{
- TTQString arg0 = extractTQString(exec, args, 0);
+ TQString arg0 = extractTQString(exec, args, 0);
- // We should now create an instance of the TTQCanvasPixmap object
+ // We should now create an instance of the TQCanvasPixmap object
- TTQCanvasPixmap *ret = new TTQCanvasPixmap(
+ TQCanvasPixmap *ret = new TQCanvasPixmap(
arg0 );
@@ -151,12 +151,12 @@ KJS::Object TQCanvasPixmapImp::TQCanvasPixmap_1( KJS::ExecState *exec, const KJS
KJS::Object TQCanvasPixmapImp::TQCanvasPixmap_2( KJS::ExecState *exec, const KJS::List &args )
{
- TTQImage arg0 = extractTQImage(exec, args, 0);
+ TQImage arg0 = extractTQImage(exec, args, 0);
- // We should now create an instance of the TTQCanvasPixmap object
+ // We should now create an instance of the TQCanvasPixmap object
- TTQCanvasPixmap *ret = new TTQCanvasPixmap(
+ TQCanvasPixmap *ret = new TQCanvasPixmap(
arg0 );
@@ -167,14 +167,14 @@ KJS::Object TQCanvasPixmapImp::TQCanvasPixmap_2( KJS::ExecState *exec, const KJS
KJS::Object TQCanvasPixmapImp::TQCanvasPixmap_3( KJS::ExecState *exec, const KJS::List &args )
{
- TTQPixmap arg0 = extractTQPixmap(exec, args, 0);
+ TQPixmap arg0 = extractTQPixmap(exec, args, 0);
- TTQPoint arg1 = extractTQPoint(exec, args, 1);
+ TQPoint arg1 = extractTQPoint(exec, args, 1);
- // We should now create an instance of the TTQCanvasPixmap object
+ // We should now create an instance of the TQCanvasPixmap object
- TTQCanvasPixmap *ret = new TTQCanvasPixmap(
+ TQCanvasPixmap *ret = new TQCanvasPixmap(
arg0,
arg1 );
@@ -205,7 +205,7 @@ KJS::Value TQCanvasPixmapImp::call( KJS::ExecState *exec, KJS::Object &self, con
break;
}
- TTQString msg = i18n( "TQCanvasPixmapImp has no method with id '%1'." ).arg( id );
+ TQString msg = i18n( "TQCanvasPixmapImp has no method with id '%1'." ).arg( id );
return throwError(exec, msg,KJS::ReferenceError);
}