/****************************************************************************
** QDesignerTabWidget meta object code from reading C++ file 'standard input'
**
** 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 "/tmp/buildd/tde-packaging/arch/tde-devel/tde-tdevelop/src/tdevelop-trinity-14.1.6/kdevdesigner/designer/widgetfactory.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 *QDesignerTabWidget::className() const
{
    return "QDesignerTabWidget";
}

TQMetaObject *QDesignerTabWidget::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_QDesignerTabWidget( "QDesignerTabWidget", &QDesignerTabWidget::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* QDesignerTabWidget::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 = TQTabWidget::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[3] = {
 	{ "int","currentPage", 0x10010103, &QDesignerTabWidget::metaObj, 0, -1 },
	{ "TQString","pageTitle", 0x3010103, &QDesignerTabWidget::metaObj, 0, -1 },
	{ "TQCString","pageName", 0x14010103, &QDesignerTabWidget::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"QDesignerTabWidget", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 3,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_QDesignerTabWidget.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* QDesignerTabWidget::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "QDesignerTabWidget" ) )
	return this;
    return TQTabWidget::tqt_cast( clname );
}

bool QDesignerTabWidget::tqt_invoke( int _id, TQUObject* _o )
{
    return TQTabWidget::tqt_invoke(_id,_o);
}

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

bool QDesignerTabWidget::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setCurrentPage(v->asInt()); break;
	case 1: *v = TQVariant( this->currentPage() ); break;
	case 3: case 4: break;
	default: return false;
    } break;
    case 1: switch( f ) {
	case 0: setPageTitle(v->asString()); break;
	case 1: *v = TQVariant( this->pageTitle() ); break;
	case 3: case 4: break;
	default: return false;
    } break;
    case 2: switch( f ) {
	case 0: setPageName(v->asCString()); break;
	case 1: *v = TQVariant( this->pageName() ); break;
	case 3: case 4: break;
	default: return false;
    } break;
    default:
	return TQTabWidget::tqt_property( id, f, v );
    }
    return true;
}

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


const char *QDesignerWidgetStack::className() const
{
    return "QDesignerWidgetStack";
}

TQMetaObject *QDesignerWidgetStack::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_QDesignerWidgetStack( "QDesignerWidgetStack", &QDesignerWidgetStack::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* QDesignerWidgetStack::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 = TQWidgetStack::staticMetaObject();
    static const TQUMethod slot_0 = {"updateButtons", 0, 0 };
    static const TQUMethod slot_1 = {"prevPage", 0, 0 };
    static const TQUMethod slot_2 = {"nextPage", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "updateButtons()", &slot_0, TQMetaData::Public },
	{ "prevPage()", &slot_1, TQMetaData::Private },
	{ "nextPage()", &slot_2, TQMetaData::Private }
    };
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[2] = {
 	{ "int","currentPage", 0x10010103, &QDesignerWidgetStack::metaObj, 0, -1 },
	{ "TQCString","pageName", 0x14010103, &QDesignerWidgetStack::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"QDesignerWidgetStack", parentObject,
	slot_tbl, 3,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 2,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_QDesignerWidgetStack.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* QDesignerWidgetStack::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "QDesignerWidgetStack" ) )
	return this;
    return TQWidgetStack::tqt_cast( clname );
}

bool QDesignerWidgetStack::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: updateButtons(); break;
    case 1: prevPage(); break;
    case 2: nextPage(); break;
    default:
	return TQWidgetStack::tqt_invoke( _id, _o );
    }
    return true;
}

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

bool QDesignerWidgetStack::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setCurrentPage(v->asInt()); break;
	case 1: *v = TQVariant( this->currentPage() ); break;
	case 3: case 4: break;
	default: return false;
    } break;
    case 1: switch( f ) {
	case 0: setPageName(v->asCString()); break;
	case 1: *v = TQVariant( this->pageName() ); break;
	case 3: case 4: break;
	default: return false;
    } break;
    default:
	return TQWidgetStack::tqt_property( id, f, v );
    }
    return true;
}

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


const char *QDesignerWizard::className() const
{
    return "QDesignerWizard";
}

TQMetaObject *QDesignerWizard::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_QDesignerWizard( "QDesignerWizard", &QDesignerWizard::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* QDesignerWizard::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 = TQWizard::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[4] = {
 	{ "int","currentPage", 0x10010103, &QDesignerWizard::metaObj, 0, -1 },
	{ "TQString","pageTitle", 0x3010103, &QDesignerWizard::metaObj, 0, -1 },
	{ "TQCString","pageName", 0x14010103, &QDesignerWizard::metaObj, 0, -1 },
	{ "bool","modal", 0x1202a303, &QDesignerWizard::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"QDesignerWizard", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 4,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_QDesignerWizard.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* QDesignerWizard::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "QDesignerWizard" ) )
	return this;
    return TQWizard::tqt_cast( clname );
}

bool QDesignerWizard::tqt_invoke( int _id, TQUObject* _o )
{
    return TQWizard::tqt_invoke(_id,_o);
}

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

bool QDesignerWizard::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setCurrentPage(v->asInt()); break;
	case 1: *v = TQVariant( this->currentPageNum() ); break;
	case 3: case 4: break;
	default: return false;
    } break;
    case 1: switch( f ) {
	case 0: setPageTitle(v->asString()); break;
	case 1: *v = TQVariant( this->pageTitle() ); break;
	case 3: case 4: break;
	default: return false;
    } break;
    case 2: switch( f ) {
	case 0: setPageName(v->asCString()); break;
	case 1: *v = TQVariant( this->pageName() ); break;
	case 3: case 4: break;
	default: return false;
    } break;
    case 3: switch( f ) {
	case 0: setModal(v->asBool()); break;
	case 1: *v = TQVariant( this->isModal() ); break;
	case 3: case 4: case 5: goto resolve;
	default: return false;
    } break;
    default:
	return TQWizard::tqt_property( id, f, v );
    }
    return true;
resolve:
    return TQWizard::tqt_property( staticMetaObject()->resolveProperty(id), f, v );
}

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


const char *TQLayoutWidget::className() const
{
    return "TQLayoutWidget";
}

TQMetaObject *TQLayoutWidget::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQLayoutWidget( "TQLayoutWidget", &TQLayoutWidget::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQLayoutWidget::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 = TQWidget::staticMetaObject();
    metaObj = TQMetaObject::new_metaobject(
	"TQLayoutWidget", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQLayoutWidget.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool TQLayoutWidget::tqt_invoke( int _id, TQUObject* _o )
{
    return TQWidget::tqt_invoke(_id,_o);
}

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

bool TQLayoutWidget::tqt_property( int id, int f, TQVariant* v)
{
    return TQWidget::tqt_property( id, f, v);
}

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


const char *CustomWidget::className() const
{
    return "CustomWidget";
}

TQMetaObject *CustomWidget::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_CustomWidget( "CustomWidget", &CustomWidget::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* CustomWidget::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 = TQWidget::staticMetaObject();
    metaObj = TQMetaObject::new_metaobject(
	"CustomWidget", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_CustomWidget.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool CustomWidget::tqt_invoke( int _id, TQUObject* _o )
{
    return TQWidget::tqt_invoke(_id,_o);
}

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

bool CustomWidget::tqt_property( int id, int f, TQVariant* v)
{
    return TQWidget::tqt_property( id, f, v);
}

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


const char *Line::className() const
{
    return "Line";
}

TQMetaObject *Line::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_Line( "Line", &Line::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* Line::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 = TQFrame::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[5] = {
 	{ "Orientation","orientation", 0x010f, &Line::metaObj, 0, -1 },
	{ "int","frameWidth", 0x10029200, &Line::metaObj, 0, -1 },
	{ "Shape","frameShape", 0x2920c, &Line::metaObj, 0, -1 },
	{ "TQRect","frameRect", 0x8029200, &Line::metaObj, 0, -1 },
	{ "TQRect","contentsRect", 0x8029200, &Line::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"Line", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 5,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_Line.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* Line::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "Line" ) )
	return this;
    return TQFrame::tqt_cast( clname );
}

bool Line::tqt_invoke( int _id, TQUObject* _o )
{
    return TQFrame::tqt_invoke(_id,_o);
}

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

bool Line::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setOrientation((Orientation&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->orientation() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 1: switch( f ) {
	case 0: case 1: case 4: case 5: goto resolve;
	default: return false;
    } break;
    case 2: switch( f ) {
	case 0: case 1: case 4: case 5: goto resolve;
	default: return false;
    } break;
    case 3: switch( f ) {
	case 0: case 1: case 4: case 5: goto resolve;
	default: return false;
    } break;
    case 4: switch( f ) {
	case 0: case 1: case 4: case 5: goto resolve;
	default: return false;
    } break;
    default:
	return TQFrame::tqt_property( id, f, v );
    }
    return true;
resolve:
    return TQFrame::tqt_property( staticMetaObject()->resolveProperty(id), f, v );
}

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


const char *QDesignerLabel::className() const
{
    return "QDesignerLabel";
}

TQMetaObject *QDesignerLabel::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_QDesignerLabel( "QDesignerLabel", &QDesignerLabel::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* QDesignerLabel::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 = TQLabel::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[1] = {
 	{ "TQCString","buddy", 0x14000003, &QDesignerLabel::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"QDesignerLabel", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_QDesignerLabel.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* QDesignerLabel::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "QDesignerLabel" ) )
	return this;
    return TQLabel::tqt_cast( clname );
}

bool QDesignerLabel::tqt_invoke( int _id, TQUObject* _o )
{
    return TQLabel::tqt_invoke(_id,_o);
}

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

bool QDesignerLabel::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setBuddyWidget(v->asCString()); break;
	case 1: *v = TQVariant( this->buddyWidget() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    default:
	return TQLabel::tqt_property( id, f, v );
    }
    return true;
}

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


const char *QDesignerWidget::className() const
{
    return "QDesignerWidget";
}

TQMetaObject *QDesignerWidget::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_QDesignerWidget( "QDesignerWidget", &QDesignerWidget::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* QDesignerWidget::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 = TQWidget::staticMetaObject();
    metaObj = TQMetaObject::new_metaobject(
	"QDesignerWidget", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_QDesignerWidget.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool QDesignerWidget::tqt_invoke( int _id, TQUObject* _o )
{
    return TQWidget::tqt_invoke(_id,_o);
}

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

bool QDesignerWidget::tqt_property( int id, int f, TQVariant* v)
{
    return TQWidget::tqt_property( id, f, v);
}

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


const char *QDesignerDialog::className() const
{
    return "QDesignerDialog";
}

TQMetaObject *QDesignerDialog::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_QDesignerDialog( "QDesignerDialog", &QDesignerDialog::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* QDesignerDialog::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 = TQDialog::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[1] = {
 	{ "bool","modal", 0x1202a303, &QDesignerDialog::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"QDesignerDialog", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_QDesignerDialog.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* QDesignerDialog::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "QDesignerDialog" ) )
	return this;
    return TQDialog::tqt_cast( clname );
}

bool QDesignerDialog::tqt_invoke( int _id, TQUObject* _o )
{
    return TQDialog::tqt_invoke(_id,_o);
}

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

bool QDesignerDialog::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setModal(v->asBool()); break;
	case 1: *v = TQVariant( this->isModal() ); break;
	case 3: case 4: case 5: goto resolve;
	default: return false;
    } break;
    default:
	return TQDialog::tqt_property( id, f, v );
    }
    return true;
resolve:
    return TQDialog::tqt_property( staticMetaObject()->resolveProperty(id), f, v );
}

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


const char *QDesignerToolButton::className() const
{
    return "QDesignerToolButton";
}

TQMetaObject *QDesignerToolButton::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_QDesignerToolButton( "QDesignerToolButton", &QDesignerToolButton::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* QDesignerToolButton::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 = TQToolButton::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[1] = {
 	{ "int","buttonGroupId", 0x10000103, &QDesignerToolButton::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"QDesignerToolButton", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_QDesignerToolButton.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* QDesignerToolButton::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "QDesignerToolButton" ) )
	return this;
    return TQToolButton::tqt_cast( clname );
}

bool QDesignerToolButton::tqt_invoke( int _id, TQUObject* _o )
{
    return TQToolButton::tqt_invoke(_id,_o);
}

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

bool QDesignerToolButton::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setButtonGroupId(v->asInt()); break;
	case 1: *v = TQVariant( this->buttonGroupId() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    default:
	return TQToolButton::tqt_property( id, f, v );
    }
    return true;
}

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


const char *QDesignerRadioButton::className() const
{
    return "QDesignerRadioButton";
}

TQMetaObject *QDesignerRadioButton::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_QDesignerRadioButton( "QDesignerRadioButton", &QDesignerRadioButton::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* QDesignerRadioButton::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 = TQRadioButton::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[1] = {
 	{ "int","buttonGroupId", 0x10000103, &QDesignerRadioButton::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"QDesignerRadioButton", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_QDesignerRadioButton.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* QDesignerRadioButton::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "QDesignerRadioButton" ) )
	return this;
    return TQRadioButton::tqt_cast( clname );
}

bool QDesignerRadioButton::tqt_invoke( int _id, TQUObject* _o )
{
    return TQRadioButton::tqt_invoke(_id,_o);
}

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

bool QDesignerRadioButton::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setButtonGroupId(v->asInt()); break;
	case 1: *v = TQVariant( this->buttonGroupId() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    default:
	return TQRadioButton::tqt_property( id, f, v );
    }
    return true;
}

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


const char *QDesignerPushButton::className() const
{
    return "QDesignerPushButton";
}

TQMetaObject *QDesignerPushButton::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_QDesignerPushButton( "QDesignerPushButton", &QDesignerPushButton::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* QDesignerPushButton::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 = TQPushButton::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[1] = {
 	{ "int","buttonGroupId", 0x10000103, &QDesignerPushButton::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"QDesignerPushButton", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_QDesignerPushButton.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* QDesignerPushButton::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "QDesignerPushButton" ) )
	return this;
    return TQPushButton::tqt_cast( clname );
}

bool QDesignerPushButton::tqt_invoke( int _id, TQUObject* _o )
{
    return TQPushButton::tqt_invoke(_id,_o);
}

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

bool QDesignerPushButton::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setButtonGroupId(v->asInt()); break;
	case 1: *v = TQVariant( this->buttonGroupId() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    default:
	return TQPushButton::tqt_property( id, f, v );
    }
    return true;
}

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


const char *QDesignerCheckBox::className() const
{
    return "QDesignerCheckBox";
}

TQMetaObject *QDesignerCheckBox::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_QDesignerCheckBox( "QDesignerCheckBox", &QDesignerCheckBox::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* QDesignerCheckBox::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 = TQCheckBox::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[1] = {
 	{ "int","buttonGroupId", 0x10000103, &QDesignerCheckBox::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"QDesignerCheckBox", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_QDesignerCheckBox.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* QDesignerCheckBox::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "QDesignerCheckBox" ) )
	return this;
    return TQCheckBox::tqt_cast( clname );
}

bool QDesignerCheckBox::tqt_invoke( int _id, TQUObject* _o )
{
    return TQCheckBox::tqt_invoke(_id,_o);
}

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

bool QDesignerCheckBox::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setButtonGroupId(v->asInt()); break;
	case 1: *v = TQVariant( this->buttonGroupId() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    default:
	return TQCheckBox::tqt_property( id, f, v );
    }
    return true;
}

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


const char *QDesignerToolBox::className() const
{
    return "QDesignerToolBox";
}

TQMetaObject *QDesignerToolBox::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_QDesignerToolBox( "QDesignerToolBox", &QDesignerToolBox::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* QDesignerToolBox::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 = TQToolBox::staticMetaObject();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[3] = {
 	{ "TQString","itemLabel", 0x3010103, &QDesignerToolBox::metaObj, 0, -1 },
	{ "TQCString","itemName", 0x14010103, &QDesignerToolBox::metaObj, 0, -1 },
	{ "BackgroundMode","itemBackgroundMode", 0x1010f, &QDesignerToolBox::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"QDesignerToolBox", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 3,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_QDesignerToolBox.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* QDesignerToolBox::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "QDesignerToolBox" ) )
	return this;
    return TQToolBox::tqt_cast( clname );
}

bool QDesignerToolBox::tqt_invoke( int _id, TQUObject* _o )
{
    return TQToolBox::tqt_invoke(_id,_o);
}

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

bool QDesignerToolBox::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: setItemLabel(v->asString()); break;
	case 1: *v = TQVariant( this->itemLabel() ); break;
	case 3: case 4: break;
	default: return false;
    } break;
    case 1: switch( f ) {
	case 0: setItemName(v->asCString()); break;
	case 1: *v = TQVariant( this->itemName() ); break;
	case 3: case 4: break;
	default: return false;
    } break;
    case 2: switch( f ) {
	case 0: setItemBackgroundMode((BackgroundMode&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->itemBackgroundMode() ); break;
	case 3: case 4: break;
	default: return false;
    } break;
    default:
	return TQToolBox::tqt_property( id, f, v );
    }
    return true;
}

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