/****************************************************************************
** Layout 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/layout.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

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

TQMetaObject *Layout::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_Layout( "Layout", &Layout::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* Layout::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();
    static const TQUMethod slot_0 = {"widgetDestroyed", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "widgetDestroyed()", &slot_0, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"Layout", parentObject,
	slot_tbl, 1,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_Layout.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool Layout::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: widgetDestroyed(); break;
    default:
	return TQObject::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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


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

TQMetaObject *Spacer::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_Spacer( "Spacer", &Spacer::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* Spacer::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();
#ifndef TQT_NO_PROPERTIES
    static const TQMetaEnum::Item enum_0[] = {
	{ "Fixed",  (int) Spacer::Fixed },
	{ "Minimum",  (int) Spacer::Minimum },
	{ "Maximum",  (int) Spacer::Maximum },
	{ "Preferred",  (int) Spacer::Preferred },
	{ "MinimumExpanding",  (int) Spacer::MinimumExpanding },
	{ "Expanding",  (int) Spacer::Expanding }
    };
    static const TQMetaEnum enum_tbl[] = {
	{ "SizeType", 6, enum_0, false }
    };
#endif // TQT_NO_PROPERTIES
#ifndef TQT_NO_PROPERTIES
    static const TQMetaProperty props_tbl[5] = {
 	{ "TQCString","name", 0x1402a200, &Spacer::metaObj, 0, -1 },
	{ "Orientation","orientation", 0x010f, &Spacer::metaObj, 0, -1 },
	{ "SizeType","sizeType", 0x0107, &Spacer::metaObj, &enum_tbl[0], -1 },
	{ "TQSize","sizeHint", 0x9000103, &Spacer::metaObj, 0, -1 },
	{ "TQRect","geometry", 0x8029200, &Spacer::metaObj, 0, -1 }
    };
#endif // TQT_NO_PROPERTIES
    metaObj = TQMetaObject::new_metaobject(
	"Spacer", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	props_tbl, 5,
	enum_tbl, 1,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_Spacer.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

bool Spacer::tqt_property( int id, int f, TQVariant* v)
{
    switch ( id - staticMetaObject()->propertyOffset() ) {
    case 0: switch( f ) {
	case 0: case 1: case 3: case 4: case 5: goto resolve;
	default: return false;
    } break;
    case 1: 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 2: switch( f ) {
	case 0: setSizeType((SizeType&)v->asInt()); break;
	case 1: *v = TQVariant( (int)this->sizeType() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 3: switch( f ) {
	case 0: setSizeHint(v->asSize()); break;
	case 1: *v = TQVariant( this->sizeHint() ); break;
	case 3: case 4: case 5: break;
	default: return false;
    } break;
    case 4: switch( f ) {
	case 0: case 1: case 4: case 5: goto resolve;
	default: return false;
    } break;
    default:
	return TQWidget::tqt_property( id, f, v );
    }
    return true;
resolve:
    return TQWidget::tqt_property( staticMetaObject()->resolveProperty(id), f, v );
}

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


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

TQMetaObject *QDesignerGridLayout::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_QDesignerGridLayout( "QDesignerGridLayout", &QDesignerGridLayout::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

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

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

bool QDesignerGridLayout::tqt_invoke( int _id, TQUObject* _o )
{
    return TQGridLayout::tqt_invoke(_id,_o);
}

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

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

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