summaryrefslogtreecommitdiffstats
path: root/kjsembed/qtbindings/qmenudata_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/qtbindings/qmenudata_imp.cpp')
-rw-r--r--kjsembed/qtbindings/qmenudata_imp.cpp328
1 files changed, 164 insertions, 164 deletions
diff --git a/kjsembed/qtbindings/qmenudata_imp.cpp b/kjsembed/qtbindings/qmenudata_imp.cpp
index da91f8dd..925e4125 100644
--- a/kjsembed/qtbindings/qmenudata_imp.cpp
+++ b/kjsembed/qtbindings/qmenudata_imp.cpp
@@ -23,19 +23,19 @@
*/
namespace KJSEmbed {
-QMenuDataImp::QMenuDataImp( KJS::ExecState *exec, int mid, bool constructor )
+TTQMenuDataImp::TQMenuDataImp( KJS::ExecState *exec, int mid, bool constructor )
: JSProxyImp(exec), id(mid), cons(constructor)
{
}
-QMenuDataImp::~QMenuDataImp()
+TTQMenuDataImp::~TQMenuDataImp()
{
}
/**
* Adds bindings for static methods and enum constants to the specified Object.
*/
-void QMenuDataImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object )
+void TQMenuDataImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object )
{
JSProxy::MethodTable methods[] = {
@@ -43,11 +43,11 @@ void QMenuDataImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object
};
int idx = 0;
- TQCString lastName;
+ TTQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
- QMenuDataImp *meth = new QMenuDataImp( exec, methods[idx].id );
+ TQMenuDataImp *meth = new TQMenuDataImp( exec, methods[idx].id );
object.put( exec , methods[idx].name, KJS::Object(meth) );
lastName = methods[idx].name;
}
@@ -60,7 +60,7 @@ void QMenuDataImp::addStaticBindings( KJS::ExecState *exec, KJS::Object &object
/**
* Adds bindings for instance methods to the specified Object.
*/
-void QMenuDataImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
+void TQMenuDataImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
{
JSProxy::MethodTable methods[] = {
@@ -121,11 +121,11 @@ void QMenuDataImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
};
int idx = 0;
- TQCString lastName;
+ TTQCString lastName;
while( methods[idx].name ) {
if ( lastName != methods[idx].name ) {
- QMenuDataImp *meth = new QMenuDataImp( exec, methods[idx].id );
+ TQMenuDataImp *meth = new TQMenuDataImp( exec, methods[idx].id );
object.put( exec , methods[idx].name, KJS::Object(meth) );
lastName = methods[idx].name;
}
@@ -134,62 +134,62 @@ void QMenuDataImp::addBindings( KJS::ExecState *exec, KJS::Object &object )
}
/**
- * Extract a TQMenuData pointer from an Object.
+ * Extract a TTQMenuData pointer from an Object.
*/
-TQMenuData *QMenuDataImp::toQMenuData( KJS::Object &self )
+TTQMenuData *TQMenuDataImp::toTQMenuData( KJS::Object &self )
{
JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() );
if ( ob ) {
- TQObject *obj = ob->object();
+ TTQObject *obj = ob->object();
if ( obj )
- return dynamic_cast<TQMenuData *>( obj );
+ return dynamic_cast<TTQMenuData *>( obj );
}
JSOpaqueProxy *op = JSProxy::toOpaqueProxy( self.imp() );
if ( !op )
return 0;
- if ( op->typeName() != "TQMenuData" )
+ if ( op->typeName() != "TTQMenuData" )
return 0;
- return op->toNative<TQMenuData>();
+ return op->toNative<TTQMenuData>();
}
/**
* Select and invoke the correct constructor.
*/
-KJS::Object QMenuDataImp::construct( KJS::ExecState *exec, const KJS::List &args )
+KJS::Object TQMenuDataImp::construct( KJS::ExecState *exec, const KJS::List &args )
{
switch( id ) {
case Constructor_QMenuData_1:
- return QMenuData_1( exec, args );
+ return TQMenuData_1( exec, args );
break;
default:
break;
}
- TQString msg = i18n("QMenuDataCons has no constructor with id '%1'").arg(id);
+ TTQString msg = i18n("TQMenuDataCons has no constructor with id '%1'").arg(id);
return throwError(exec, msg,KJS::ReferenceError);
}
-KJS::Object QMenuDataImp::QMenuData_1( KJS::ExecState *exec, const KJS::List &args )
+KJS::Object TQMenuDataImp::TQMenuData_1( KJS::ExecState *exec, const KJS::List &args )
{
- // We should now create an instance of the TQMenuData object
+ // We should now create an instance of the TTQMenuData object
- TQMenuData *ret = new TQMenuData(
+ TTQMenuData *ret = new TTQMenuData(
);
return KJS::Object();
}
-KJS::Value QMenuDataImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args )
+KJS::Value TQMenuDataImp::call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args )
{
- instance = QMenuDataImp::toQMenuData( self );
+ instance = TQMenuDataImp::toTQMenuData( self );
switch( id ) {
@@ -409,12 +409,12 @@ KJS::Value QMenuDataImp::call( KJS::ExecState *exec, KJS::Object &self, const KJ
break;
}
- TQString msg = i18n( "QMenuDataImp has no method with id '%1'" ).arg( id );
+ TTQString msg = i18n( "TQMenuDataImp has no method with id '%1'" ).arg( id );
return throwError(exec, msg,KJS::ReferenceError);
}
-KJS::Value QMenuDataImp::count_3( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::count_3( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
uint ret;
@@ -423,22 +423,22 @@ KJS::Value QMenuDataImp::count_3( KJS::ExecState *exec, KJS::Object &obj, const
}
-KJS::Value QMenuDataImp::insertItem_4( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_4( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TQString arg0 = extractQString(exec, args, 0);
+ TTQString arg0 = extractTQString(exec, args, 0);
- // Unsupported parameter const TQObject *
+ // Unsupported parameter const TTQObject *
return KJS::Value();
- const TQObject * arg1; // Dummy
+ const TTQObject * arg1; // Dummy
const char *arg2 = (args.size() >= 3) ? args[2].toString(exec).ascii() : 0;
- // Unsupported parameter const QKeySequence
+ // Unsupported parameter const TQKeySequence
return KJS::Value();
- const TQKeySequence arg3; // Dummy
+ const TTQKeySequence arg3; // Dummy
int arg4 = extractInt(exec, args, 4);
@@ -456,27 +456,27 @@ KJS::Value QMenuDataImp::insertItem_4( KJS::ExecState *exec, KJS::Object &obj, c
}
-KJS::Value QMenuDataImp::insertItem_5( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_5( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const QIconSet
+ // Unsupported parameter const TQIconSet
return KJS::Value();
- const TQIconSet arg0; // Dummy
+ const TTQIconSet arg0; // Dummy
- TQString arg1 = extractQString(exec, args, 1);
+ TTQString arg1 = extractTQString(exec, args, 1);
- // Unsupported parameter const TQObject *
+ // Unsupported parameter const TTQObject *
return KJS::Value();
- const TQObject * arg2; // Dummy
+ const TTQObject * arg2; // Dummy
const char *arg3 = (args.size() >= 4) ? args[3].toString(exec).ascii() : 0;
- // Unsupported parameter const QKeySequence
+ // Unsupported parameter const TQKeySequence
return KJS::Value();
- const TQKeySequence arg4; // Dummy
+ const TTQKeySequence arg4; // Dummy
int arg5 = extractInt(exec, args, 5);
@@ -495,22 +495,22 @@ KJS::Value QMenuDataImp::insertItem_5( KJS::ExecState *exec, KJS::Object &obj, c
}
-KJS::Value QMenuDataImp::insertItem_6( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_6( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TQPixmap arg0 = extractQPixmap(exec, args, 0);
+ TTQPixmap arg0 = extractTQPixmap(exec, args, 0);
- // Unsupported parameter const TQObject *
+ // Unsupported parameter const TTQObject *
return KJS::Value();
- const TQObject * arg1; // Dummy
+ const TTQObject * arg1; // Dummy
const char *arg2 = (args.size() >= 3) ? args[2].toString(exec).ascii() : 0;
- // Unsupported parameter const QKeySequence
+ // Unsupported parameter const TQKeySequence
return KJS::Value();
- const TQKeySequence arg3; // Dummy
+ const TTQKeySequence arg3; // Dummy
int arg4 = extractInt(exec, args, 4);
@@ -528,27 +528,27 @@ KJS::Value QMenuDataImp::insertItem_6( KJS::ExecState *exec, KJS::Object &obj, c
}
-KJS::Value QMenuDataImp::insertItem_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_7( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const QIconSet
+ // Unsupported parameter const TQIconSet
return KJS::Value();
- const TQIconSet arg0; // Dummy
+ const TTQIconSet arg0; // Dummy
- TQPixmap arg1 = extractQPixmap(exec, args, 1);
+ TTQPixmap arg1 = extractTQPixmap(exec, args, 1);
- // Unsupported parameter const TQObject *
+ // Unsupported parameter const TTQObject *
return KJS::Value();
- const TQObject * arg2; // Dummy
+ const TTQObject * arg2; // Dummy
const char *arg3 = (args.size() >= 4) ? args[3].toString(exec).ascii() : 0;
- // Unsupported parameter const QKeySequence
+ // Unsupported parameter const TQKeySequence
return KJS::Value();
- const TQKeySequence arg4; // Dummy
+ const TTQKeySequence arg4; // Dummy
int arg5 = extractInt(exec, args, 5);
@@ -567,10 +567,10 @@ KJS::Value QMenuDataImp::insertItem_7( KJS::ExecState *exec, KJS::Object &obj, c
}
-KJS::Value QMenuDataImp::insertItem_8( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_8( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TQString arg0 = extractQString(exec, args, 0);
+ TTQString arg0 = extractTQString(exec, args, 0);
int arg1 = extractInt(exec, args, 1);
@@ -585,15 +585,15 @@ KJS::Value QMenuDataImp::insertItem_8( KJS::ExecState *exec, KJS::Object &obj, c
}
-KJS::Value QMenuDataImp::insertItem_9( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_9( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const QIconSet
+ // Unsupported parameter const TQIconSet
return KJS::Value();
- const TQIconSet arg0; // Dummy
+ const TTQIconSet arg0; // Dummy
- TQString arg1 = extractQString(exec, args, 1);
+ TTQString arg1 = extractTQString(exec, args, 1);
int arg2 = extractInt(exec, args, 2);
@@ -609,15 +609,15 @@ KJS::Value QMenuDataImp::insertItem_9( KJS::ExecState *exec, KJS::Object &obj, c
}
-KJS::Value QMenuDataImp::insertItem_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_10( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TQString arg0 = extractQString(exec, args, 0);
+ TTQString arg0 = extractTQString(exec, args, 0);
- // Unsupported parameter TQPopupMenu *
+ // Unsupported parameter TTQPopupMenu *
return KJS::Value();
- TQPopupMenu * arg1; // Dummy
+ TTQPopupMenu * arg1; // Dummy
int arg2 = extractInt(exec, args, 2);
@@ -633,20 +633,20 @@ KJS::Value QMenuDataImp::insertItem_10( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::insertItem_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_11( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const QIconSet
+ // Unsupported parameter const TQIconSet
return KJS::Value();
- const TQIconSet arg0; // Dummy
+ const TTQIconSet arg0; // Dummy
- TQString arg1 = extractQString(exec, args, 1);
+ TTQString arg1 = extractTQString(exec, args, 1);
- // Unsupported parameter TQPopupMenu *
+ // Unsupported parameter TTQPopupMenu *
return KJS::Value();
- TQPopupMenu * arg2; // Dummy
+ TTQPopupMenu * arg2; // Dummy
int arg3 = extractInt(exec, args, 3);
@@ -663,10 +663,10 @@ KJS::Value QMenuDataImp::insertItem_11( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::insertItem_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_12( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TQPixmap arg0 = extractQPixmap(exec, args, 0);
+ TTQPixmap arg0 = extractTQPixmap(exec, args, 0);
int arg1 = extractInt(exec, args, 1);
@@ -681,15 +681,15 @@ KJS::Value QMenuDataImp::insertItem_12( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::insertItem_13( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_13( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const QIconSet
+ // Unsupported parameter const TQIconSet
return KJS::Value();
- const TQIconSet arg0; // Dummy
+ const TTQIconSet arg0; // Dummy
- TQPixmap arg1 = extractQPixmap(exec, args, 1);
+ TTQPixmap arg1 = extractTQPixmap(exec, args, 1);
int arg2 = extractInt(exec, args, 2);
@@ -705,15 +705,15 @@ KJS::Value QMenuDataImp::insertItem_13( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::insertItem_14( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_14( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TQPixmap arg0 = extractQPixmap(exec, args, 0);
+ TTQPixmap arg0 = extractTQPixmap(exec, args, 0);
- // Unsupported parameter TQPopupMenu *
+ // Unsupported parameter TTQPopupMenu *
return KJS::Value();
- TQPopupMenu * arg1; // Dummy
+ TTQPopupMenu * arg1; // Dummy
int arg2 = extractInt(exec, args, 2);
@@ -729,20 +729,20 @@ KJS::Value QMenuDataImp::insertItem_14( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::insertItem_15( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_15( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const QIconSet
+ // Unsupported parameter const TQIconSet
return KJS::Value();
- const TQIconSet arg0; // Dummy
+ const TTQIconSet arg0; // Dummy
- TQPixmap arg1 = extractQPixmap(exec, args, 1);
+ TTQPixmap arg1 = extractTQPixmap(exec, args, 1);
- // Unsupported parameter TQPopupMenu *
+ // Unsupported parameter TTQPopupMenu *
return KJS::Value();
- TQPopupMenu * arg2; // Dummy
+ TTQPopupMenu * arg2; // Dummy
int arg3 = extractInt(exec, args, 3);
@@ -759,13 +759,13 @@ KJS::Value QMenuDataImp::insertItem_15( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::insertItem_16( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_16( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TQWidget *
+ // Unsupported parameter TTQWidget *
return KJS::Value();
- TQWidget * arg0; // Dummy
+ TTQWidget * arg0; // Dummy
int arg1 = extractInt(exec, args, 1);
@@ -780,18 +780,18 @@ KJS::Value QMenuDataImp::insertItem_16( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::insertItem_17( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_17( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const QIconSet
+ // Unsupported parameter const TQIconSet
return KJS::Value();
- const TQIconSet arg0; // Dummy
+ const TTQIconSet arg0; // Dummy
- // Unsupported parameter TQCustomMenuItem *
+ // Unsupported parameter TTQCustomMenuItem *
return KJS::Value();
- TQCustomMenuItem * arg1; // Dummy
+ TTQCustomMenuItem * arg1; // Dummy
int arg2 = extractInt(exec, args, 2);
@@ -807,13 +807,13 @@ KJS::Value QMenuDataImp::insertItem_17( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::insertItem_18( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertItem_18( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TQCustomMenuItem *
+ // Unsupported parameter TTQCustomMenuItem *
return KJS::Value();
- TQCustomMenuItem * arg0; // Dummy
+ TTQCustomMenuItem * arg0; // Dummy
int arg1 = extractInt(exec, args, 1);
@@ -828,7 +828,7 @@ KJS::Value QMenuDataImp::insertItem_18( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::insertSeparator_19( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::insertSeparator_19( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -840,7 +840,7 @@ KJS::Value QMenuDataImp::insertSeparator_19( KJS::ExecState *exec, KJS::Object &
}
-KJS::Value QMenuDataImp::removeItem_20( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::removeItem_20( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -851,7 +851,7 @@ KJS::Value QMenuDataImp::removeItem_20( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::removeItemAt_21( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::removeItemAt_21( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -862,7 +862,7 @@ KJS::Value QMenuDataImp::removeItemAt_21( KJS::ExecState *exec, KJS::Object &obj
}
-KJS::Value QMenuDataImp::clear_22( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::clear_22( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
instance->clear( );
@@ -870,24 +870,24 @@ KJS::Value QMenuDataImp::clear_22( KJS::ExecState *exec, KJS::Object &obj, const
}
-KJS::Value QMenuDataImp::accel_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::accel_23( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
instance->accel(
arg0 );
- return KJS::Value(); // Returns 'QKeySequence'
+ return KJS::Value(); // Returns 'TQKeySequence'
}
-KJS::Value QMenuDataImp::setAccel_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::setAccel_24( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const QKeySequence
+ // Unsupported parameter const TQKeySequence
return KJS::Value();
- const TQKeySequence arg0; // Dummy
+ const TTQKeySequence arg0; // Dummy
int arg1 = extractInt(exec, args, 1);
@@ -898,46 +898,46 @@ KJS::Value QMenuDataImp::setAccel_24( KJS::ExecState *exec, KJS::Object &obj, co
}
-KJS::Value QMenuDataImp::iconSet_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::iconSet_25( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
instance->iconSet(
arg0 );
- return KJS::Value(); // Returns 'TQIconSet *'
+ return KJS::Value(); // Returns 'TTQIconSet *'
}
-KJS::Value QMenuDataImp::text_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::text_26( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
- TQString ret;
+ TTQString ret;
ret = instance->text(
arg0 );
return KJS::String( ret );
}
-KJS::Value QMenuDataImp::pixmap_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::pixmap_27( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
instance->pixmap(
arg0 );
- return KJS::Value(); // Returns 'TQPixmap *'
+ return KJS::Value(); // Returns 'TTQPixmap *'
}
-KJS::Value QMenuDataImp::setWhatsThis_28( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::setWhatsThis_28( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
- TQString arg1 = extractQString(exec, args, 1);
+ TTQString arg1 = extractTQString(exec, args, 1);
instance->setWhatsThis(
arg0,
@@ -946,24 +946,24 @@ KJS::Value QMenuDataImp::setWhatsThis_28( KJS::ExecState *exec, KJS::Object &obj
}
-KJS::Value QMenuDataImp::whatsThis_29( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::whatsThis_29( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
- TQString ret;
+ TTQString ret;
ret = instance->whatsThis(
arg0 );
return KJS::String( ret );
}
-KJS::Value QMenuDataImp::changeItem_30( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::changeItem_30( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
- TQString arg1 = extractQString(exec, args, 1);
+ TTQString arg1 = extractTQString(exec, args, 1);
instance->changeItem(
arg0,
@@ -972,12 +972,12 @@ KJS::Value QMenuDataImp::changeItem_30( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::changeItem_31( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::changeItem_31( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
- TQPixmap arg1 = extractQPixmap(exec, args, 1);
+ TTQPixmap arg1 = extractTQPixmap(exec, args, 1);
instance->changeItem(
arg0,
@@ -986,17 +986,17 @@ KJS::Value QMenuDataImp::changeItem_31( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::changeItem_32( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::changeItem_32( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
- // Unsupported parameter const QIconSet
+ // Unsupported parameter const TQIconSet
return KJS::Value();
- const TQIconSet arg1; // Dummy
+ const TTQIconSet arg1; // Dummy
- TQString arg2 = extractQString(exec, args, 2);
+ TTQString arg2 = extractTQString(exec, args, 2);
instance->changeItem(
arg0,
@@ -1006,17 +1006,17 @@ KJS::Value QMenuDataImp::changeItem_32( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::changeItem_33( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::changeItem_33( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
- // Unsupported parameter const QIconSet
+ // Unsupported parameter const TQIconSet
return KJS::Value();
- const TQIconSet arg1; // Dummy
+ const TTQIconSet arg1; // Dummy
- TQPixmap arg2 = extractQPixmap(exec, args, 2);
+ TTQPixmap arg2 = extractTQPixmap(exec, args, 2);
instance->changeItem(
arg0,
@@ -1026,10 +1026,10 @@ KJS::Value QMenuDataImp::changeItem_33( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::changeItem_34( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::changeItem_34( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TQString arg0 = extractQString(exec, args, 0);
+ TTQString arg0 = extractTQString(exec, args, 0);
int arg1 = extractInt(exec, args, 1);
@@ -1040,10 +1040,10 @@ KJS::Value QMenuDataImp::changeItem_34( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::changeItem_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::changeItem_35( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- TQPixmap arg0 = extractQPixmap(exec, args, 0);
+ TTQPixmap arg0 = extractTQPixmap(exec, args, 0);
int arg1 = extractInt(exec, args, 1);
@@ -1054,15 +1054,15 @@ KJS::Value QMenuDataImp::changeItem_35( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::changeItem_36( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::changeItem_36( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter const QIconSet
+ // Unsupported parameter const TQIconSet
return KJS::Value();
- const TQIconSet arg0; // Dummy
+ const TTQIconSet arg0; // Dummy
- TQString arg1 = extractQString(exec, args, 1);
+ TTQString arg1 = extractTQString(exec, args, 1);
int arg2 = extractInt(exec, args, 2);
@@ -1074,7 +1074,7 @@ KJS::Value QMenuDataImp::changeItem_36( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::isItemActive_37( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::isItemActive_37( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1086,7 +1086,7 @@ KJS::Value QMenuDataImp::isItemActive_37( KJS::ExecState *exec, KJS::Object &obj
}
-KJS::Value QMenuDataImp::isItemEnabled_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::isItemEnabled_38( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1098,7 +1098,7 @@ KJS::Value QMenuDataImp::isItemEnabled_38( KJS::ExecState *exec, KJS::Object &ob
}
-KJS::Value QMenuDataImp::setItemEnabled_39( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::setItemEnabled_39( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1112,7 +1112,7 @@ KJS::Value QMenuDataImp::setItemEnabled_39( KJS::ExecState *exec, KJS::Object &o
}
-KJS::Value QMenuDataImp::isItemChecked_40( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::isItemChecked_40( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1124,7 +1124,7 @@ KJS::Value QMenuDataImp::isItemChecked_40( KJS::ExecState *exec, KJS::Object &ob
}
-KJS::Value QMenuDataImp::setItemChecked_41( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::setItemChecked_41( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1138,7 +1138,7 @@ KJS::Value QMenuDataImp::setItemChecked_41( KJS::ExecState *exec, KJS::Object &o
}
-KJS::Value QMenuDataImp::isItemVisible_42( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::isItemVisible_42( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1150,7 +1150,7 @@ KJS::Value QMenuDataImp::isItemVisible_42( KJS::ExecState *exec, KJS::Object &ob
}
-KJS::Value QMenuDataImp::setItemVisible_43( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::setItemVisible_43( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1164,7 +1164,7 @@ KJS::Value QMenuDataImp::setItemVisible_43( KJS::ExecState *exec, KJS::Object &o
}
-KJS::Value QMenuDataImp::updateItem_44( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::updateItem_44( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1175,7 +1175,7 @@ KJS::Value QMenuDataImp::updateItem_44( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::indexOf_45( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::indexOf_45( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1187,7 +1187,7 @@ KJS::Value QMenuDataImp::indexOf_45( KJS::ExecState *exec, KJS::Object &obj, con
}
-KJS::Value QMenuDataImp::idAt_46( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::idAt_46( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1199,7 +1199,7 @@ KJS::Value QMenuDataImp::idAt_46( KJS::ExecState *exec, KJS::Object &obj, const
}
-KJS::Value QMenuDataImp::setId_47( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::setId_47( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1213,15 +1213,15 @@ KJS::Value QMenuDataImp::setId_47( KJS::ExecState *exec, KJS::Object &obj, const
}
-KJS::Value QMenuDataImp::connectItem_48( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::connectItem_48( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
- // Unsupported parameter const TQObject *
+ // Unsupported parameter const TTQObject *
return KJS::Value();
- const TQObject * arg1; // Dummy
+ const TTQObject * arg1; // Dummy
const char *arg2 = (args.size() >= 3) ? args[2].toString(exec).ascii() : 0;
@@ -1234,15 +1234,15 @@ KJS::Value QMenuDataImp::connectItem_48( KJS::ExecState *exec, KJS::Object &obj,
}
-KJS::Value QMenuDataImp::disconnectItem_49( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::disconnectItem_49( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
- // Unsupported parameter const TQObject *
+ // Unsupported parameter const TTQObject *
return KJS::Value();
- const TQObject * arg1; // Dummy
+ const TTQObject * arg1; // Dummy
const char *arg2 = (args.size() >= 3) ? args[2].toString(exec).ascii() : 0;
@@ -1255,7 +1255,7 @@ KJS::Value QMenuDataImp::disconnectItem_49( KJS::ExecState *exec, KJS::Object &o
}
-KJS::Value QMenuDataImp::setItemParameter_50( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::setItemParameter_50( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1270,7 +1270,7 @@ KJS::Value QMenuDataImp::setItemParameter_50( KJS::ExecState *exec, KJS::Object
}
-KJS::Value QMenuDataImp::itemParameter_51( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::itemParameter_51( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
@@ -1282,41 +1282,41 @@ KJS::Value QMenuDataImp::itemParameter_51( KJS::ExecState *exec, KJS::Object &ob
}
-KJS::Value QMenuDataImp::findItem_52( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::findItem_52( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
instance->findItem(
arg0 );
- return KJS::Value(); // Returns 'TQMenuItem *'
+ return KJS::Value(); // Returns 'TTQMenuItem *'
}
-KJS::Value QMenuDataImp::findItem_53( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::findItem_53( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);
- // Unsupported parameter TQMenuData **
+ // Unsupported parameter TTQMenuData **
return KJS::Value();
- TQMenuData ** arg1; // Dummy
+ TTQMenuData ** arg1; // Dummy
instance->findItem(
arg0,
arg1 );
- return KJS::Value(); // Returns 'TQMenuItem *'
+ return KJS::Value(); // Returns 'TTQMenuItem *'
}
-KJS::Value QMenuDataImp::findPopup_54( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::findPopup_54( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
- // Unsupported parameter TQPopupMenu *
+ // Unsupported parameter TTQPopupMenu *
return KJS::Value();
- TQPopupMenu * arg0; // Dummy
+ TTQPopupMenu * arg0; // Dummy
// Unsupported parameter int *
return KJS::Value();
@@ -1326,11 +1326,11 @@ KJS::Value QMenuDataImp::findPopup_54( KJS::ExecState *exec, KJS::Object &obj, c
instance->findPopup(
arg0,
arg1 );
- return KJS::Value(); // Returns 'TQMenuItem *'
+ return KJS::Value(); // Returns 'TTQMenuItem *'
}
-KJS::Value QMenuDataImp::activateItemAt_55( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
+KJS::Value TQMenuDataImp::activateItemAt_55( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
int arg0 = extractInt(exec, args, 0);