/****************************************************************************
** XMPP::Task 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-extra/tde-tdenetwork/src/tdenetwork-trinity-14.1.6/kopete/protocols/jabber/libiris/iris/include/im.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 *XMPP::Task::className() const
{
    return "XMPP::Task";
}

TQMetaObject *XMPP::Task::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_XMPP__Task( "XMPP::Task", &XMPP::Task::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* XMPP::Task::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 TQUMethod slot_0 = {"clientDisconnected", 0, 0 };
    static const TQUMethod slot_1 = {"done", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "clientDisconnected()", &slot_0, TQMetaData::Private },
	{ "done()", &slot_1, TQMetaData::Private }
    };
    static const TQUMethod signal_0 = {"finished", 0, 0 };
    static const TQMetaData signal_tbl[] = {
	{ "finished()", &signal_0, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"XMPP::Task", parentObject,
	slot_tbl, 2,
	signal_tbl, 1,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_XMPP__Task.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

// TQ_SIGNAL finished
void XMPP::Task::finished()
{
    activate_signal( staticMetaObject()->signalOffset() + 0 );
}

bool XMPP::Task::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: clientDisconnected(); break;
    case 1: done(); break;
    default:
	return TQObject::tqt_invoke( _id, _o );
    }
    return true;
}

bool XMPP::Task::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: finished(); break;
    default:
	return TQObject::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

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

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


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

TQMetaObject *XMPP::Client::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_XMPP__Client( "XMPP::Client", &XMPP::Client::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* XMPP::Client::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_slot_0[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_0 = {"streamError", 1, param_slot_0 };
    static const TQUMethod slot_1 = {"streamReadyRead", 0, 0 };
    static const TQUParameter param_slot_2[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_2 = {"streamIncomingXml", 1, param_slot_2 };
    static const TQUParameter param_slot_3[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"streamOutgoingXml", 1, param_slot_3 };
    static const TQUMethod slot_4 = {"slotRosterRequestFinished", 0, 0 };
    static const TQUParameter param_slot_5[] = {
	{ 0, &static_QUType_ptr, "Jid", TQUParameter::In },
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"ppSubscription", 2, param_slot_5 };
    static const TQUParameter param_slot_6[] = {
	{ 0, &static_QUType_ptr, "Jid", TQUParameter::In },
	{ 0, &static_QUType_ptr, "Status", TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"ppPresence", 2, param_slot_6 };
    static const TQUParameter param_slot_7[] = {
	{ 0, &static_QUType_ptr, "Message", TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"pmMessage", 1, param_slot_7 };
    static const TQUParameter param_slot_8[] = {
	{ 0, &static_QUType_ptr, "Roster", TQUParameter::In }
    };
    static const TQUMethod slot_8 = {"prRoster", 1, param_slot_8 };
    static const TQUMethod slot_9 = {"s5b_incomingReady", 0, 0 };
    static const TQUMethod slot_10 = {"ibb_incomingReady", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "streamError(int)", &slot_0, TQMetaData::Private },
	{ "streamReadyRead()", &slot_1, TQMetaData::Private },
	{ "streamIncomingXml(const TQString&)", &slot_2, TQMetaData::Private },
	{ "streamOutgoingXml(const TQString&)", &slot_3, TQMetaData::Private },
	{ "slotRosterRequestFinished()", &slot_4, TQMetaData::Private },
	{ "ppSubscription(const Jid&,const TQString&)", &slot_5, TQMetaData::Private },
	{ "ppPresence(const Jid&,const Status&)", &slot_6, TQMetaData::Private },
	{ "pmMessage(const Message&)", &slot_7, TQMetaData::Private },
	{ "prRoster(const Roster&)", &slot_8, TQMetaData::Private },
	{ "s5b_incomingReady()", &slot_9, TQMetaData::Private },
	{ "ibb_incomingReady()", &slot_10, TQMetaData::Private }
    };
    static const TQUMethod signal_0 = {"activated", 0, 0 };
    static const TQUMethod signal_1 = {"disconnected", 0, 0 };
    static const TQUParameter param_signal_2[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_2 = {"rosterRequestFinished", 3, param_signal_2 };
    static const TQUParameter param_signal_3[] = {
	{ 0, &static_QUType_ptr, "RosterItem", TQUParameter::In }
    };
    static const TQUMethod signal_3 = {"rosterItemAdded", 1, param_signal_3 };
    static const TQUParameter param_signal_4[] = {
	{ 0, &static_QUType_ptr, "RosterItem", TQUParameter::In }
    };
    static const TQUMethod signal_4 = {"rosterItemUpdated", 1, param_signal_4 };
    static const TQUParameter param_signal_5[] = {
	{ 0, &static_QUType_ptr, "RosterItem", TQUParameter::In }
    };
    static const TQUMethod signal_5 = {"rosterItemRemoved", 1, param_signal_5 };
    static const TQUParameter param_signal_6[] = {
	{ 0, &static_QUType_ptr, "Jid", TQUParameter::In },
	{ 0, &static_QUType_ptr, "Resource", TQUParameter::In }
    };
    static const TQUMethod signal_6 = {"resourceAvailable", 2, param_signal_6 };
    static const TQUParameter param_signal_7[] = {
	{ 0, &static_QUType_ptr, "Jid", TQUParameter::In },
	{ 0, &static_QUType_ptr, "Resource", TQUParameter::In }
    };
    static const TQUMethod signal_7 = {"resourceUnavailable", 2, param_signal_7 };
    static const TQUParameter param_signal_8[] = {
	{ 0, &static_QUType_ptr, "Jid", TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_8 = {"presenceError", 3, param_signal_8 };
    static const TQUParameter param_signal_9[] = {
	{ 0, &static_QUType_ptr, "Jid", TQUParameter::In },
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_9 = {"subscription", 2, param_signal_9 };
    static const TQUParameter param_signal_10[] = {
	{ 0, &static_QUType_ptr, "Message", TQUParameter::In }
    };
    static const TQUMethod signal_10 = {"messageReceived", 1, param_signal_10 };
    static const TQUParameter param_signal_11[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_11 = {"debugText", 1, param_signal_11 };
    static const TQUParameter param_signal_12[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_12 = {"xmlIncoming", 1, param_signal_12 };
    static const TQUParameter param_signal_13[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_13 = {"xmlOutgoing", 1, param_signal_13 };
    static const TQUParameter param_signal_14[] = {
	{ 0, &static_QUType_ptr, "Jid", TQUParameter::In }
    };
    static const TQUMethod signal_14 = {"groupChatJoined", 1, param_signal_14 };
    static const TQUParameter param_signal_15[] = {
	{ 0, &static_QUType_ptr, "Jid", TQUParameter::In }
    };
    static const TQUMethod signal_15 = {"groupChatLeft", 1, param_signal_15 };
    static const TQUParameter param_signal_16[] = {
	{ 0, &static_QUType_ptr, "Jid", TQUParameter::In },
	{ 0, &static_QUType_ptr, "Status", TQUParameter::In }
    };
    static const TQUMethod signal_16 = {"groupChatPresence", 2, param_signal_16 };
    static const TQUParameter param_signal_17[] = {
	{ 0, &static_QUType_ptr, "Jid", TQUParameter::In },
	{ 0, &static_QUType_int, 0, TQUParameter::In },
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_17 = {"groupChatError", 3, param_signal_17 };
    static const TQUMethod signal_18 = {"incomingJidLink", 0, 0 };
    static const TQMetaData signal_tbl[] = {
	{ "activated()", &signal_0, TQMetaData::Public },
	{ "disconnected()", &signal_1, TQMetaData::Public },
	{ "rosterRequestFinished(bool,int,const TQString&)", &signal_2, TQMetaData::Public },
	{ "rosterItemAdded(const RosterItem&)", &signal_3, TQMetaData::Public },
	{ "rosterItemUpdated(const RosterItem&)", &signal_4, TQMetaData::Public },
	{ "rosterItemRemoved(const RosterItem&)", &signal_5, TQMetaData::Public },
	{ "resourceAvailable(const Jid&,const Resource&)", &signal_6, TQMetaData::Public },
	{ "resourceUnavailable(const Jid&,const Resource&)", &signal_7, TQMetaData::Public },
	{ "presenceError(const Jid&,int,const TQString&)", &signal_8, TQMetaData::Public },
	{ "subscription(const Jid&,const TQString&)", &signal_9, TQMetaData::Public },
	{ "messageReceived(const Message&)", &signal_10, TQMetaData::Public },
	{ "debugText(const TQString&)", &signal_11, TQMetaData::Public },
	{ "xmlIncoming(const TQString&)", &signal_12, TQMetaData::Public },
	{ "xmlOutgoing(const TQString&)", &signal_13, TQMetaData::Public },
	{ "groupChatJoined(const Jid&)", &signal_14, TQMetaData::Public },
	{ "groupChatLeft(const Jid&)", &signal_15, TQMetaData::Public },
	{ "groupChatPresence(const Jid&,const Status&)", &signal_16, TQMetaData::Public },
	{ "groupChatError(const Jid&,int,const TQString&)", &signal_17, TQMetaData::Public },
	{ "incomingJidLink()", &signal_18, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"XMPP::Client", parentObject,
	slot_tbl, 11,
	signal_tbl, 19,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_XMPP__Client.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

// TQ_SIGNAL activated
void XMPP::Client::activated()
{
    activate_signal( staticMetaObject()->signalOffset() + 0 );
}

// TQ_SIGNAL disconnected
void XMPP::Client::disconnected()
{
    activate_signal( staticMetaObject()->signalOffset() + 1 );
}

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

// TQ_SIGNAL rosterRequestFinished
void XMPP::Client::rosterRequestFinished( bool t0, int t1, const TQString& t2 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 2 );
    if ( !clist )
	return;
    TQUObject o[4];
    static_QUType_bool.set(o+1,t0);
    static_QUType_int.set(o+2,t1);
    static_QUType_TQString.set(o+3,t2);
    o[3].isLastObject = true;
    activate_signal( clist, o );
}

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

// TQ_SIGNAL rosterItemUpdated
void XMPP::Client::rosterItemUpdated( const RosterItem& t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 4 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,&t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL rosterItemRemoved
void XMPP::Client::rosterItemRemoved( const RosterItem& t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 5 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,&t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL resourceAvailable
void XMPP::Client::resourceAvailable( const Jid& t0, const Resource& t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 6 );
    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 );
}

// TQ_SIGNAL resourceUnavailable
void XMPP::Client::resourceUnavailable( const Jid& t0, const Resource& t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 7 );
    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 );
}

// TQ_SIGNAL presenceError
void XMPP::Client::presenceError( const Jid& t0, int t1, const TQString& t2 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 8 );
    if ( !clist )
	return;
    TQUObject o[4];
    static_QUType_ptr.set(o+1,&t0);
    static_QUType_int.set(o+2,t1);
    static_QUType_TQString.set(o+3,t2);
    o[3].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL subscription
void XMPP::Client::subscription( const Jid& t0, const TQString& t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 9 );
    if ( !clist )
	return;
    TQUObject o[3];
    static_QUType_ptr.set(o+1,&t0);
    static_QUType_TQString.set(o+2,t1);
    o[2].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL messageReceived
void XMPP::Client::messageReceived( const Message& t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 10 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,&t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL debugText
void XMPP::Client::debugText( const TQString& t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 11, t0 );
}

// TQ_SIGNAL xmlIncoming
void XMPP::Client::xmlIncoming( const TQString& t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 12, t0 );
}

// TQ_SIGNAL xmlOutgoing
void XMPP::Client::xmlOutgoing( const TQString& t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 13, t0 );
}

// TQ_SIGNAL groupChatJoined
void XMPP::Client::groupChatJoined( const Jid& t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 14 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,&t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL groupChatLeft
void XMPP::Client::groupChatLeft( const Jid& t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 15 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,&t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL groupChatPresence
void XMPP::Client::groupChatPresence( const Jid& t0, const Status& t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 16 );
    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 );
}

// TQ_SIGNAL groupChatError
void XMPP::Client::groupChatError( const Jid& t0, int t1, const TQString& t2 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 17 );
    if ( !clist )
	return;
    TQUObject o[4];
    static_QUType_ptr.set(o+1,&t0);
    static_QUType_int.set(o+2,t1);
    static_QUType_TQString.set(o+3,t2);
    o[3].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL incomingJidLink
void XMPP::Client::incomingJidLink()
{
    activate_signal( staticMetaObject()->signalOffset() + 18 );
}

bool XMPP::Client::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: streamError((int)static_QUType_int.get(_o+1)); break;
    case 1: streamReadyRead(); break;
    case 2: streamIncomingXml((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 3: streamOutgoingXml((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 4: slotRosterRequestFinished(); break;
    case 5: ppSubscription((const Jid&)*((const Jid*)static_QUType_ptr.get(_o+1)),(const TQString&)static_QUType_TQString.get(_o+2)); break;
    case 6: ppPresence((const Jid&)*((const Jid*)static_QUType_ptr.get(_o+1)),(const Status&)*((const Status*)static_QUType_ptr.get(_o+2))); break;
    case 7: pmMessage((const Message&)*((const Message*)static_QUType_ptr.get(_o+1))); break;
    case 8: prRoster((const Roster&)*((const Roster*)static_QUType_ptr.get(_o+1))); break;
    case 9: s5b_incomingReady(); break;
    case 10: ibb_incomingReady(); break;
    default:
	return TQObject::tqt_invoke( _id, _o );
    }
    return true;
}

bool XMPP::Client::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: activated(); break;
    case 1: disconnected(); break;
    case 2: rosterRequestFinished((bool)static_QUType_bool.get(_o+1),(int)static_QUType_int.get(_o+2),(const TQString&)static_QUType_TQString.get(_o+3)); break;
    case 3: rosterItemAdded((const RosterItem&)*((const RosterItem*)static_QUType_ptr.get(_o+1))); break;
    case 4: rosterItemUpdated((const RosterItem&)*((const RosterItem*)static_QUType_ptr.get(_o+1))); break;
    case 5: rosterItemRemoved((const RosterItem&)*((const RosterItem*)static_QUType_ptr.get(_o+1))); break;
    case 6: resourceAvailable((const Jid&)*((const Jid*)static_QUType_ptr.get(_o+1)),(const Resource&)*((const Resource*)static_QUType_ptr.get(_o+2))); break;
    case 7: resourceUnavailable((const Jid&)*((const Jid*)static_QUType_ptr.get(_o+1)),(const Resource&)*((const Resource*)static_QUType_ptr.get(_o+2))); break;
    case 8: presenceError((const Jid&)*((const Jid*)static_QUType_ptr.get(_o+1)),(int)static_QUType_int.get(_o+2),(const TQString&)static_QUType_TQString.get(_o+3)); break;
    case 9: subscription((const Jid&)*((const Jid*)static_QUType_ptr.get(_o+1)),(const TQString&)static_QUType_TQString.get(_o+2)); break;
    case 10: messageReceived((const Message&)*((const Message*)static_QUType_ptr.get(_o+1))); break;
    case 11: debugText((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 12: xmlIncoming((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 13: xmlOutgoing((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 14: groupChatJoined((const Jid&)*((const Jid*)static_QUType_ptr.get(_o+1))); break;
    case 15: groupChatLeft((const Jid&)*((const Jid*)static_QUType_ptr.get(_o+1))); break;
    case 16: groupChatPresence((const Jid&)*((const Jid*)static_QUType_ptr.get(_o+1)),(const Status&)*((const Status*)static_QUType_ptr.get(_o+2))); break;
    case 17: groupChatError((const Jid&)*((const Jid*)static_QUType_ptr.get(_o+1)),(int)static_QUType_int.get(_o+2),(const TQString&)static_QUType_TQString.get(_o+3)); break;
    case 18: incomingJidLink(); break;
    default:
	return TQObject::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

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

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