summaryrefslogtreecommitdiffstats
path: root/kjsembed/qtbindings/qlistview_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/qtbindings/qlistview_imp.cpp')
-rw-r--r--kjsembed/qtbindings/qlistview_imp.cpp146
1 files changed, 73 insertions, 73 deletions
diff --git a/kjsembed/qtbindings/qlistview_imp.cpp b/kjsembed/qtbindings/qlistview_imp.cpp
index 610d5fc0..2536351c 100644
--- a/kjsembed/qtbindings/qlistview_imp.cpp
+++ b/kjsembed/qtbindings/qlistview_imp.cpp
@@ -22,12 +22,12 @@
*/
namespace KJSEmbed {
-TTQListViewImp::TQListViewImp( KJS::ExecState *exec, int mid, bool constructor )
+TQListViewImp::TQListViewImp( KJS::ExecState *exec, int mid, bool constructor )
: JSProxyImp(exec), id(mid), cons(constructor)
{
}
-TTQListViewImp::~TQListViewImp()
+TQListViewImp::~TQListViewImp()
{
}
@@ -108,7 +108,7 @@ void TQListViewImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
};
int idx = 0;
- TTQCString lastName;
+ TQCString lastName;
while( methods[idx].id ) {
if ( lastName != methods[idx].name ) {
@@ -131,20 +131,20 @@ void TQListViewImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
EnumValue enums[] = {
// enum WidthMode
- { "Manual", TTQListView::Manual },
- { "Maximum", TTQListView::Maximum },
+ { "Manual", TQListView::Manual },
+ { "Maximum", TQListView::Maximum },
// enum SelectionMode
- { "Single", TTQListView::Single },
- { "Multi", TTQListView::Multi },
- { "Extended", TTQListView::Extended },
- { "NoSelection", TTQListView::NoSelection },
+ { "Single", TQListView::Single },
+ { "Multi", TQListView::Multi },
+ { "Extended", TQListView::Extended },
+ { "NoSelection", TQListView::NoSelection },
// enum ResizeMode
- { "NoColumn", TTQListView::NoColumn },
- { "AllColumns", TTQListView::AllColumns },
- { "LastColumn", TTQListView::LastColumn },
+ { "NoColumn", TQListView::NoColumn },
+ { "AllColumns", TQListView::AllColumns },
+ { "LastColumn", TQListView::LastColumn },
// enum RenameAction
- { "Accept", TTQListView::Accept },
- { "Reject", TTQListView::Reject },
+ { "Accept", TQListView::Accept },
+ { "Reject", TQListView::Reject },
{ 0, 0 }
};
@@ -156,23 +156,23 @@ void TQListViewImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
}
-TTQListView *TQListViewImp::toTQListView( KJS::Object &self )
+TQListView *TQListViewImp::toTQListView( KJS::Object &self )
{
JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() );
if ( ob ) {
- TTQObject *obj = ob->object();
+ TQObject *obj = ob->object();
if ( obj )
- return dynamic_cast<TTQListView *>( obj );
+ return dynamic_cast<TQListView *>( obj );
}
JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() );
if ( !op )
return 0;
- if ( op->typeName() != "TTQListView" )
+ if ( op->typeName() != "TQListView" )
return 0;
- return op->toNative<TTQListView>();
+ return op->toNative<TQListView>();
}
@@ -188,7 +188,7 @@ KJS::Object TQListViewImp::construct( KJS::ExecState *exec, const KJS::List &arg
break;
}
- TTQString msg = i18n("TQListViewCons has no constructor with id '%1'.").arg(id);
+ TQString msg = i18n("TQListViewCons has no constructor with id '%1'.").arg(id);
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -197,13 +197,13 @@ KJS::Object TQListViewImp::TQListView_1( KJS::ExecState *exec, const KJS::List &
{
// TODO
- TTQWidget *arg0 = 0L;
+ TQWidget *arg0 = 0L;
// TODO
- TTQWidget *arg1 = 0L;
+ TQWidget *arg1 = 0L;
// TODO
- TTQWidget *arg2 = 0L;
+ TQWidget *arg2 = 0L;
}
@@ -493,7 +493,7 @@ KJS::Value TQListViewImp::call( KJS::ExecState *exec, KJS::Object &self, const K
break;
}
- TTQString msg = i18n( "TQListViewImp has no method with id '%1'." ).arg( id );
+ TQString msg = i18n( "TQListViewImp has no method with id '%1'." ).arg( id );
return throwError(exec, msg,KJS::ReferenceError);
}
@@ -521,10 +521,10 @@ KJS::Value TQListViewImp::setTreeStepSize_4( KJS::ExecState *exec, KJS::Object &
KJS::Value TQListViewImp::insertItem_5( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TTQListViewItem *
+ // Unsupported parameter TQListViewItem *
return KJS::Value();
- TTQListViewItem * arg0; // Dummy
+ TQListViewItem * arg0; // Dummy
instance->insertItem(
arg0 );
@@ -535,10 +535,10 @@ KJS::Value TQListViewImp::insertItem_5( KJS::ExecState *exec, KJS::Object &obj,
KJS::Value TQListViewImp::takeItem_6( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TTQListViewItem *
+ // Unsupported parameter TQListViewItem *
return KJS::Value();
- TTQListViewItem * arg0; // Dummy
+ TQListViewItem * arg0; // Dummy
instance->takeItem(
arg0 );
@@ -549,10 +549,10 @@ KJS::Value TQListViewImp::takeItem_6( KJS::ExecState *exec, KJS::Object &obj, co
KJS::Value TQListViewImp::removeItem_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TTQListViewItem *
+ // Unsupported parameter TQListViewItem *
return KJS::Value();
- TTQListViewItem * arg0; // Dummy
+ TQListViewItem * arg0; // Dummy
instance->removeItem(
arg0 );
@@ -564,14 +564,14 @@ KJS::Value TQListViewImp::header_8( KJS::ExecState *exec, KJS::Object &obj, cons
{
instance->header( );
- return KJS::Value(); // Returns 'TTQHeader *'
+ return KJS::Value(); // Returns 'TQHeader *'
}
KJS::Value TQListViewImp::addColumn_9( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TTQString arg0 = (args.size() >= 1) ? args[0].toString(exec).qstring() : TTQString::null;
+ TQString arg0 = (args.size() >= 1) ? args[0].toString(exec).qstring() : TQString::null;
int arg1 = (args.size() >= 2) ? args[1].toInteger(exec) : -1;
@@ -589,9 +589,9 @@ KJS::Value TQListViewImp::addColumn_10( KJS::ExecState *exec, KJS::Object &obj,
// Unsupported parameter const TQIconSet
return KJS::Value();
- const TTQIconSet arg0; // Dummy
+ const TQIconSet arg0; // Dummy
- TTQString arg1 = (args.size() >= 2) ? args[1].toString(exec).qstring() : TTQString::null;
+ TQString arg1 = (args.size() >= 2) ? args[1].toString(exec).qstring() : TQString::null;
int arg2 = (args.size() >= 3) ? args[2].toInteger(exec) : -1;
@@ -620,7 +620,7 @@ KJS::Value TQListViewImp::setColumnText_12( KJS::ExecState *exec, KJS::Object &o
int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1;
- TTQString arg1 = (args.size() >= 2) ? args[1].toString(exec).qstring() : TTQString::null;
+ TQString arg1 = (args.size() >= 2) ? args[1].toString(exec).qstring() : TQString::null;
instance->setColumnText(
arg0,
@@ -637,9 +637,9 @@ KJS::Value TQListViewImp::setColumnText_13( KJS::ExecState *exec, KJS::Object &o
// Unsupported parameter const TQIconSet
return KJS::Value();
- const TTQIconSet arg1; // Dummy
+ const TQIconSet arg1; // Dummy
- TTQString arg2 = (args.size() >= 3) ? args[2].toString(exec).qstring() : TTQString::null;
+ TQString arg2 = (args.size() >= 3) ? args[2].toString(exec).qstring() : TQString::null;
instance->setColumnText(
arg0,
@@ -654,7 +654,7 @@ KJS::Value TQListViewImp::columnText_14( KJS::ExecState *exec, KJS::Object &obj,
int arg0 = (args.size() >= 1) ? args[0].toInteger(exec) : -1;
- TTQString ret;
+ TQString ret;
ret = instance->columnText(
arg0 );
return KJS::String( ret );
@@ -761,24 +761,24 @@ KJS::Value TQListViewImp::show_22( KJS::ExecState *exec, KJS::Object &obj, const
KJS::Value TQListViewImp::itemAt_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const TTQPoint &
+ // Unsupported parameter const TQPoint &
return KJS::Value();
- const TTQPoint & arg0; // Dummy
+ const TQPoint & arg0; // Dummy
instance->itemAt(
arg0 );
- return KJS::Value(); // Returns 'TTQListViewItem *'
+ return KJS::Value(); // Returns 'TQListViewItem *'
}
KJS::Value TQListViewImp::itemRect_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const TTQListViewItem *
+ // Unsupported parameter const TQListViewItem *
return KJS::Value();
- const TTQListViewItem * arg0; // Dummy
+ const TQListViewItem * arg0; // Dummy
instance->itemRect(
arg0 );
@@ -789,10 +789,10 @@ KJS::Value TQListViewImp::itemRect_24( KJS::ExecState *exec, KJS::Object &obj, c
KJS::Value TQListViewImp::itemPos_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const TTQListViewItem *
+ // Unsupported parameter const TQListViewItem *
return KJS::Value();
- const TTQListViewItem * arg0; // Dummy
+ const TQListViewItem * arg0; // Dummy
int ret;
ret = instance->itemPos(
@@ -804,10 +804,10 @@ KJS::Value TQListViewImp::itemPos_25( KJS::ExecState *exec, KJS::Object &obj, co
KJS::Value TQListViewImp::ensureItemVisible_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const TTQListViewItem *
+ // Unsupported parameter const TQListViewItem *
return KJS::Value();
- const TTQListViewItem * arg0; // Dummy
+ const TQListViewItem * arg0; // Dummy
instance->ensureItemVisible(
arg0 );
@@ -818,10 +818,10 @@ KJS::Value TQListViewImp::ensureItemVisible_26( KJS::ExecState *exec, KJS::Objec
KJS::Value TQListViewImp::repaintItem_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const TTQListViewItem *
+ // Unsupported parameter const TQListViewItem *
return KJS::Value();
- const TTQListViewItem * arg0; // Dummy
+ const TQListViewItem * arg0; // Dummy
instance->repaintItem(
arg0 );
@@ -882,10 +882,10 @@ KJS::Value TQListViewImp::clearSelection_32( KJS::ExecState *exec, KJS::Object &
KJS::Value TQListViewImp::setSelected_33( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TTQListViewItem *
+ // Unsupported parameter TQListViewItem *
return KJS::Value();
- TTQListViewItem * arg0; // Dummy
+ TQListViewItem * arg0; // Dummy
bool arg1 = (args.size() >= 2) ? args[1].toBoolean(exec) : false;
@@ -899,10 +899,10 @@ KJS::Value TQListViewImp::setSelected_33( KJS::ExecState *exec, KJS::Object &obj
KJS::Value TQListViewImp::setSelectionAnchor_34( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TTQListViewItem *
+ // Unsupported parameter TQListViewItem *
return KJS::Value();
- TTQListViewItem * arg0; // Dummy
+ TQListViewItem * arg0; // Dummy
instance->setSelectionAnchor(
arg0 );
@@ -913,10 +913,10 @@ KJS::Value TQListViewImp::setSelectionAnchor_34( KJS::ExecState *exec, KJS::Obje
KJS::Value TQListViewImp::isSelected_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const TTQListViewItem *
+ // Unsupported parameter const TQListViewItem *
return KJS::Value();
- const TTQListViewItem * arg0; // Dummy
+ const TQListViewItem * arg0; // Dummy
bool ret;
ret = instance->isSelected(
@@ -929,17 +929,17 @@ KJS::Value TQListViewImp::selectedItem_36( KJS::ExecState *exec, KJS::Object &ob
{
instance->selectedItem( );
- return KJS::Value(); // Returns 'TTQListViewItem *'
+ return KJS::Value(); // Returns 'TQListViewItem *'
}
KJS::Value TQListViewImp::setOpen_37( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TTQListViewItem *
+ // Unsupported parameter TQListViewItem *
return KJS::Value();
- TTQListViewItem * arg0; // Dummy
+ TQListViewItem * arg0; // Dummy
bool arg1 = (args.size() >= 2) ? args[1].toBoolean(exec) : false;
@@ -953,10 +953,10 @@ KJS::Value TQListViewImp::setOpen_37( KJS::ExecState *exec, KJS::Object &obj, co
KJS::Value TQListViewImp::isOpen_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const TTQListViewItem *
+ // Unsupported parameter const TQListViewItem *
return KJS::Value();
- const TTQListViewItem * arg0; // Dummy
+ const TQListViewItem * arg0; // Dummy
bool ret;
ret = instance->isOpen(
@@ -968,10 +968,10 @@ KJS::Value TQListViewImp::isOpen_38( KJS::ExecState *exec, KJS::Object &obj, con
KJS::Value TQListViewImp::setCurrentItem_39( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TTQListViewItem *
+ // Unsupported parameter TQListViewItem *
return KJS::Value();
- TTQListViewItem * arg0; // Dummy
+ TQListViewItem * arg0; // Dummy
instance->setCurrentItem(
arg0 );
@@ -983,7 +983,7 @@ KJS::Value TQListViewImp::currentItem_40( KJS::ExecState *exec, KJS::Object &obj
{
instance->currentItem( );
- return KJS::Value(); // Returns 'TTQListViewItem *'
+ return KJS::Value(); // Returns 'TQListViewItem *'
}
@@ -991,7 +991,7 @@ KJS::Value TQListViewImp::firstChild_41( KJS::ExecState *exec, KJS::Object &obj,
{
instance->firstChild( );
- return KJS::Value(); // Returns 'TTQListViewItem *'
+ return KJS::Value(); // Returns 'TQListViewItem *'
}
@@ -999,7 +999,7 @@ KJS::Value TQListViewImp::lastItem_42( KJS::ExecState *exec, KJS::Object &obj, c
{
instance->lastItem( );
- return KJS::Value(); // Returns 'TTQListViewItem *'
+ return KJS::Value(); // Returns 'TQListViewItem *'
}
@@ -1139,7 +1139,7 @@ KJS::Value TQListViewImp::sort_55( KJS::ExecState *exec, KJS::Object &obj, const
KJS::Value TQListViewImp::setFont_56( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TTQFont arg0; // TODO
+ TQFont arg0; // TODO
instance->setFont(
arg0 );
@@ -1150,7 +1150,7 @@ KJS::Value TQListViewImp::setFont_56( KJS::ExecState *exec, KJS::Object &obj, co
KJS::Value TQListViewImp::setPalette_57( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TTQPalette arg0; // TODO
+ TQPalette arg0; // TODO
instance->setPalette(
arg0 );
@@ -1161,15 +1161,15 @@ KJS::Value TQListViewImp::setPalette_57( KJS::ExecState *exec, KJS::Object &obj,
KJS::Value TQListViewImp::eventFilter_58( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TTQObject *
+ // Unsupported parameter TQObject *
return KJS::Value();
- TTQObject * arg0; // Dummy
+ TQObject * arg0; // Dummy
- // Unsupported parameter TTQEvent *
+ // Unsupported parameter TQEvent *
return KJS::Value();
- TTQEvent * arg1; // Dummy
+ TQEvent * arg1; // Dummy
bool ret;
ret = instance->eventFilter(
@@ -1260,7 +1260,7 @@ KJS::Value TQListViewImp::resizeMode_66( KJS::ExecState *exec, KJS::Object &obj,
KJS::Value TQListViewImp::findItem_67( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TTQString arg0 = (args.size() >= 1) ? args[0].toString(exec).qstring() : TTQString::null;
+ TQString arg0 = (args.size() >= 1) ? args[0].toString(exec).qstring() : TQString::null;
int arg1 = (args.size() >= 2) ? args[1].toInteger(exec) : -1;
@@ -1273,7 +1273,7 @@ KJS::Value TQListViewImp::findItem_67( KJS::ExecState *exec, KJS::Object &obj, c
arg0,
arg1,
arg2 );
- return KJS::Value(); // Returns 'TTQListViewItem *'
+ return KJS::Value(); // Returns 'TQListViewItem *'
}