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

TQMetaObject *TableEditorBase::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TableEditorBase( "TableEditorBase", &TableEditorBase::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TableEditorBase::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();
    static const TQUMethod slot_0 = {"languageChange", 0, 0 };
    static const TQUMethod slot_1 = {"init", 0, 0 };
    static const TQUMethod slot_2 = {"destroy", 0, 0 };
    static const TQUMethod slot_3 = {"applyClicked", 0, 0 };
    static const TQUMethod slot_4 = {"chooseRowPixmapClicked", 0, 0 };
    static const TQUParameter param_slot_5[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"columnTextChanged", 1, param_slot_5 };
    static const TQUMethod slot_6 = {"columnUpClicked", 0, 0 };
    static const TQUParameter param_slot_7[] = {
	{ 0, &static_QUType_ptr, "TQListBoxItem", TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"currentColumnChanged", 1, param_slot_7 };
    static const TQUParameter param_slot_8[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_8 = {"currentFieldChanged", 1, param_slot_8 };
    static const TQUParameter param_slot_9[] = {
	{ 0, &static_QUType_ptr, "TQListBoxItem", TQUParameter::In }
    };
    static const TQUMethod slot_9 = {"currentRowChanged", 1, param_slot_9 };
    static const TQUMethod slot_10 = {"deleteColPixmapClicked", 0, 0 };
    static const TQUMethod slot_11 = {"deleteColumnClicked", 0, 0 };
    static const TQUMethod slot_12 = {"deleteRowClicked", 0, 0 };
    static const TQUMethod slot_13 = {"deleteRowPixmapClicked", 0, 0 };
    static const TQUMethod slot_14 = {"newColumnClicked", 0, 0 };
    static const TQUMethod slot_15 = {"newRowClicked", 0, 0 };
    static const TQUMethod slot_16 = {"chooseColPixmapClicked", 0, 0 };
    static const TQUMethod slot_17 = {"okClicked", 0, 0 };
    static const TQUMethod slot_18 = {"rowDownClicked", 0, 0 };
    static const TQUParameter param_slot_19[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_19 = {"rowTextChanged", 1, param_slot_19 };
    static const TQUMethod slot_20 = {"rowUpClicked", 0, 0 };
    static const TQUMethod slot_21 = {"columnDownClicked", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected },
	{ "init()", &slot_1, TQMetaData::Protected },
	{ "destroy()", &slot_2, TQMetaData::Protected },
	{ "applyClicked()", &slot_3, TQMetaData::Protected },
	{ "chooseRowPixmapClicked()", &slot_4, TQMetaData::Protected },
	{ "columnTextChanged(const TQString&)", &slot_5, TQMetaData::Protected },
	{ "columnUpClicked()", &slot_6, TQMetaData::Protected },
	{ "currentColumnChanged(TQListBoxItem*)", &slot_7, TQMetaData::Protected },
	{ "currentFieldChanged(const TQString&)", &slot_8, TQMetaData::Protected },
	{ "currentRowChanged(TQListBoxItem*)", &slot_9, TQMetaData::Protected },
	{ "deleteColPixmapClicked()", &slot_10, TQMetaData::Protected },
	{ "deleteColumnClicked()", &slot_11, TQMetaData::Protected },
	{ "deleteRowClicked()", &slot_12, TQMetaData::Protected },
	{ "deleteRowPixmapClicked()", &slot_13, TQMetaData::Protected },
	{ "newColumnClicked()", &slot_14, TQMetaData::Protected },
	{ "newRowClicked()", &slot_15, TQMetaData::Protected },
	{ "chooseColPixmapClicked()", &slot_16, TQMetaData::Protected },
	{ "okClicked()", &slot_17, TQMetaData::Protected },
	{ "rowDownClicked()", &slot_18, TQMetaData::Protected },
	{ "rowTextChanged(const TQString&)", &slot_19, TQMetaData::Protected },
	{ "rowUpClicked()", &slot_20, TQMetaData::Protected },
	{ "columnDownClicked()", &slot_21, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"TableEditorBase", parentObject,
	slot_tbl, 22,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TableEditorBase.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool TableEditorBase::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    case 1: init(); break;
    case 2: destroy(); break;
    case 3: applyClicked(); break;
    case 4: chooseRowPixmapClicked(); break;
    case 5: columnTextChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 6: columnUpClicked(); break;
    case 7: currentColumnChanged((TQListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    case 8: currentFieldChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 9: currentRowChanged((TQListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    case 10: deleteColPixmapClicked(); break;
    case 11: deleteColumnClicked(); break;
    case 12: deleteRowClicked(); break;
    case 13: deleteRowPixmapClicked(); break;
    case 14: newColumnClicked(); break;
    case 15: newRowClicked(); break;
    case 16: chooseColPixmapClicked(); break;
    case 17: okClicked(); break;
    case 18: rowDownClicked(); break;
    case 19: rowTextChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 20: rowUpClicked(); break;
    case 21: columnDownClicked(); break;
    default:
	return TQDialog::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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