/****************************************************************************
** KDevVersionControl 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/lib/interfaces/extensions/kdevversioncontrol.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 *KDevVersionControl::className() const
{
    return "KDevVersionControl";
}

TQMetaObject *KDevVersionControl::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_KDevVersionControl( "KDevVersionControl", &KDevVersionControl::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* KDevVersionControl::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 = KDevPlugin::staticMetaObject();
    static const TQUParameter param_signal_0[] = {
	{ "destinationDir", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_0 = {"finishedFetching", 1, param_signal_0 };
    static const TQMetaData signal_tbl[] = {
	{ "finishedFetching(TQString)", &signal_0, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"KDevVersionControl", parentObject,
	0, 0,
	signal_tbl, 1,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_KDevVersionControl.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

// TQ_SIGNAL finishedFetching
void KDevVersionControl::finishedFetching( TQString t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
}

bool KDevVersionControl::tqt_invoke( int _id, TQUObject* _o )
{
    return KDevPlugin::tqt_invoke(_id,_o);
}

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

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

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


const char *KDevVCSFileInfoProvider::className() const
{
    return "KDevVCSFileInfoProvider";
}

TQMetaObject *KDevVCSFileInfoProvider::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_KDevVCSFileInfoProvider( "KDevVCSFileInfoProvider", &KDevVCSFileInfoProvider::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* KDevVCSFileInfoProvider::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_signal_0[] = {
	{ "fileInfoMap", &static_QUType_ptr, "VCSFileInfoMap", TQUParameter::In },
	{ "callerData", &static_QUType_ptr, "void", TQUParameter::In }
    };
    static const TQUMethod signal_0 = {"statusReady", 2, param_signal_0 };
    static const TQMetaData signal_tbl[] = {
	{ "statusReady(const VCSFileInfoMap&,void*)", &signal_0, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"KDevVCSFileInfoProvider", parentObject,
	0, 0,
	signal_tbl, 1,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_KDevVCSFileInfoProvider.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

// TQ_SIGNAL statusReady
void KDevVCSFileInfoProvider::statusReady( const VCSFileInfoMap& t0, void* t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 0 );
    if ( !clist )
	return;
    TQUObject o[3];
    static_QUType_ptr.set(o+1,&t0);
    static_QUType_ptr.set(o+2,t1);
    o[2].isLastObject = true;
    activate_signal( clist, o );
}

bool KDevVCSFileInfoProvider::tqt_invoke( int _id, TQUObject* _o )
{
    return TQObject::tqt_invoke(_id,_o);
}

bool KDevVCSFileInfoProvider::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: statusReady((const VCSFileInfoMap&)*((const VCSFileInfoMap*)static_QUType_ptr.get(_o+1)),(void*)static_QUType_ptr.get(_o+2)); break;
    default:
	return TQObject::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

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

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