diff options
Diffstat (limited to 'kjsembed/qtbindings/qcanvasspline_imp.cpp')
-rw-r--r-- | kjsembed/qtbindings/qcanvasspline_imp.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kjsembed/qtbindings/qcanvasspline_imp.cpp b/kjsembed/qtbindings/qcanvasspline_imp.cpp index 57ea74b1..54edeb8f 100644 --- a/kjsembed/qtbindings/qcanvasspline_imp.cpp +++ b/kjsembed/qtbindings/qcanvasspline_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 "qcanvasspline_imp.h" /** @@ -43,7 +43,7 @@ void QCanvasSplineImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &obj }; int idx = 0; - QCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -72,7 +72,7 @@ void QCanvasSplineImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) }; int idx = 0; - QCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -85,25 +85,25 @@ void QCanvasSplineImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) } /** - * Extract a QCanvasSpline pointer from an Object. + * Extract a TQCanvasSpline pointer from an Object. */ -QCanvasSpline *QCanvasSplineImp::toQCanvasSpline( KJS::Object &self ) +TQCanvasSpline *QCanvasSplineImp::toQCanvasSpline( KJS::Object &self ) { JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() ); if ( ob ) { - QObject *obj = ob->object(); + TQObject *obj = ob->object(); if ( obj ) - return dynamic_cast<QCanvasSpline *>( obj ); + return dynamic_cast<TQCanvasSpline *>( obj ); } JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() ); if ( !op ) return 0; - if ( op->typeName() != "QCanvasSpline" ) + if ( op->typeName() != "TQCanvasSpline" ) return 0; - return op->toNative<QCanvasSpline>(); + return op->toNative<TQCanvasSpline>(); } /** @@ -121,7 +121,7 @@ KJS::Object QCanvasSplineImp::construct( KJS::ExecState *exec, const KJS::List & break; } - QString msg = i18n("QCanvasSplineCons has no constructor with id '%1'.").arg(id); + TQString msg = i18n("QCanvasSplineCons has no constructor with id '%1'.").arg(id); return throwError(exec, msg,KJS::ReferenceError); } @@ -129,15 +129,15 @@ KJS::Object QCanvasSplineImp::construct( KJS::ExecState *exec, const KJS::List & KJS::Object QCanvasSplineImp::QCanvasSpline_1( KJS::ExecState *exec, const KJS::List &args ) { - // Unsupported parameter QCanvas * + // Unsupported parameter TQCanvas * return KJS::Object(); - QCanvas * arg0; // Dummy + TQCanvas * arg0; // Dummy - // We should now create an instance of the QCanvasSpline object + // We should now create an instance of the TQCanvasSpline object - QCanvasSpline *ret = new QCanvasSpline( + TQCanvasSpline *ret = new TQCanvasSpline( arg0 ); @@ -170,7 +170,7 @@ KJS::Value QCanvasSplineImp::call( KJS::ExecState *exec, KJS::Object &self, cons break; } - QString msg = i18n( "QCanvasSplineImp has no method with id '%1'." ).arg( id ); + TQString msg = i18n( "QCanvasSplineImp has no method with id '%1'." ).arg( id ); return throwError(exec, msg,KJS::ReferenceError); } @@ -181,7 +181,7 @@ KJS::Value QCanvasSplineImp::setControlPoints_3( KJS::ExecState *exec, KJS::Obje // Unsupported parameter QPointArray return KJS::Value(); - QPointArray arg0; // Dummy + TQPointArray arg0; // Dummy bool arg1 = extractBool(exec, args, 1); |