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

TQMetaObject *ListBoxEditorBase::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_ListBoxEditorBase( "ListBoxEditorBase", &ListBoxEditorBase::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* ListBoxEditorBase::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 = {"insertNewItem", 0, 0 };
    static const TQUMethod slot_4 = {"deleteCurrentItem", 0, 0 };
    static const TQUParameter param_slot_5[] = {
	{ 0, &static_QUType_ptr, "TQListBoxItem", TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"currentItemChanged", 1, param_slot_5 };
    static const TQUParameter param_slot_6[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"currentTextChanged", 1, param_slot_6 };
    static const TQUMethod slot_7 = {"okClicked", 0, 0 };
    static const TQUMethod slot_8 = {"cancelClicked", 0, 0 };
    static const TQUMethod slot_9 = {"applyClicked", 0, 0 };
    static const TQUMethod slot_10 = {"choosePixmap", 0, 0 };
    static const TQUMethod slot_11 = {"deletePixmap", 0, 0 };
    static const TQUMethod slot_12 = {"moveItemUp", 0, 0 };
    static const TQUMethod slot_13 = {"moveItemDown", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected },
	{ "init()", &slot_1, TQMetaData::Protected },
	{ "destroy()", &slot_2, TQMetaData::Protected },
	{ "insertNewItem()", &slot_3, TQMetaData::Protected },
	{ "deleteCurrentItem()", &slot_4, TQMetaData::Protected },
	{ "currentItemChanged(TQListBoxItem*)", &slot_5, TQMetaData::Protected },
	{ "currentTextChanged(const TQString&)", &slot_6, TQMetaData::Protected },
	{ "okClicked()", &slot_7, TQMetaData::Protected },
	{ "cancelClicked()", &slot_8, TQMetaData::Protected },
	{ "applyClicked()", &slot_9, TQMetaData::Protected },
	{ "choosePixmap()", &slot_10, TQMetaData::Protected },
	{ "deletePixmap()", &slot_11, TQMetaData::Protected },
	{ "moveItemUp()", &slot_12, TQMetaData::Protected },
	{ "moveItemDown()", &slot_13, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"ListBoxEditorBase", parentObject,
	slot_tbl, 14,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_ListBoxEditorBase.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool ListBoxEditorBase::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    case 1: init(); break;
    case 2: destroy(); break;
    case 3: insertNewItem(); break;
    case 4: deleteCurrentItem(); break;
    case 5: currentItemChanged((TQListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    case 6: currentTextChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 7: okClicked(); break;
    case 8: cancelClicked(); break;
    case 9: applyClicked(); break;
    case 10: choosePixmap(); break;
    case 11: deletePixmap(); break;
    case 12: moveItemUp(); break;
    case 13: moveItemDown(); break;
    default:
	return TQDialog::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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