diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
commit | e63beeb5bdb82987b1e00bc35178667786fbad48 (patch) | |
tree | ab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/qtbindings/qcanvasitemlist_imp.cpp | |
parent | 67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff) | |
download | tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip |
Fix incorrect conversion
Diffstat (limited to 'kjsembed/qtbindings/qcanvasitemlist_imp.cpp')
-rw-r--r-- | kjsembed/qtbindings/qcanvasitemlist_imp.cpp | 26 |
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 ); |