summaryrefslogtreecommitdiffstats
path: root/kjsembed/qtbindings/qchecklistitem_imp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/qtbindings/qchecklistitem_imp.cpp
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
Diffstat (limited to 'kjsembed/qtbindings/qchecklistitem_imp.cpp')
-rw-r--r--kjsembed/qtbindings/qchecklistitem_imp.cpp130
1 files changed, 65 insertions, 65 deletions
diff --git a/kjsembed/qtbindings/qchecklistitem_imp.cpp b/kjsembed/qtbindings/qchecklistitem_imp.cpp
index 7fe6d673..9aa28e41 100644
--- a/kjsembed/qtbindings/qchecklistitem_imp.cpp
+++ b/kjsembed/qtbindings/qchecklistitem_imp.cpp
@@ -28,21 +28,21 @@ namespace Bindings {
// FALL THRU
} else {
JSOpaqueProxy * arg0 = JSProxy::toOpaqueProxy( args[ 0 ].imp() );
- TTQString arg1 = ( args.size() >= 2 ) ? args[ 1 ].toString( exec ).qstring() : TTQString::null;
+ TQString arg1 = ( args.size() >= 2 ) ? args[ 1 ].toString( exec ).qstring() : TQString::null;
JSOpaqueProxy *prx = 0;
if ( arg0 ) {
- if ( arg0->typeName() == "TTQListViewItem" ) {
- TTQListViewItem * parent = arg0->toNative<TTQListViewItem>();
- prx = new JSOpaqueProxy( new TTQCheckListItem( parent, arg1 ), "TTQCheckListItem" );
+ if ( arg0->typeName() == "TQListViewItem" ) {
+ TQListViewItem * parent = arg0->toNative<TQListViewItem>();
+ prx = new JSOpaqueProxy( new TQCheckListItem( parent, arg1 ), "TQCheckListItem" );
} else {
return KJS::Object();
}
} else {
JSObjectProxy *arg0 = JSProxy::toObjectProxy( args[ 0 ].imp() );
if ( arg0 ) {
- TTQListView * parent = ( TTQListView * ) ( arg0->widget() );
- prx = new JSOpaqueProxy( new TTQCheckListItem( parent, arg1 ), "TTQCheckListItem" );
+ TQListView * parent = ( TQListView * ) ( arg0->widget() );
+ prx = new JSOpaqueProxy( new TQCheckListItem( parent, arg1 ), "TQCheckListItem" );
} else {
return KJS::Object();
}
@@ -61,12 +61,12 @@ namespace Bindings {
}
}
-TTQCheckListItemImp::TQCheckListItemImp( KJS::ExecState *exec, int mid, bool constructor )
+TQCheckListItemImp::TQCheckListItemImp( KJS::ExecState *exec, int mid, bool constructor )
: JSProxyImp(exec), id(mid), cons(constructor)
{
}
-TTQCheckListItemImp::~TQCheckListItemImp()
+TQCheckListItemImp::~TQCheckListItemImp()
{
}
@@ -92,7 +92,7 @@ void TQCheckListItemImp::addBindings( KJS::ExecState *exec, KJS::Object &object
};
int idx = 0;
- TTQCString lastName;
+ TQCString lastName;
while( methods[idx].id ) {
if ( lastName != methods[idx].name ) {
@@ -115,15 +115,15 @@ void TQCheckListItemImp::addBindings( KJS::ExecState *exec, KJS::Object &object
EnumValue enums[] = {
// enum Type
- { "RadioButton", TTQCheckListItem::RadioButton },
- { "CheckBox", TTQCheckListItem::CheckBox },
- { "Controller", TTQCheckListItem::Controller },
- { "RadioButtonController", TTQCheckListItem::RadioButtonController },
- { "CheckBoxController", TTQCheckListItem::CheckBoxController },
+ { "RadioButton", TQCheckListItem::RadioButton },
+ { "CheckBox", TQCheckListItem::CheckBox },
+ { "Controller", TQCheckListItem::Controller },
+ { "RadioButtonController", TQCheckListItem::RadioButtonController },
+ { "CheckBoxController", TQCheckListItem::CheckBoxController },
// enum ToggleState
- { "Off", TTQCheckListItem::Off },
- { "NoChange", TTQCheckListItem::NoChange },
- { "On", TTQCheckListItem::On },
+ { "Off", TQCheckListItem::Off },
+ { "NoChange", TQCheckListItem::NoChange },
+ { "On", TQCheckListItem::On },
{ 0, 0 }
};
@@ -135,19 +135,19 @@ void TQCheckListItemImp::addBindings( KJS::ExecState *exec, KJS::Object &object
}
-TTQCheckListItem *TQCheckListItemImp::toTQCheckListItem( KJS::Object &self )
+TQCheckListItem *TQCheckListItemImp::toTQCheckListItem( KJS::Object &self )
{
JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() );
if ( ob ) {
- TTQObject *obj = ob->object();
+ TQObject *obj = ob->object();
if ( obj )
- return dynamic_cast<TTQCheckListItem *>( obj );
+ return dynamic_cast<TQCheckListItem *>( obj );
}
JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() );
if ( !op )
return 0;
- return op->toNative<TTQCheckListItem>();
+ return op->toNative<TQCheckListItem>();
}
@@ -191,7 +191,7 @@ KJS::Object TQCheckListItemImp::construct( KJS::ExecState *exec, const KJS::List
break;
}
- TTQString msg = i18n("TQCheckListItemCons has no constructor with id '%1'.").arg(id);
+ TQString msg = i18n("TQCheckListItemCons has no constructor with id '%1'.").arg(id);
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -199,11 +199,11 @@ KJS::Object TQCheckListItemImp::construct( KJS::ExecState *exec, const KJS::List
KJS::Object TQCheckListItemImp::TQCheckListItem_1( KJS::ExecState *exec, const KJS::List &args )
{
- TTQWidget *arg0 = extractTQWidget(exec,args,0);
+ TQWidget *arg0 = extractTQWidget(exec,args,0);
- TTQWidget *arg1 = extractTQWidget(exec,args,1);
+ TQWidget *arg1 = extractTQWidget(exec,args,1);
- TTQWidget *arg2 = extractTQWidget(exec,args,2);
+ TQWidget *arg2 = extractTQWidget(exec,args,2);
return KJS::Object( );
}
@@ -212,16 +212,16 @@ KJS::Object TQCheckListItemImp::TQCheckListItem_2( KJS::ExecState *exec, const K
{
// TODO
- TTQWidget *arg0 = extractTQWidget(exec,args,0);
+ TQWidget *arg0 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg1 = extractTQWidget(exec,args,0);
+ TQWidget *arg1 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg2 = extractTQWidget(exec,args,0);
+ TQWidget *arg2 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg3 = extractTQWidget(exec,args,0);
+ TQWidget *arg3 = extractTQWidget(exec,args,0);
return KJS::Object();
}
@@ -230,13 +230,13 @@ KJS::Object TQCheckListItemImp::TQCheckListItem_3( KJS::ExecState *exec, const K
{
// TODO
- TTQWidget *arg0 = extractTQWidget(exec,args,0);
+ TQWidget *arg0 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg1 = extractTQWidget(exec,args,0);
+ TQWidget *arg1 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg2 = extractTQWidget(exec,args,0);
+ TQWidget *arg2 = extractTQWidget(exec,args,0);
return KJS::Object();
}
@@ -245,16 +245,16 @@ KJS::Object TQCheckListItemImp::TQCheckListItem_4( KJS::ExecState *exec, const K
{
// TODO
- TTQWidget *arg0 = extractTQWidget(exec,args,0);
+ TQWidget *arg0 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg1 = extractTQWidget(exec,args,0);
+ TQWidget *arg1 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg2 = extractTQWidget(exec,args,0);
+ TQWidget *arg2 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg3 = extractTQWidget(exec,args,0);
+ TQWidget *arg3 = extractTQWidget(exec,args,0);
return KJS::Object();
}
@@ -263,13 +263,13 @@ KJS::Object TQCheckListItemImp::TQCheckListItem_5( KJS::ExecState *exec, const K
{
// TODO
- TTQWidget *arg0 = extractTQWidget(exec,args,0);
+ TQWidget *arg0 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg1 = extractTQWidget(exec,args,0);
+ TQWidget *arg1 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg2 = extractTQWidget(exec,args,0);
+ TQWidget *arg2 = extractTQWidget(exec,args,0);
return KJS::Object();
}
@@ -278,16 +278,16 @@ KJS::Object TQCheckListItemImp::TQCheckListItem_6( KJS::ExecState *exec, const K
{
// TODO
- TTQWidget *arg0 = extractTQWidget(exec,args,0);
+ TQWidget *arg0 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg1 = extractTQWidget(exec,args,0);
+ TQWidget *arg1 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg2 = extractTQWidget(exec,args,0);
+ TQWidget *arg2 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg3 = extractTQWidget(exec,args,0);
+ TQWidget *arg3 = extractTQWidget(exec,args,0);
return KJS::Object();
}
@@ -296,13 +296,13 @@ KJS::Object TQCheckListItemImp::TQCheckListItem_7( KJS::ExecState *exec, const K
{
// TODO
- TTQWidget *arg0 = extractTQWidget(exec,args,0);
+ TQWidget *arg0 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg1 = extractTQWidget(exec,args,0);
+ TQWidget *arg1 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg2 = extractTQWidget(exec,args,0);
+ TQWidget *arg2 = extractTQWidget(exec,args,0);
return KJS::Object();
}
@@ -311,13 +311,13 @@ KJS::Object TQCheckListItemImp::TQCheckListItem_8( KJS::ExecState *exec, const K
{
// TODO
- TTQWidget *arg0 = extractTQWidget(exec,args,0);
+ TQWidget *arg0 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg1 = extractTQWidget(exec,args,0);
+ TQWidget *arg1 = extractTQWidget(exec,args,0);
// TODO
- TTQWidget *arg2 = extractTQWidget(exec,args,0);
+ TQWidget *arg2 = extractTQWidget(exec,args,0);
return KJS::Object();
}
@@ -388,7 +388,7 @@ KJS::Value TQCheckListItemImp::call( KJS::ExecState *exec, KJS::Object &self, co
break;
}
- TTQString msg = i18n( "TQCheckListItemImp has no method with id '%1'." ).arg( id );
+ TQString msg = i18n( "TQCheckListItemImp has no method with id '%1'." ).arg( id );
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -396,15 +396,15 @@ KJS::Value TQCheckListItemImp::call( KJS::ExecState *exec, KJS::Object &self, co
KJS::Value TQCheckListItemImp::paintCell_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TTQPainter *
+ // Unsupported parameter TQPainter *
return KJS::Value();
- TTQPainter * arg0; // Dummy
+ TQPainter * arg0; // Dummy
- // Unsupported parameter const TTQColorGroup &
+ // Unsupported parameter const TQColorGroup &
return KJS::Value();
#if 0
- const TTQColorGroup & arg1; // Dummy
+ const TQColorGroup & arg1; // Dummy
int arg2 = (args.size() >= 3) ? args[2].toInteger(exec) : -1;
@@ -425,17 +425,17 @@ KJS::Value TQCheckListItemImp::paintCell_10( KJS::ExecState *exec, KJS::Object &
KJS::Value TQCheckListItemImp::paintFocus_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TTQPainter *
+ // Unsupported parameter TQPainter *
return KJS::Value();
#if 0
- TTQPainter * arg0; // Dummy
+ TQPainter * arg0; // Dummy
- // Unsupported parameter const TTQColorGroup &
+ // Unsupported parameter const TQColorGroup &
return KJS::Value();
- const TTQColorGroup & arg1; // Dummy
+ const TQColorGroup & arg1; // Dummy
- TTQRect arg2 = extractTQRect(exec, args, 2);
+ TQRect arg2 = extractTQRect(exec, args, 2);
instance->paintFocus(
arg0,
@@ -448,15 +448,15 @@ KJS::Value TQCheckListItemImp::paintFocus_11( KJS::ExecState *exec, KJS::Object
KJS::Value TQCheckListItemImp::width_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const TTQFontMetrics &
+ // Unsupported parameter const TQFontMetrics &
return KJS::Value();
#if 0
- const TTQFontMetrics & arg0; // Dummy
+ const TQFontMetrics & arg0; // Dummy
- // Unsupported parameter const TTQListView *
+ // Unsupported parameter const TQListView *
return KJS::Value();
- const TTQListView * arg1; // Dummy
+ const TQListView * arg1; // Dummy
int arg2 = (args.size() >= 3) ? args[2].toInteger(exec) : -1;
@@ -508,7 +508,7 @@ KJS::Value TQCheckListItemImp::type_16( KJS::ExecState *exec, KJS::Object &obj,
KJS::Value TQCheckListItemImp::text_17( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TTQString ret;
+ TQString ret;
ret = instance->text( );
return KJS::String( ret );
@@ -519,7 +519,7 @@ KJS::Value TQCheckListItemImp::text_18( KJS::ExecState *exec, KJS::Object &obj,
int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1;
- TTQString ret;
+ TQString ret;
ret = instance->text(
arg0 );
return KJS::String( ret );