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

TQMetaObject *ActionEditor::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_ActionEditor( "ActionEditor", &ActionEditor::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* ActionEditor::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 = ActionEditorBase::staticMetaObject();
    static const TQUParameter param_slot_0[] = {
	{ 0, &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod slot_0 = {"currentActionChanged", 1, param_slot_0 };
    static const TQUMethod slot_1 = {"deleteAction", 0, 0 };
    static const TQUMethod slot_2 = {"newAction", 0, 0 };
    static const TQUMethod slot_3 = {"newActionGroup", 0, 0 };
    static const TQUMethod slot_4 = {"newDropDownActionGroup", 0, 0 };
    static const TQUMethod slot_5 = {"connectionsClicked", 0, 0 };
    static const TQUParameter param_slot_6[] = {
	{ "o", &static_QUType_ptr, "TQObject", TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"removeConnections", 1, param_slot_6 };
    static const TQMetaData slot_tbl[] = {
	{ "currentActionChanged(TQListViewItem*)", &slot_0, TQMetaData::Protected },
	{ "deleteAction()", &slot_1, TQMetaData::Protected },
	{ "newAction()", &slot_2, TQMetaData::Protected },
	{ "newActionGroup()", &slot_3, TQMetaData::Protected },
	{ "newDropDownActionGroup()", &slot_4, TQMetaData::Protected },
	{ "connectionsClicked()", &slot_5, TQMetaData::Protected },
	{ "removeConnections(TQObject*)", &slot_6, TQMetaData::Protected }
    };
    static const TQUMethod signal_0 = {"hidden", 0, 0 };
    static const TQUParameter param_signal_1[] = {
	{ 0, &static_QUType_ptr, "TQAction", TQUParameter::In }
    };
    static const TQUMethod signal_1 = {"removing", 1, param_signal_1 };
    static const TQMetaData signal_tbl[] = {
	{ "hidden()", &signal_0, TQMetaData::Protected },
	{ "removing(TQAction*)", &signal_1, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"ActionEditor", parentObject,
	slot_tbl, 7,
	signal_tbl, 2,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_ActionEditor.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

// TQ_SIGNAL hidden
void ActionEditor::hidden()
{
    activate_signal( staticMetaObject()->signalOffset() + 0 );
}

#include <ntqobjectdefs.h>
#include <ntqsignalslotimp.h>

// TQ_SIGNAL removing
void ActionEditor::removing( TQAction* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 1 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

bool ActionEditor::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: currentActionChanged((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 1: deleteAction(); break;
    case 2: newAction(); break;
    case 3: newActionGroup(); break;
    case 4: newDropDownActionGroup(); break;
    case 5: connectionsClicked(); break;
    case 6: removeConnections((TQObject*)static_QUType_ptr.get(_o+1)); break;
    default:
	return ActionEditorBase::tqt_invoke( _id, _o );
    }
    return true;
}

bool ActionEditor::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: hidden(); break;
    case 1: removing((TQAction*)static_QUType_ptr.get(_o+1)); break;
    default:
	return ActionEditorBase::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

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

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