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

TQMetaObject *SqlFormWizard::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_SqlFormWizard( "SqlFormWizard", &SqlFormWizard::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* SqlFormWizard::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 = SqlFormWizardBase::staticMetaObject();
    static const TQUParameter param_slot_0[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_0 = {"connectionSelected", 1, param_slot_0 };
    static const TQUParameter param_slot_1[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_1 = {"tableSelected", 1, param_slot_1 };
    static const TQUParameter param_slot_2[] = {
	{ "populate", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_2 = {"autoPopulate", 1, param_slot_2 };
    static const TQUMethod slot_3 = {"fieldDown", 0, 0 };
    static const TQUMethod slot_4 = {"fieldUp", 0, 0 };
    static const TQUMethod slot_5 = {"removeField", 0, 0 };
    static const TQUMethod slot_6 = {"addField", 0, 0 };
    static const TQUMethod slot_7 = {"setupDatabaseConnections", 0, 0 };
    static const TQUMethod slot_8 = {"accept", 0, 0 };
    static const TQUMethod slot_9 = {"addSortField", 0, 0 };
    static const TQUMethod slot_10 = {"reSortSortField", 0, 0 };
    static const TQUMethod slot_11 = {"removeSortField", 0, 0 };
    static const TQUMethod slot_12 = {"sortFieldUp", 0, 0 };
    static const TQUMethod slot_13 = {"sortFieldDown", 0, 0 };
    static const TQUMethod slot_14 = {"nextPageClicked", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "connectionSelected(const TQString&)", &slot_0, TQMetaData::Protected },
	{ "tableSelected(const TQString&)", &slot_1, TQMetaData::Protected },
	{ "autoPopulate(bool)", &slot_2, TQMetaData::Protected },
	{ "fieldDown()", &slot_3, TQMetaData::Protected },
	{ "fieldUp()", &slot_4, TQMetaData::Protected },
	{ "removeField()", &slot_5, TQMetaData::Protected },
	{ "addField()", &slot_6, TQMetaData::Protected },
	{ "setupDatabaseConnections()", &slot_7, TQMetaData::Protected },
	{ "accept()", &slot_8, TQMetaData::Protected },
	{ "addSortField()", &slot_9, TQMetaData::Protected },
	{ "reSortSortField()", &slot_10, TQMetaData::Protected },
	{ "removeSortField()", &slot_11, TQMetaData::Protected },
	{ "sortFieldUp()", &slot_12, TQMetaData::Protected },
	{ "sortFieldDown()", &slot_13, TQMetaData::Protected },
	{ "nextPageClicked()", &slot_14, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"SqlFormWizard", parentObject,
	slot_tbl, 15,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_SqlFormWizard.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool SqlFormWizard::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: connectionSelected((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 1: tableSelected((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 2: autoPopulate((bool)static_QUType_bool.get(_o+1)); break;
    case 3: fieldDown(); break;
    case 4: fieldUp(); break;
    case 5: removeField(); break;
    case 6: addField(); break;
    case 7: setupDatabaseConnections(); break;
    case 8: accept(); break;
    case 9: addSortField(); break;
    case 10: reSortSortField(); break;
    case 11: removeSortField(); break;
    case 12: sortFieldUp(); break;
    case 13: sortFieldDown(); break;
    case 14: nextPageClicked(); break;
    default:
	return SqlFormWizardBase::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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