summaryrefslogtreecommitdiffstats
path: root/kjsembed/qtbindings/qcanvasspline_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/qtbindings/qcanvasspline_imp.cpp')
-rw-r--r--kjsembed/qtbindings/qcanvasspline_imp.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kjsembed/qtbindings/qcanvasspline_imp.cpp b/kjsembed/qtbindings/qcanvasspline_imp.cpp
index 26e4c4c7..7809002c 100644
--- a/kjsembed/qtbindings/qcanvasspline_imp.cpp
+++ b/kjsembed/qtbindings/qcanvasspline_imp.cpp
@@ -23,12 +23,12 @@
*/
namespace KJSEmbed {
-TTQCanvasSplineImp::TQCanvasSplineImp( KJS::ExecState *exec, int mid, bool constructor )
+TQCanvasSplineImp::TQCanvasSplineImp( KJS::ExecState *exec, int mid, bool constructor )
: JSProxyImp(exec), id(mid), cons(constructor)
{
}
-TTQCanvasSplineImp::~TQCanvasSplineImp()
+TQCanvasSplineImp::~TQCanvasSplineImp()
{
}
@@ -43,7 +43,7 @@ void TQCanvasSplineImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &ob
};
int idx = 0;
- TTQCString lastName;
+ TQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
@@ -72,7 +72,7 @@ void TQCanvasSplineImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
};
int idx = 0;
- TTQCString lastName;
+ TQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
@@ -85,25 +85,25 @@ void TQCanvasSplineImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
}
/**
- * Extract a TTQCanvasSpline pointer from an Object.
+ * Extract a TQCanvasSpline pointer from an Object.
*/
-TTQCanvasSpline *TQCanvasSplineImp::toTQCanvasSpline( KJS::Object &self )
+TQCanvasSpline *TQCanvasSplineImp::toTQCanvasSpline( KJS::Object &self )
{
JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() );
if ( ob ) {
- TTQObject *obj = ob->object();
+ TQObject *obj = ob->object();
if ( obj )
- return dynamic_cast<TTQCanvasSpline *>( obj );
+ return dynamic_cast<TQCanvasSpline *>( obj );
}
JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() );
if ( !op )
return 0;
- if ( op->typeName() != "TTQCanvasSpline" )
+ if ( op->typeName() != "TQCanvasSpline" )
return 0;
- return op->toNative<TTQCanvasSpline>();
+ return op->toNative<TQCanvasSpline>();
}
/**
@@ -121,7 +121,7 @@ KJS::Object TQCanvasSplineImp::construct( KJS::ExecState *exec, const KJS::List
break;
}
- TTQString msg = i18n("TQCanvasSplineCons has no constructor with id '%1'.").arg(id);
+ TQString msg = i18n("TQCanvasSplineCons has no constructor with id '%1'.").arg(id);
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -129,15 +129,15 @@ KJS::Object TQCanvasSplineImp::construct( KJS::ExecState *exec, const KJS::List
KJS::Object TQCanvasSplineImp::TQCanvasSpline_1( KJS::ExecState *exec, const KJS::List &args )
{
- // Unsupported parameter TTQCanvas *
+ // Unsupported parameter TQCanvas *
return KJS::Object();
- TTQCanvas * arg0; // Dummy
+ TQCanvas * arg0; // Dummy
- // We should now create an instance of the TTQCanvasSpline object
+ // We should now create an instance of the TQCanvasSpline object
- TTQCanvasSpline *ret = new TTQCanvasSpline(
+ TQCanvasSpline *ret = new TQCanvasSpline(
arg0 );
@@ -170,7 +170,7 @@ KJS::Value TQCanvasSplineImp::call( KJS::ExecState *exec, KJS::Object &self, con
break;
}
- TTQString msg = i18n( "TQCanvasSplineImp has no method with id '%1'." ).arg( id );
+ TQString msg = i18n( "TQCanvasSplineImp has no method with id '%1'." ).arg( id );
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -181,7 +181,7 @@ KJS::Value TQCanvasSplineImp::setControlPoints_3( KJS::ExecState *exec, KJS::Obj
// Unsupported parameter TQPointArray
return KJS::Value();
- TTQPointArray arg0; // Dummy
+ TQPointArray arg0; // Dummy
bool arg1 = extractBool(exec, args, 1);