/****************************************************************************
** EditFunctions 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/editfunctionsimpl.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 *EditFunctions::className() const
{
    return "EditFunctions";
}

TQMetaObject *EditFunctions::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_EditFunctions( "EditFunctions", &EditFunctions::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* EditFunctions::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 = EditFunctionsBase::staticMetaObject();
    static const TQUMethod slot_0 = {"okClicked", 0, 0 };
    static const TQUMethod slot_1 = {"functionRemove", 0, 0 };
    static const TQUParameter param_slot_2[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod slot_2 = {"currentItemChanged", 1, param_slot_2 };
    static const TQUParameter param_slot_3[] = {
	{ "txt", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"currentTextChanged", 1, param_slot_3 };
    static const TQUParameter param_slot_4[] = {
	{ "s", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_4 = {"currentSpecifierChanged", 1, param_slot_4 };
    static const TQUParameter param_slot_5[] = {
	{ "a", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"currentAccessChanged", 1, param_slot_5 };
    static const TQUParameter param_slot_6[] = {
	{ "type", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"currentReturnTypeChanged", 1, param_slot_6 };
    static const TQUParameter param_slot_7[] = {
	{ "type", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"currentTypeChanged", 1, param_slot_7 };
    static const TQUParameter param_slot_8[] = {
	{ "justSlots", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_8 = {"displaySlots", 1, param_slot_8 };
    static const TQUParameter param_slot_9[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_9 = {"emitItemRenamed", 3, param_slot_9 };
    static const TQMetaData slot_tbl[] = {
	{ "okClicked()", &slot_0, TQMetaData::Protected },
	{ "functionRemove()", &slot_1, TQMetaData::Protected },
	{ "currentItemChanged(TQListViewItem*)", &slot_2, TQMetaData::Protected },
	{ "currentTextChanged(const TQString&)", &slot_3, TQMetaData::Protected },
	{ "currentSpecifierChanged(const TQString&)", &slot_4, TQMetaData::Protected },
	{ "currentAccessChanged(const TQString&)", &slot_5, TQMetaData::Protected },
	{ "currentReturnTypeChanged(const TQString&)", &slot_6, TQMetaData::Protected },
	{ "currentTypeChanged(const TQString&)", &slot_7, TQMetaData::Protected },
	{ "displaySlots(bool)", &slot_8, TQMetaData::Protected },
	{ "emitItemRenamed(TQListViewItem*,int,const TQString&)", &slot_9, TQMetaData::Protected }
    };
    static const TQUParameter param_signal_0[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_0 = {"itemRenamed", 1, param_signal_0 };
    static const TQMetaData signal_tbl[] = {
	{ "itemRenamed(const TQString&)", &signal_0, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"EditFunctions", parentObject,
	slot_tbl, 10,
	signal_tbl, 1,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_EditFunctions.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

// TQ_SIGNAL itemRenamed
void EditFunctions::itemRenamed( const TQString& t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
}

bool EditFunctions::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: okClicked(); break;
    case 1: functionRemove(); break;
    case 2: currentItemChanged((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 3: currentTextChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 4: currentSpecifierChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 5: currentAccessChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 6: currentReturnTypeChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 7: currentTypeChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 8: displaySlots((bool)static_QUType_bool.get(_o+1)); break;
    case 9: emitItemRenamed((TQListViewItem*)static_QUType_ptr.get(_o+1),(int)static_QUType_int.get(_o+2),(const TQString&)static_QUType_TQString.get(_o+3)); break;
    default:
	return EditFunctionsBase::tqt_invoke( _id, _o );
    }
    return true;
}

bool EditFunctions::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: itemRenamed((const TQString&)static_QUType_TQString.get(_o+1)); break;
    default:
	return EditFunctionsBase::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

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

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