/****************************************************************************
** TQDesignerTabWidget meta object code from reading C++ file 'widgetfactory.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 "../../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 *TQDesignerTabWidget::className() const
{
    return "TQDesignerTabWidget";
}

TQMetaObject *TQDesignerTabWidget::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQDesignerTabWidget( "TQDesignerTabWidget", &TQDesignerTabWidget::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQDesignerTabWidget::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, &TQDesignerTabWidget::metaObj, 0, -1 },
	{ "TQString","pageTitle", 0x3010103, &TQDesignerTabWidget::metaObj, 0, -1 },
	{ "TQCString","pageName", 0x14010103, &TQDesignerTabWidget::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQDesignerTabWidget", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 3,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQDesignerTabWidget.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

bool TQDesignerTabWidget::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 TQDesignerTabWidget::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES


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

TQMetaObject *TQDesignerWidgetStack::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQDesignerWidgetStack( "TQDesignerWidgetStack", &TQDesignerWidgetStack::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQDesignerWidgetStack::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, &TQDesignerWidgetStack::metaObj, 0, -1 },
	{ "TQCString","pageName", 0x14010103, &TQDesignerWidgetStack::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQDesignerWidgetStack", parentObject,
	slot_tbl, 3,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 2,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQDesignerWidgetStack.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool TQDesignerWidgetStack::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 TQDesignerWidgetStack::tqt_emit( int _id, TQUObject* _o )
{
    return TQWidgetStack::tqt_emit(_id,_o);
}
#ifndef TQT_NO_PROPERTIES

bool TQDesignerWidgetStack::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 TQDesignerWidgetStack::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES


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

TQMetaObject *TQDesignerWizard::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQDesignerWizard( "TQDesignerWizard", &TQDesignerWizard::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQDesignerWizard::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, &TQDesignerWizard::metaObj, 0, -1 },
	{ "TQString","pageTitle", 0x3010103, &TQDesignerWizard::metaObj, 0, -1 },
	{ "TQCString","pageName", 0x14010103, &TQDesignerWizard::metaObj, 0, -1 },
	{ "bool","modal", 0x1202a303, &TQDesignerWizard::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQDesignerWizard", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 4,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQDesignerWizard.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

bool TQDesignerWizard::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 TQDesignerWizard::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 *TQDesignerLabel::className() const
{
    return "TQDesignerLabel";
}

TQMetaObject *TQDesignerLabel::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQDesignerLabel( "TQDesignerLabel", &TQDesignerLabel::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQDesignerLabel::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, &TQDesignerLabel::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQDesignerLabel", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQDesignerLabel.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

bool TQDesignerLabel::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 TQDesignerLabel::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES


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

TQMetaObject *TQDesignerWidget::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQDesignerWidget( "TQDesignerWidget", &TQDesignerWidget::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

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

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

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

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

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

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


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

TQMetaObject *TQDesignerDialog::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQDesignerDialog( "TQDesignerDialog", &TQDesignerDialog::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQDesignerDialog::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, &TQDesignerDialog::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQDesignerDialog", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQDesignerDialog.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

bool TQDesignerDialog::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 TQDesignerDialog::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES


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

TQMetaObject *TQDesignerToolButton::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQDesignerToolButton( "TQDesignerToolButton", &TQDesignerToolButton::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQDesignerToolButton::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, &TQDesignerToolButton::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQDesignerToolButton", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQDesignerToolButton.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

bool TQDesignerToolButton::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 TQDesignerToolButton::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES


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

TQMetaObject *TQDesignerRadioButton::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQDesignerRadioButton( "TQDesignerRadioButton", &TQDesignerRadioButton::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQDesignerRadioButton::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, &TQDesignerRadioButton::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQDesignerRadioButton", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQDesignerRadioButton.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

bool TQDesignerRadioButton::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 TQDesignerRadioButton::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES


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

TQMetaObject *TQDesignerPushButton::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQDesignerPushButton( "TQDesignerPushButton", &TQDesignerPushButton::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQDesignerPushButton::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, &TQDesignerPushButton::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQDesignerPushButton", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQDesignerPushButton.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

bool TQDesignerPushButton::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 TQDesignerPushButton::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES


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

TQMetaObject *TQDesignerCheckBox::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQDesignerCheckBox( "TQDesignerCheckBox", &TQDesignerCheckBox::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQDesignerCheckBox::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, &TQDesignerCheckBox::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQDesignerCheckBox", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 1,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQDesignerCheckBox.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

bool TQDesignerCheckBox::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 TQDesignerCheckBox::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES


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

TQMetaObject *TQDesignerToolBox::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQDesignerToolBox( "TQDesignerToolBox", &TQDesignerToolBox::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQDesignerToolBox::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, &TQDesignerToolBox::metaObj, 0, -1 },
	{ "TQCString","itemName", 0x14010103, &TQDesignerToolBox::metaObj, 0, -1 },
	{ "BackgroundMode","itemBackgroundMode", 0x1010f, &TQDesignerToolBox::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"TQDesignerToolBox", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 3,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQDesignerToolBox.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

bool TQDesignerToolBox::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 TQDesignerToolBox::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES
