diff options
Diffstat (limited to 'kjsembed/qtbindings/qcanvasitemlist_imp.cpp')
-rw-r--r-- | kjsembed/qtbindings/qcanvasitemlist_imp.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kjsembed/qtbindings/qcanvasitemlist_imp.cpp b/kjsembed/qtbindings/qcanvasitemlist_imp.cpp index 293aa5f3..fd87e511 100644 --- a/kjsembed/qtbindings/qcanvasitemlist_imp.cpp +++ b/kjsembed/qtbindings/qcanvasitemlist_imp.cpp @@ -1,12 +1,12 @@ -#include <qcstring.h> -#include <qimage.h> -#include <qpainter.h> -#include <qpalette.h> -#include <qpixmap.h> -#include <qfont.h> +#include <tqcstring.h> +#include <tqimage.h> +#include <tqpainter.h> +#include <tqpalette.h> +#include <tqpixmap.h> +#include <tqfont.h> #include <kjs/object.h> @@ -15,7 +15,7 @@ #include <kjsembed/jsopaqueproxy.h> #include <kjsembed/jsbinding.h> -#include <qcanvas.h> +#include <tqcanvas.h> #include "qcanvasitemlist_imp.h" /** @@ -43,7 +43,7 @@ void QCanvasItemListImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &o }; int idx = 0; - QCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -70,7 +70,7 @@ void QCanvasItemListImp::addBindings( KJS::ExecState *exec, KJS::Object &object }; int idx = 0; - QCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -83,25 +83,25 @@ void QCanvasItemListImp::addBindings( KJS::ExecState *exec, KJS::Object &object } /** - * Extract a QCanvasItemList pointer from an Object. + * Extract a TQCanvasItemList pointer from an Object. */ -QCanvasItemList *QCanvasItemListImp::toQCanvasItemList( KJS::Object &self ) +TQCanvasItemList *QCanvasItemListImp::toQCanvasItemList( KJS::Object &self ) { JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() ); if ( ob ) { - QObject *obj = ob->object(); + TQObject *obj = ob->object(); if ( obj ) - return dynamic_cast<QCanvasItemList *>( obj ); + return dynamic_cast<TQCanvasItemList *>( obj ); } JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() ); if ( !op ) return 0; - if ( op->typeName() != "QCanvasItemList" ) + if ( op->typeName() != "TQCanvasItemList" ) return 0; - return op->toNative<QCanvasItemList>(); + return op->toNative<TQCanvasItemList>(); } /** @@ -115,7 +115,7 @@ KJS::Object QCanvasItemListImp::construct( KJS::ExecState *exec, const KJS::List break; } - QString msg = i18n("QCanvasItemListCons has no constructor with id '%1'.").arg(id); + TQString msg = i18n("QCanvasItemListCons has no constructor with id '%1'.").arg(id); return throwError(exec, msg,KJS::ReferenceError); } @@ -138,7 +138,7 @@ KJS::Value QCanvasItemListImp::call( KJS::ExecState *exec, KJS::Object &self, co break; } - QString msg = i18n( "QCanvasItemListImp has no method with id '%1'." ).arg( id ); + TQString msg = i18n( "QCanvasItemListImp has no method with id '%1'." ).arg( id ); return throwError(exec, msg,KJS::ReferenceError); } @@ -154,7 +154,7 @@ KJS::Value QCanvasItemListImp::sort_1( KJS::ExecState *exec, KJS::Object &obj, c KJS::Value QCanvasItemListImp::drawUnique_2( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args ) { - QPainter arg0; // TODO (hack for qcanvas) + TQPainter arg0; // TODO (hack for qcanvas) instance->drawUnique( arg0 ); |