/****************************************************************************
** TQWidget meta object code from reading C++ file 'ntqwidget.h'
**
** Created by: The TQt Meta Object Compiler version 26 (TQt 3.5.0)
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef TQT_NO_COMPAT
#include "../../kernel/ntqwidget.h"
#include <ntqmetaobject.h>
#include <ntqapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.5.0. It"
#error "cannot be used with the include files from this version of TQt."
#error "(The moc has changed too much.)"
#endif

#include <ntqvariant.h>
const char *TQWidget::className() const
{
    return "TQWidget";
}

TQMetaObject *TQWidget::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQWidget( "TQWidget", &TQWidget::staticMetaObject );

#ifndef TQT_NO_TRANSLATION
TQString TQWidget::tr( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "TQWidget", s, c, TQApplication::DefaultCodec );
    else
	return TQString::fromLatin1( s );
}
#ifndef TQT_NO_TRANSLATION_UTF8
TQString TQWidget::trUtf8( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "TQWidget", s, c, TQApplication::UnicodeUTF8 );
    else
	return TQString::fromUtf8( s );
}
#endif // TQT_NO_TRANSLATION_UTF8

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQWidget::staticMetaObject()
{
    if ( metaObj ) {
	return metaObj;
}
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock();
    if ( metaObj ) {
	if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
	return metaObj;
    }
#endif // TQT_THREAD_SUPPORT
    TQMetaObject* parentObject = TQObject::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaEnum::Item enum_0[] = {
	{ "NoFocus",  (int) TQWidget::NoFocus },
	{ "TabFocus",  (int) TQWidget::TabFocus },
	{ "ClickFocus",  (int) TQWidget::ClickFocus },
	{ "StrongFocus",  (int) TQWidget::StrongFocus },
	{ "WheelFocus",  (int) TQWidget::WheelFocus }
    };
    static const TQMetaEnum::Item enum_1[] = {
	{ "WidgetOrigin",  (int) TQWidget::WidgetOrigin },
	{ "ParentOrigin",  (int) TQWidget::ParentOrigin },
	{ "WindowOrigin",  (int) TQWidget::WindowOrigin },
	{ "AncestorOrigin",  (int) TQWidget::AncestorOrigin }
    };
    static const TQMetaEnum enum_tbl[] = {
	{ "FocusPolicy", 5, enum_0, false },
	{ "BackgroundOrigin", 4, enum_1, false }
    };
#endif // TQT_NO_PROPERTIES
    static const TQUParameter param_slot_0[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_0 = {"setEnabled", 1, param_slot_0 };
    static const TQUParameter param_slot_1[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_1 = {"setDisabled", 1, param_slot_1 };
    static const TQUParameter param_slot_2[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_2 = {"setCaption", 1, param_slot_2 };
    static const TQUParameter param_slot_3[] = {
	{ 0, &static_QUType_varptr, "\x06", TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"setIcon", 1, param_slot_3 };
    static const TQUParameter param_slot_4[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_4 = {"setIconText", 1, param_slot_4 };
    static const TQUParameter param_slot_5[] = {
	{ "enable", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"setMouseTracking", 1, param_slot_5 };
    static const TQUMethod slot_6 = {"setFocus", 0, 0 };
    static const TQUMethod slot_7 = {"clearFocus", 0, 0 };
    static const TQUParameter param_slot_8[] = {
	{ "enable", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_8 = {"setUpdatesEnabled", 1, param_slot_8 };
    static const TQUMethod slot_9 = {"update", 0, 0 };
    static const TQUParameter param_slot_10[] = {
	{ "x", &static_QUType_int, 0, TQUParameter::In },
	{ "y", &static_QUType_int, 0, TQUParameter::In },
	{ "w", &static_QUType_int, 0, TQUParameter::In },
	{ "h", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_10 = {"update", 4, param_slot_10 };
    static const TQUParameter param_slot_11[] = {
	{ 0, &static_QUType_varptr, "\x08", TQUParameter::In }
    };
    static const TQUMethod slot_11 = {"update", 1, param_slot_11 };
    static const TQUMethod slot_12 = {"repaint", 0, 0 };
    static const TQUParameter param_slot_13[] = {
	{ "erase", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_13 = {"repaint", 1, param_slot_13 };
    static const TQUParameter param_slot_14[] = {
	{ "x", &static_QUType_int, 0, TQUParameter::In },
	{ "y", &static_QUType_int, 0, TQUParameter::In },
	{ "w", &static_QUType_int, 0, TQUParameter::In },
	{ "h", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_14 = {"repaint", 4, param_slot_14 };
    static const TQUParameter param_slot_15[] = {
	{ "x", &static_QUType_int, 0, TQUParameter::In },
	{ "y", &static_QUType_int, 0, TQUParameter::In },
	{ "w", &static_QUType_int, 0, TQUParameter::In },
	{ "h", &static_QUType_int, 0, TQUParameter::In },
	{ "erase", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_15 = {"repaint", 5, param_slot_15 };
    static const TQUParameter param_slot_16[] = {
	{ 0, &static_QUType_varptr, "\x08", TQUParameter::In }
    };
    static const TQUMethod slot_16 = {"repaint", 1, param_slot_16 };
    static const TQUParameter param_slot_17[] = {
	{ 0, &static_QUType_varptr, "\x08", TQUParameter::In },
	{ "erase", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_17 = {"repaint", 2, param_slot_17 };
    static const TQUParameter param_slot_18[] = {
	{ 0, &static_QUType_varptr, "\x16", TQUParameter::In }
    };
    static const TQUMethod slot_18 = {"repaint", 1, param_slot_18 };
    static const TQUParameter param_slot_19[] = {
	{ 0, &static_QUType_varptr, "\x16", TQUParameter::In },
	{ "erase", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_19 = {"repaint", 2, param_slot_19 };
    static const TQUMethod slot_20 = {"show", 0, 0 };
    static const TQUMethod slot_21 = {"hide", 0, 0 };
    static const TQUParameter param_slot_22[] = {
	{ "show", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_22 = {"setShown", 1, param_slot_22 };
    static const TQUParameter param_slot_23[] = {
	{ "hide", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_23 = {"setHidden", 1, param_slot_23 };
    static const TQUMethod slot_24 = {"iconify", 0, 0 };
    static const TQUMethod slot_25 = {"showMinimized", 0, 0 };
    static const TQUMethod slot_26 = {"showMaximized", 0, 0 };
    static const TQUMethod slot_27 = {"showFullScreen", 0, 0 };
    static const TQUMethod slot_28 = {"showNormal", 0, 0 };
    static const TQUMethod slot_29 = {"polish", 0, 0 };
    static const TQUMethod slot_30 = {"constPolish", 0, 0 };
    static const TQUParameter param_slot_31[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::Out }
    };
    static const TQUMethod slot_31 = {"close", 1, param_slot_31 };
    static const TQUMethod slot_32 = {"raise", 0, 0 };
    static const TQUMethod slot_33 = {"lower", 0, 0 };
    static const TQUParameter param_slot_34[] = {
	{ 0, &static_QUType_ptr, "TQWidget", TQUParameter::In }
    };
    static const TQUMethod slot_34 = {"stackUnder", 1, param_slot_34 };
    static const TQUParameter param_slot_35[] = {
	{ "x", &static_QUType_int, 0, TQUParameter::In },
	{ "y", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_35 = {"move", 2, param_slot_35 };
    static const TQUParameter param_slot_36[] = {
	{ 0, &static_QUType_varptr, "\x0e", TQUParameter::In }
    };
    static const TQUMethod slot_36 = {"move", 1, param_slot_36 };
    static const TQUParameter param_slot_37[] = {
	{ "w", &static_QUType_int, 0, TQUParameter::In },
	{ "h", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_37 = {"resize", 2, param_slot_37 };
    static const TQUParameter param_slot_38[] = {
	{ 0, &static_QUType_varptr, "\x09", TQUParameter::In }
    };
    static const TQUMethod slot_38 = {"resize", 1, param_slot_38 };
    static const TQUParameter param_slot_39[] = {
	{ "x", &static_QUType_int, 0, TQUParameter::In },
	{ "y", &static_QUType_int, 0, TQUParameter::In },
	{ "w", &static_QUType_int, 0, TQUParameter::In },
	{ "h", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_39 = {"setGeometry", 4, param_slot_39 };
    static const TQUParameter param_slot_40[] = {
	{ 0, &static_QUType_varptr, "\x08", TQUParameter::In }
    };
    static const TQUMethod slot_40 = {"setGeometry", 1, param_slot_40 };
    static const TQUMethod slot_41 = {"adjustSize", 0, 0 };
    static const TQUMethod slot_42 = {"focusProxyDestroyed", 0, 0 };
    static const TQUMethod slot_43 = {"destroyInputContext", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "setEnabled(bool)", &slot_0, TQMetaData::Public },
	{ "setDisabled(bool)", &slot_1, TQMetaData::Public },
	{ "setCaption(const TQString&)", &slot_2, TQMetaData::Public },
	{ "setIcon(const TQPixmap&)", &slot_3, TQMetaData::Public },
	{ "setIconText(const TQString&)", &slot_4, TQMetaData::Public },
	{ "setMouseTracking(bool)", &slot_5, TQMetaData::Public },
	{ "setFocus()", &slot_6, TQMetaData::Public },
	{ "clearFocus()", &slot_7, TQMetaData::Public },
	{ "setUpdatesEnabled(bool)", &slot_8, TQMetaData::Public },
	{ "update()", &slot_9, TQMetaData::Public },
	{ "update(int,int,int,int)", &slot_10, TQMetaData::Public },
	{ "update(const TQRect&)", &slot_11, TQMetaData::Public },
	{ "repaint()", &slot_12, TQMetaData::Public },
	{ "repaint(bool)", &slot_13, TQMetaData::Public },
	{ "repaint(int,int,int,int)", &slot_14, TQMetaData::Public },
	{ "repaint(int,int,int,int,bool)", &slot_15, TQMetaData::Public },
	{ "repaint(const TQRect&)", &slot_16, TQMetaData::Public },
	{ "repaint(const TQRect&,bool)", &slot_17, TQMetaData::Public },
	{ "repaint(const TQRegion&)", &slot_18, TQMetaData::Public },
	{ "repaint(const TQRegion&,bool)", &slot_19, TQMetaData::Public },
	{ "show()", &slot_20, TQMetaData::Public },
	{ "hide()", &slot_21, TQMetaData::Public },
	{ "setShown(bool)", &slot_22, TQMetaData::Public },
	{ "setHidden(bool)", &slot_23, TQMetaData::Public },
	{ "iconify()", &slot_24, TQMetaData::Public },
	{ "showMinimized()", &slot_25, TQMetaData::Public },
	{ "showMaximized()", &slot_26, TQMetaData::Public },
	{ "showFullScreen()", &slot_27, TQMetaData::Public },
	{ "showNormal()", &slot_28, TQMetaData::Public },
	{ "polish()", &slot_29, TQMetaData::Public },
	{ "constPolish()", &slot_30, TQMetaData::Public },
	{ "close()", &slot_31, TQMetaData::Public },
	{ "raise()", &slot_32, TQMetaData::Public },
	{ "lower()", &slot_33, TQMetaData::Public },
	{ "stackUnder(TQWidget*)", &slot_34, TQMetaData::Public },
	{ "move(int,int)", &slot_35, TQMetaData::Public },
	{ "move(const TQPoint&)", &slot_36, TQMetaData::Public },
	{ "resize(int,int)", &slot_37, TQMetaData::Public },
	{ "resize(const TQSize&)", &slot_38, TQMetaData::Public },
	{ "setGeometry(int,int,int,int)", &slot_39, TQMetaData::Public },
	{ "setGeometry(const TQRect&)", &slot_40, TQMetaData::Public },
	{ "adjustSize()", &slot_41, TQMetaData::Public },
	{ "focusProxyDestroyed()", &slot_42, TQMetaData::Private },
	{ "destroyInputContext()", &slot_43, TQMetaData::Private }
    };
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[65] = {
 	{ "bool","isTopLevel", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","isDialog", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","isModal", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","isPopup", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","isDesktop", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","enabled", 0x12000103, &TQWidget::metaObj, 0, -1 },
	{ "TQRect","geometry", 0x8000103, &TQWidget::metaObj, 0, -1 },
	{ "TQRect","frameGeometry", 0x8000001, &TQWidget::metaObj, 0, -1 },
	{ "int","x", 0x10000001, &TQWidget::metaObj, 0, -1 },
	{ "int","y", 0x10000001, &TQWidget::metaObj, 0, -1 },
	{ "TQPoint","pos", 0xe011003, &TQWidget::metaObj, 0, -1 },
	{ "TQSize","frameSize", 0x9000001, &TQWidget::metaObj, 0, -1 },
	{ "TQSize","size", 0x9011003, &TQWidget::metaObj, 0, -1 },
	{ "int","width", 0x10000001, &TQWidget::metaObj, 0, -1 },
	{ "int","height", 0x10000001, &TQWidget::metaObj, 0, -1 },
	{ "TQRect","rect", 0x8000001, &TQWidget::metaObj, 0, -1 },
	{ "TQRect","childrenRect", 0x8000001, &TQWidget::metaObj, 0, -1 },
	{ "TQRegion","childrenRegion", 0x16000001, &TQWidget::metaObj, 0, -1 },
	{ "TQSizePolicy","sizePolicy", 0x19000103, &TQWidget::metaObj, 0, -1 },
	{ "TQSize","minimumSize", 0x9000103, &TQWidget::metaObj, 0, -1 },
	{ "TQSize","maximumSize", 0x9000103, &TQWidget::metaObj, 0, -1 },
	{ "int","minimumWidth", 0x10011103, &TQWidget::metaObj, 0, -1 },
	{ "int","minimumHeight", 0x10011103, &TQWidget::metaObj, 0, -1 },
	{ "int","maximumWidth", 0x10011103, &TQWidget::metaObj, 0, -1 },
	{ "int","maximumHeight", 0x10011103, &TQWidget::metaObj, 0, -1 },
	{ "TQSize","sizeIncrement", 0x9000103, &TQWidget::metaObj, 0, -1 },
	{ "TQSize","baseSize", 0x9000103, &TQWidget::metaObj, 0, -1 },
	{ "BackgroundMode","backgroundMode", 0x1107, &TQWidget::metaObj, 0, -1 },
	{ "TQColor","paletteForegroundColor", 0xa000103, &TQWidget::metaObj, 0, -1 },
	{ "TQColor","paletteBackgroundColor", 0xa000103, &TQWidget::metaObj, 0, -1 },
	{ "TQPixmap","paletteBackgroundPixmap", 0x6000103, &TQWidget::metaObj, 0, -1 },
	{ "TQBrush","backgroundBrush", 0x7000001, &TQWidget::metaObj, 0, -1 },
	{ "TQColorGroup","colorGroup", 0xc000001, &TQWidget::metaObj, 0, -1 },
	{ "TQPalette","palette", 0xb000103, &TQWidget::metaObj, 0, -1 },
	{ "BackgroundOrigin","backgroundOrigin", 0x0107, &TQWidget::metaObj, &enum_tbl[1], -1 },
	{ "bool","ownPalette", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "TQFont","font", 0x5000103, &TQWidget::metaObj, 0, -1 },
	{ "bool","ownFont", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "TQCursor","cursor", 0x18000103, &TQWidget::metaObj, 0, -1 },
	{ "bool","ownCursor", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "TQString","caption", 0x3000103, &TQWidget::metaObj, 0, -1 },
	{ "TQPixmap","icon", 0x6000103, &TQWidget::metaObj, 0, -1 },
	{ "TQString","iconText", 0x3000103, &TQWidget::metaObj, 0, -1 },
	{ "bool","mouseTracking", 0x12000103, &TQWidget::metaObj, 0, -1 },
	{ "bool","underMouse", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","isActiveWindow", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","focusEnabled", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "FocusPolicy","focusPolicy", 0x0107, &TQWidget::metaObj, &enum_tbl[0], -1 },
	{ "bool","focus", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","updatesEnabled", 0x12001103, &TQWidget::metaObj, 0, -1 },
	{ "bool","visible", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "TQRect","visibleRect", 0x8000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","hidden", 0x12005103, &TQWidget::metaObj, 0, -1 },
	{ "bool","shown", 0x12005103, &TQWidget::metaObj, 0, -1 },
	{ "bool","minimized", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","maximized", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","fullScreen", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "TQSize","sizeHint", 0x9000001, &TQWidget::metaObj, 0, -1 },
	{ "TQSize","minimumSizeHint", 0x9000001, &TQWidget::metaObj, 0, -1 },
	{ "TQRect","microFocusHint", 0x8000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","acceptDrops", 0x12000103, &TQWidget::metaObj, 0, -1 },
	{ "bool","autoMask", 0x12005103, &TQWidget::metaObj, 0, -1 },
	{ "bool","customWhatsThis", 0x12000001, &TQWidget::metaObj, 0, -1 },
	{ "bool","inputMethodEnabled", 0x12005103, &TQWidget::metaObj, 0, -1 },
	{ "double","windowOpacity", 0x13001103, &TQWidget::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQWidget", parentObject,
	slot_tbl, 44,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 65,
	enum_tbl, 2,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQWidget.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* TQWidget::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "TQWidget" ) )
	return this;
    if ( !qstrcmp( clname, "TQPaintDevice" ) )
	return (TQPaintDevice*)this;
    return TQObject::tqt_cast( clname );
}

bool TQWidget::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: setEnabled((bool)static_QUType_bool.get(_o+1)); break;
    case 1: setDisabled((bool)static_QUType_bool.get(_o+1)); break;
    case 2: setCaption((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 3: setIcon((const TQPixmap&)*((const TQPixmap*)static_QUType_ptr.get(_o+1))); break;
    case 4: setIconText((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 5: setMouseTracking((bool)static_QUType_bool.get(_o+1)); break;
    case 6: setFocus(); break;
    case 7: clearFocus(); break;
    case 8: setUpdatesEnabled((bool)static_QUType_bool.get(_o+1)); break;
    case 9: update(); break;
    case 10: update((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4)); break;
    case 11: update((const TQRect&)*((const TQRect*)static_QUType_ptr.get(_o+1))); break;
    case 12: repaint(); break;
    case 13: repaint((bool)static_QUType_bool.get(_o+1)); break;
    case 14: repaint((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4)); break;
    case 15: repaint((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4),(bool)static_QUType_bool.get(_o+5)); break;
    case 16: repaint((const TQRect&)*((const TQRect*)static_QUType_ptr.get(_o+1))); break;
    case 17: repaint((const TQRect&)*((const TQRect*)static_QUType_ptr.get(_o+1)),(bool)static_QUType_bool.get(_o+2)); break;
    case 18: repaint((const TQRegion&)*((const TQRegion*)static_QUType_ptr.get(_o+1))); break;
    case 19: repaint((const TQRegion&)*((const TQRegion*)static_QUType_ptr.get(_o+1)),(bool)static_QUType_bool.get(_o+2)); break;
    case 20: show(); break;
    case 21: hide(); break;
    case 22: setShown((bool)static_QUType_bool.get(_o+1)); break;
    case 23: setHidden((bool)static_QUType_bool.get(_o+1)); break;
    case 24: iconify(); break;
    case 25: showMinimized(); break;
    case 26: showMaximized(); break;
    case 27: showFullScreen(); break;
    case 28: showNormal(); break;
    case 29: polish(); break;
    case 30: constPolish(); break;
    case 31: static_QUType_bool.set(_o,close()); break;
    case 32: raise(); break;
    case 33: lower(); break;
    case 34: stackUnder((TQWidget*)static_QUType_ptr.get(_o+1)); break;
    case 35: move((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 36: move((const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+1))); break;
    case 37: resize((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 38: resize((const TQSize&)*((const TQSize*)static_QUType_ptr.get(_o+1))); break;
    case 39: setGeometry((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4)); break;
    case 40: setGeometry((const TQRect&)*((const TQRect*)static_QUType_ptr.get(_o+1))); break;
    case 41: adjustSize(); break;
    case 42: focusProxyDestroyed(); break;
    case 43: destroyInputContext(); break;
    default:
	return TQObject::tqt_invoke( _id, _o );
    }
    return true;
}

bool TQWidget::tqt_emit( int _id, TQUObject* _o )
{
    return TQObject::tqt_emit(_id,_o);
}
#ifndef TQT_NO_PROPERTIES

bool TQWidget::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 1: *v = TQVariant( this->isTopLevel() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 1: switch( f ) {
	case 1: *v = TQVariant( this->isDialog() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 2: switch( f ) {
	case 1: *v = TQVariant( this->isModal() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 3: switch( f ) {
	case 1: *v = TQVariant( this->isPopup() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 4: switch( f ) {
	case 1: *v = TQVariant( this->isDesktop() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 5: switch( f ) {
	case 0: setEnabled(v->asBool()); break;
	case 1: *v = TQVariant( this->isEnabled() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 6: switch( f ) {
	case 0: setGeometry(v->asRect()); break;
	case 1: *v = TQVariant( this->geometry() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 7: switch( f ) {
	case 1: *v = TQVariant( this->frameGeometry() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 8: switch( f ) {
	case 1: *v = TQVariant( this->x() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 9: switch( f ) {
	case 1: *v = TQVariant( this->y() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 10: switch( f ) {
	case 0: move(v->asPoint()); break;
	case 1: *v = TQVariant( this->pos() ); break;
	case 4: break;
	default: return false;
    } break;
    case 11: switch( f ) {
	case 1: *v = TQVariant( this->frameSize() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 12: switch( f ) {
	case 0: resize(v->asSize()); break;
	case 1: *v = TQVariant( this->size() ); break;
	case 4: break;
	default: return false;
    } break;
    case 13: switch( f ) {
	case 1: *v = TQVariant( this->width() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 14: switch( f ) {
	case 1: *v = TQVariant( this->height() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 15: switch( f ) {
	case 1: *v = TQVariant( this->rect() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 16: switch( f ) {
	case 1: *v = TQVariant( this->childrenRect() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 17: switch( f ) {
	case 1: *v = TQVariant( this->childrenRegion() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 18: switch( f ) {
	case 0: setSizePolicy(v->asSizePolicy()); break;
	case 1: *v = TQVariant( this->sizePolicy() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 19: switch( f ) {
	case 0: setMinimumSize(v->asSize()); break;
	case 1: *v = TQVariant( this->minimumSize() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 20: switch( f ) {
	case 0: setMaximumSize(v->asSize()); break;
	case 1: *v = TQVariant( this->maximumSize() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 21: switch( f ) {
	case 0: setMinimumWidth(v->asInt()); break;
	case 1: *v = TQVariant( this->minimumWidth() ); break;
	case 4: break;
	default: return false;
    } break;
    case 22: switch( f ) {
	case 0: setMinimumHeight(v->asInt()); break;
	case 1: *v = TQVariant( this->minimumHeight() ); break;
	case 4: break;
	default: return false;
    } break;
    case 23: switch( f ) {
	case 0: setMaximumWidth(v->asInt()); break;
	case 1: *v = TQVariant( this->maximumWidth() ); break;
	case 4: break;
	default: return false;
    } break;
    case 24: switch( f ) {
	case 0: setMaximumHeight(v->asInt()); break;
	case 1: *v = TQVariant( this->maximumHeight() ); break;
	case 4: break;
	default: return false;
    } break;
    case 25: switch( f ) {
	case 0: setSizeIncrement(v->asSize()); break;
	case 1: *v = TQVariant( this->sizeIncrement() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 26: switch( f ) {
	case 0: setBaseSize(v->asSize()); break;
	case 1: *v = TQVariant( this->baseSize() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 27: switch( f ) {
	case 0: setBackgroundMode((BackgroundMode&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->backgroundMode() ); break;
	case 4: case 5: break;
	default: return false;
    } break;
    case 28: switch( f ) {
	case 0: setPaletteForegroundColor(v->asColor()); break;
	case 1: *v = TQVariant( this->paletteForegroundColor() ); break;
	case 2: this->unsetPalette(); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 29: switch( f ) {
	case 0: setPaletteBackgroundColor(v->asColor()); break;
	case 1: *v = TQVariant( this->paletteBackgroundColor() ); break;
	case 2: this->unsetPalette(); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 30: switch( f ) {
	case 0: setPaletteBackgroundPixmap(v->asPixmap()); break;
	case 1: if ( this->paletteBackgroundPixmap() ) *v = TQVariant( *paletteBackgroundPixmap() ); break;
	case 2: this->unsetPalette(); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 31: switch( f ) {
	case 1: *v = TQVariant( this->backgroundBrush() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 32: switch( f ) {
	case 1: *v = TQVariant( this->colorGroup() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 33: switch( f ) {
	case 0: setPalette(v->asPalette()); break;
	case 1: *v = TQVariant( this->palette() ); break;
	case 2: this->unsetPalette(); break;
	case 5: return this->ownPalette();
	case 3: case 4: break;
	default: return false;
    } break;
    case 34: switch( f ) {
	case 0: setBackgroundOrigin((BackgroundOrigin&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->backgroundOrigin() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 35: switch( f ) {
	case 1: *v = TQVariant( this->ownPalette() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 36: switch( f ) {
	case 0: setFont(v->asFont()); break;
	case 1: *v = TQVariant( this->font() ); break;
	case 2: this->unsetFont(); break;
	case 5: return this->ownFont();
	case 3: case 4: break;
	default: return false;
    } break;
    case 37: switch( f ) {
	case 1: *v = TQVariant( this->ownFont() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 38: switch( f ) {
	case 0: setCursor(v->asCursor()); break;
	case 1: *v = TQVariant( this->cursor() ); break;
	case 2: this->unsetCursor(); break;
	case 5: return this->ownCursor();
	case 3: case 4: break;
	default: return false;
    } break;
    case 39: switch( f ) {
	case 1: *v = TQVariant( this->ownCursor() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 40: switch( f ) {
	case 0: setCaption(v->asString()); break;
	case 1: *v = TQVariant( this->caption() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 41: switch( f ) {
	case 0: setIcon(v->asPixmap()); break;
	case 1: if ( this->icon() ) *v = TQVariant( *icon() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 42: switch( f ) {
	case 0: setIconText(v->asString()); break;
	case 1: *v = TQVariant( this->iconText() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 43: switch( f ) {
	case 0: setMouseTracking(v->asBool()); break;
	case 1: *v = TQVariant( this->hasMouseTracking() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 44: switch( f ) {
	case 1: *v = TQVariant( this->hasMouse() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 45: switch( f ) {
	case 1: *v = TQVariant( this->isActiveWindow() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 46: switch( f ) {
	case 1: *v = TQVariant( this->isFocusEnabled() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 47: switch( f ) {
	case 0: setFocusPolicy((FocusPolicy&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->focusPolicy() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 48: switch( f ) {
	case 1: *v = TQVariant( this->hasFocus() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 49: switch( f ) {
	case 0: setUpdatesEnabled(v->asBool()); break;
	case 1: *v = TQVariant( this->isUpdatesEnabled() ); break;
	case 4: case 5: break;
	default: return false;
    } break;
    case 50: switch( f ) {
	case 1: *v = TQVariant( this->isVisible() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 51: switch( f ) {
	case 1: *v = TQVariant( this->visibleRect() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 52: switch( f ) {
	case 0: setHidden(v->asBool()); break;
	case 1: *v = TQVariant( this->isHidden() ); break;
	case 5: break;
	default: return false;
    } break;
    case 53: switch( f ) {
	case 0: setShown(v->asBool()); break;
	case 1: *v = TQVariant( this->isShown() ); break;
	case 5: break;
	default: return false;
    } break;
    case 54: switch( f ) {
	case 1: *v = TQVariant( this->isMinimized() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 55: switch( f ) {
	case 1: *v = TQVariant( this->isMaximized() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 56: switch( f ) {
	case 1: *v = TQVariant( this->isFullScreen() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 57: switch( f ) {
	case 1: *v = TQVariant( this->sizeHint() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 58: switch( f ) {
	case 1: *v = TQVariant( this->minimumSizeHint() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 59: switch( f ) {
	case 1: *v = TQVariant( this->microFocusHint() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 60: switch( f ) {
	case 0: setAcceptDrops(v->asBool()); break;
	case 1: *v = TQVariant( this->acceptDrops() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 61: switch( f ) {
	case 0: setAutoMask(v->asBool()); break;
	case 1: *v = TQVariant( this->autoMask() ); break;
	case 5: break;
	default: return false;
    } break;
    case 62: switch( f ) {
	case 1: *v = TQVariant( this->customWhatsThis() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 63: switch( f ) {
	case 0: setInputMethodEnabled(v->asBool()); break;
	case 1: *v = TQVariant( this->isInputMethodEnabled() ); break;
	case 5: break;
	default: return false;
    } break;
    case 64: switch( f ) {
	case 0: setWindowOpacity(v->asDouble()); break;
	case 1: *v = TQVariant( this->windowOpacity() ); break;
	case 4: case 5: break;
	default: return false;
    } break;
    default:
	return TQObject::tqt_property( id, f, v );
    }
    return true;
}

bool TQWidget::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES
