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

TQMetaObject *TQSqlForm::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TQSqlForm( "TQSqlForm", &TQSqlForm::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TQSqlForm::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 TQUParameter param_slot_0[] = {
	{ "widget", &static_QUType_ptr, "TQWidget", TQUParameter::In }
    };
    static const TQUMethod slot_0 = {"readField", 1, param_slot_0 };
    static const TQUParameter param_slot_1[] = {
	{ "widget", &static_QUType_ptr, "TQWidget", TQUParameter::In }
    };
    static const TQUMethod slot_1 = {"writeField", 1, param_slot_1 };
    static const TQUMethod slot_2 = {"readFields", 0, 0 };
    static const TQUMethod slot_3 = {"writeFields", 0, 0 };
    static const TQUMethod slot_4 = {"clear", 0, 0 };
    static const TQUMethod slot_5 = {"clearValues", 0, 0 };
    static const TQUParameter param_slot_6[] = {
	{ "nullify", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"clearValues", 1, param_slot_6 };
    static const TQMetaData slot_tbl[] = {
	{ "readField(TQWidget*)", &slot_0, TQMetaData::Public },
	{ "writeField(TQWidget*)", &slot_1, TQMetaData::Public },
	{ "readFields()", &slot_2, TQMetaData::Public },
	{ "writeFields()", &slot_3, TQMetaData::Public },
	{ "clear()", &slot_4, TQMetaData::Public },
	{ "clearValues()", &slot_5, TQMetaData::Public },
	{ "clearValues(bool)", &slot_6, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"TQSqlForm", parentObject,
	slot_tbl, 7,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TQSqlForm.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool TQSqlForm::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: readField((TQWidget*)static_QUType_ptr.get(_o+1)); break;
    case 1: writeField((TQWidget*)static_QUType_ptr.get(_o+1)); break;
    case 2: readFields(); break;
    case 3: writeFields(); break;
    case 4: clear(); break;
    case 5: clearValues(); break;
    case 6: clearValues((bool)static_QUType_bool.get(_o+1)); break;
    default:
	return TQObject::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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