summaryrefslogtreecommitdiffstats
path: root/kjsembed/qtbindings/qcanvasitemlist_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/qtbindings/qcanvasitemlist_imp.cpp')
-rw-r--r--kjsembed/qtbindings/qcanvasitemlist_imp.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kjsembed/qtbindings/qcanvasitemlist_imp.cpp b/kjsembed/qtbindings/qcanvasitemlist_imp.cpp
index 31f027fd..f92f0d33 100644
--- a/kjsembed/qtbindings/qcanvasitemlist_imp.cpp
+++ b/kjsembed/qtbindings/qcanvasitemlist_imp.cpp
@@ -23,12 +23,12 @@
*/
namespace KJSEmbed {
-TTQCanvasItemListImp::TQCanvasItemListImp( KJS::ExecState *exec, int mid, bool constructor )
+TQCanvasItemListImp::TQCanvasItemListImp( KJS::ExecState *exec, int mid, bool constructor )
: JSProxyImp(exec), id(mid), cons(constructor)
{
}
-TTQCanvasItemListImp::~TQCanvasItemListImp()
+TQCanvasItemListImp::~TQCanvasItemListImp()
{
}
@@ -43,7 +43,7 @@ void TQCanvasItemListImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &
};
int idx = 0;
- TTQCString lastName;
+ TQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
@@ -70,7 +70,7 @@ void TQCanvasItemListImp::addBindings( KJS::ExecState *exec, KJS::Object &object
};
int idx = 0;
- TTQCString lastName;
+ TQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
@@ -83,25 +83,25 @@ void TQCanvasItemListImp::addBindings( KJS::ExecState *exec, KJS::Object &object
}
/**
- * Extract a TTQCanvasItemList pointer from an Object.
+ * Extract a TQCanvasItemList pointer from an Object.
*/
-TTQCanvasItemList *TQCanvasItemListImp::toTQCanvasItemList( KJS::Object &self )
+TQCanvasItemList *TQCanvasItemListImp::toTQCanvasItemList( KJS::Object &self )
{
JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() );
if ( ob ) {
- TTQObject *obj = ob->object();
+ TQObject *obj = ob->object();
if ( obj )
- return dynamic_cast<TTQCanvasItemList *>( obj );
+ return dynamic_cast<TQCanvasItemList *>( obj );
}
JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() );
if ( !op )
return 0;
- if ( op->typeName() != "TTQCanvasItemList" )
+ if ( op->typeName() != "TQCanvasItemList" )
return 0;
- return op->toNative<TTQCanvasItemList>();
+ return op->toNative<TQCanvasItemList>();
}
/**
@@ -115,7 +115,7 @@ KJS::Object TQCanvasItemListImp::construct( KJS::ExecState *exec, const KJS::Lis
break;
}
- TTQString msg = i18n("TQCanvasItemListCons has no constructor with id '%1'.").arg(id);
+ TQString msg = i18n("TQCanvasItemListCons has no constructor with id '%1'.").arg(id);
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -138,7 +138,7 @@ KJS::Value TQCanvasItemListImp::call( KJS::ExecState *exec, KJS::Object &self, c
break;
}
- TTQString msg = i18n( "TQCanvasItemListImp has no method with id '%1'." ).arg( id );
+ TQString msg = i18n( "TQCanvasItemListImp has no method with id '%1'." ).arg( id );
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -154,7 +154,7 @@ KJS::Value TQCanvasItemListImp::sort_1( KJS::ExecState *exec, KJS::Object &obj,
KJS::Value TQCanvasItemListImp::drawUnique_2( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TTQPainter arg0; // TODO (hack for qcanvas)
+ TQPainter arg0; // TODO (hack for qcanvas)
instance->drawUnique(
arg0 );