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

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

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* XMPP::Connector::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 signal_0 = {"connected", 0, 0 };
    static const TQUMethod signal_1 = {"error", 0, 0 };
    static const TQMetaData signal_tbl[] = {
	{ "connected()", &signal_0, TQMetaData::Public },
	{ "error()", &signal_1, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"XMPP::Connector", parentObject,
	0, 0,
	signal_tbl, 2,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_XMPP__Connector.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

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

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

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

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


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

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

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* XMPP::AdvancedConnector::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 = Connector::staticMetaObject();
    static const TQUMethod slot_0 = {"dns_done", 0, 0 };
    static const TQUMethod slot_1 = {"srv_done", 0, 0 };
    static const TQUMethod slot_2 = {"bs_connected", 0, 0 };
    static const TQUParameter param_slot_3[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"bs_error", 1, param_slot_3 };
    static const TQUMethod slot_4 = {"http_syncStarted", 0, 0 };
    static const TQUMethod slot_5 = {"http_syncFinished", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "dns_done()", &slot_0, TQMetaData::Private },
	{ "srv_done()", &slot_1, TQMetaData::Private },
	{ "bs_connected()", &slot_2, TQMetaData::Private },
	{ "bs_error(int)", &slot_3, TQMetaData::Private },
	{ "http_syncStarted()", &slot_4, TQMetaData::Private },
	{ "http_syncFinished()", &slot_5, TQMetaData::Private }
    };
    static const TQUParameter param_signal_0[] = {
	{ "server", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_0 = {"srvLookup", 1, param_signal_0 };
    static const TQUParameter param_signal_1[] = {
	{ "success", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod signal_1 = {"srvResult", 1, param_signal_1 };
    static const TQUMethod signal_2 = {"httpSyncStarted", 0, 0 };
    static const TQUMethod signal_3 = {"httpSyncFinished", 0, 0 };
    static const TQMetaData signal_tbl[] = {
	{ "srvLookup(const TQString&)", &signal_0, TQMetaData::Public },
	{ "srvResult(bool)", &signal_1, TQMetaData::Public },
	{ "httpSyncStarted()", &signal_2, TQMetaData::Public },
	{ "httpSyncFinished()", &signal_3, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"XMPP::AdvancedConnector", parentObject,
	slot_tbl, 6,
	signal_tbl, 4,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_XMPP__AdvancedConnector.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

// TQ_SIGNAL srvResult
void XMPP::AdvancedConnector::srvResult( bool t0 )
{
    activate_signal_bool( staticMetaObject()->signalOffset() + 1, t0 );
}

// TQ_SIGNAL httpSyncStarted
void XMPP::AdvancedConnector::httpSyncStarted()
{
    activate_signal( staticMetaObject()->signalOffset() + 2 );
}

// TQ_SIGNAL httpSyncFinished
void XMPP::AdvancedConnector::httpSyncFinished()
{
    activate_signal( staticMetaObject()->signalOffset() + 3 );
}

bool XMPP::AdvancedConnector::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: dns_done(); break;
    case 1: srv_done(); break;
    case 2: bs_connected(); break;
    case 3: bs_error((int)static_QUType_int.get(_o+1)); break;
    case 4: http_syncStarted(); break;
    case 5: http_syncFinished(); break;
    default:
	return Connector::tqt_invoke( _id, _o );
    }
    return true;
}

bool XMPP::AdvancedConnector::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: srvLookup((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 1: srvResult((bool)static_QUType_bool.get(_o+1)); break;
    case 2: httpSyncStarted(); break;
    case 3: httpSyncFinished(); break;
    default:
	return Connector::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

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

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


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

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

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* XMPP::TLSHandler::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 signal_0 = {"success", 0, 0 };
    static const TQUMethod signal_1 = {"fail", 0, 0 };
    static const TQUMethod signal_2 = {"closed", 0, 0 };
    static const TQUParameter param_signal_3[] = {
	{ "a", &static_QUType_varptr, "\x1d", TQUParameter::In }
    };
    static const TQUMethod signal_3 = {"readyRead", 1, param_signal_3 };
    static const TQUParameter param_signal_4[] = {
	{ "a", &static_QUType_varptr, "\x1d", TQUParameter::In },
	{ "plainBytes", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_4 = {"readyReadOutgoing", 2, param_signal_4 };
    static const TQMetaData signal_tbl[] = {
	{ "success()", &signal_0, TQMetaData::Public },
	{ "fail()", &signal_1, TQMetaData::Public },
	{ "closed()", &signal_2, TQMetaData::Public },
	{ "readyRead(const TQByteArray&)", &signal_3, TQMetaData::Public },
	{ "readyReadOutgoing(const TQByteArray&,int)", &signal_4, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"XMPP::TLSHandler", parentObject,
	0, 0,
	signal_tbl, 5,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_XMPP__TLSHandler.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

// TQ_SIGNAL closed
void XMPP::TLSHandler::closed()
{
    activate_signal( staticMetaObject()->signalOffset() + 2 );
}

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

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

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

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

bool XMPP::TLSHandler::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: success(); break;
    case 1: fail(); break;
    case 2: closed(); break;
    case 3: readyRead((const TQByteArray&)*((const TQByteArray*)static_QUType_ptr.get(_o+1))); break;
    case 4: readyReadOutgoing((const TQByteArray&)*((const TQByteArray*)static_QUType_ptr.get(_o+1)),(int)static_QUType_int.get(_o+2)); break;
    default:
	return TQObject::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

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

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


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

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

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* XMPP::TQCATLSHandler::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 = TLSHandler::staticMetaObject();
    static const TQUMethod slot_0 = {"continueAfterHandshake", 0, 0 };
    static const TQUMethod slot_1 = {"tls_handshaken", 0, 0 };
    static const TQUMethod slot_2 = {"tls_readyRead", 0, 0 };
    static const TQUParameter param_slot_3[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"tls_readyReadOutgoing", 1, param_slot_3 };
    static const TQUMethod slot_4 = {"tls_closed", 0, 0 };
    static const TQUParameter param_slot_5[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"tls_error", 1, param_slot_5 };
    static const TQMetaData slot_tbl[] = {
	{ "continueAfterHandshake()", &slot_0, TQMetaData::Public },
	{ "tls_handshaken()", &slot_1, TQMetaData::Private },
	{ "tls_readyRead()", &slot_2, TQMetaData::Private },
	{ "tls_readyReadOutgoing(int)", &slot_3, TQMetaData::Private },
	{ "tls_closed()", &slot_4, TQMetaData::Private },
	{ "tls_error(int)", &slot_5, TQMetaData::Private }
    };
    static const TQUMethod signal_0 = {"tlsHandshaken", 0, 0 };
    static const TQMetaData signal_tbl[] = {
	{ "tlsHandshaken()", &signal_0, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"XMPP::TQCATLSHandler", parentObject,
	slot_tbl, 6,
	signal_tbl, 1,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_XMPP__TQCATLSHandler.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

bool XMPP::TQCATLSHandler::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: continueAfterHandshake(); break;
    case 1: tls_handshaken(); break;
    case 2: tls_readyRead(); break;
    case 3: tls_readyReadOutgoing((int)static_QUType_int.get(_o+1)); break;
    case 4: tls_closed(); break;
    case 5: tls_error((int)static_QUType_int.get(_o+1)); break;
    default:
	return TLSHandler::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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


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

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

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* XMPP::Stream::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 signal_0 = {"connectionClosed", 0, 0 };
    static const TQUMethod signal_1 = {"delayedCloseFinished", 0, 0 };
    static const TQUMethod signal_2 = {"readyRead", 0, 0 };
    static const TQUMethod signal_3 = {"stanzaWritten", 0, 0 };
    static const TQUParameter param_signal_4[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_4 = {"error", 1, param_signal_4 };
    static const TQMetaData signal_tbl[] = {
	{ "connectionClosed()", &signal_0, TQMetaData::Public },
	{ "delayedCloseFinished()", &signal_1, TQMetaData::Public },
	{ "readyRead()", &signal_2, TQMetaData::Public },
	{ "stanzaWritten()", &signal_3, TQMetaData::Public },
	{ "error(int)", &signal_4, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"XMPP::Stream", parentObject,
	0, 0,
	signal_tbl, 5,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_XMPP__Stream.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

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

// TQ_SIGNAL readyRead
void XMPP::Stream::readyRead()
{
    activate_signal( staticMetaObject()->signalOffset() + 2 );
}

// TQ_SIGNAL stanzaWritten
void XMPP::Stream::stanzaWritten()
{
    activate_signal( staticMetaObject()->signalOffset() + 3 );
}

// TQ_SIGNAL error
void XMPP::Stream::error( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 4, t0 );
}

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

bool XMPP::Stream::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: connectionClosed(); break;
    case 1: delayedCloseFinished(); break;
    case 2: readyRead(); break;
    case 3: stanzaWritten(); break;
    case 4: error((int)static_QUType_int.get(_o+1)); break;
    default:
	return TQObject::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

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

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


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

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

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* XMPP::ClientStream::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 = Stream::staticMetaObject();
    static const TQUMethod slot_0 = {"continueAfterWarning", 0, 0 };
    static const TQUMethod slot_1 = {"cr_connected", 0, 0 };
    static const TQUMethod slot_2 = {"cr_error", 0, 0 };
    static const TQUMethod slot_3 = {"bs_connectionClosed", 0, 0 };
    static const TQUMethod slot_4 = {"bs_delayedCloseFinished", 0, 0 };
    static const TQUParameter param_slot_5[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"bs_error", 1, param_slot_5 };
    static const TQUMethod slot_6 = {"ss_readyRead", 0, 0 };
    static const TQUParameter param_slot_7[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"ss_bytesWritten", 1, param_slot_7 };
    static const TQUMethod slot_8 = {"ss_tlsHandshaken", 0, 0 };
    static const TQUMethod slot_9 = {"ss_tlsClosed", 0, 0 };
    static const TQUParameter param_slot_10[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_10 = {"ss_error", 1, param_slot_10 };
    static const TQUParameter param_slot_11[] = {
	{ "mech", &static_QUType_TQString, 0, TQUParameter::In },
	{ "clientInit", &static_QUType_varptr, "\x1d", TQUParameter::In }
    };
    static const TQUMethod slot_11 = {"sasl_clientFirstStep", 2, param_slot_11 };
    static const TQUParameter param_slot_12[] = {
	{ "stepData", &static_QUType_varptr, "\x1d", TQUParameter::In }
    };
    static const TQUMethod slot_12 = {"sasl_nextStep", 1, param_slot_12 };
    static const TQUParameter param_slot_13[] = {
	{ "user", &static_QUType_bool, 0, TQUParameter::In },
	{ "authzid", &static_QUType_bool, 0, TQUParameter::In },
	{ "pass", &static_QUType_bool, 0, TQUParameter::In },
	{ "realm", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_13 = {"sasl_needParams", 4, param_slot_13 };
    static const TQUParameter param_slot_14[] = {
	{ "user", &static_QUType_TQString, 0, TQUParameter::In },
	{ "authzid", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_14 = {"sasl_authCheck", 2, param_slot_14 };
    static const TQUMethod slot_15 = {"sasl_authenticated", 0, 0 };
    static const TQUParameter param_slot_16[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_16 = {"sasl_error", 1, param_slot_16 };
    static const TQUMethod slot_17 = {"doNoop", 0, 0 };
    static const TQUMethod slot_18 = {"doReadyRead", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "continueAfterWarning()", &slot_0, TQMetaData::Public },
	{ "cr_connected()", &slot_1, TQMetaData::Private },
	{ "cr_error()", &slot_2, TQMetaData::Private },
	{ "bs_connectionClosed()", &slot_3, TQMetaData::Private },
	{ "bs_delayedCloseFinished()", &slot_4, TQMetaData::Private },
	{ "bs_error(int)", &slot_5, TQMetaData::Private },
	{ "ss_readyRead()", &slot_6, TQMetaData::Private },
	{ "ss_bytesWritten(int)", &slot_7, TQMetaData::Private },
	{ "ss_tlsHandshaken()", &slot_8, TQMetaData::Private },
	{ "ss_tlsClosed()", &slot_9, TQMetaData::Private },
	{ "ss_error(int)", &slot_10, TQMetaData::Private },
	{ "sasl_clientFirstStep(const TQString&,const TQByteArray*)", &slot_11, TQMetaData::Private },
	{ "sasl_nextStep(const TQByteArray&)", &slot_12, TQMetaData::Private },
	{ "sasl_needParams(bool,bool,bool,bool)", &slot_13, TQMetaData::Private },
	{ "sasl_authCheck(const TQString&,const TQString&)", &slot_14, TQMetaData::Private },
	{ "sasl_authenticated()", &slot_15, TQMetaData::Private },
	{ "sasl_error(int)", &slot_16, TQMetaData::Private },
	{ "doNoop()", &slot_17, TQMetaData::Private },
	{ "doReadyRead()", &slot_18, TQMetaData::Private }
    };
    static const TQUMethod signal_0 = {"connected", 0, 0 };
    static const TQUParameter param_signal_1[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_1 = {"securityLayerActivated", 1, param_signal_1 };
    static const TQUParameter param_signal_2[] = {
	{ "user", &static_QUType_bool, 0, TQUParameter::In },
	{ "pass", &static_QUType_bool, 0, TQUParameter::In },
	{ "realm", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod signal_2 = {"needAuthParams", 3, param_signal_2 };
    static const TQUMethod signal_3 = {"authenticated", 0, 0 };
    static const TQUParameter param_signal_4[] = {
	{ 0, &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_4 = {"warning", 1, param_signal_4 };
    static const TQUParameter param_signal_5[] = {
	{ "s", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_5 = {"incomingXml", 1, param_signal_5 };
    static const TQUParameter param_signal_6[] = {
	{ "s", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_6 = {"outgoingXml", 1, param_signal_6 };
    static const TQMetaData signal_tbl[] = {
	{ "connected()", &signal_0, TQMetaData::Public },
	{ "securityLayerActivated(int)", &signal_1, TQMetaData::Public },
	{ "needAuthParams(bool,bool,bool)", &signal_2, TQMetaData::Public },
	{ "authenticated()", &signal_3, TQMetaData::Public },
	{ "warning(int)", &signal_4, TQMetaData::Public },
	{ "incomingXml(const TQString&)", &signal_5, TQMetaData::Public },
	{ "outgoingXml(const TQString&)", &signal_6, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"XMPP::ClientStream", parentObject,
	slot_tbl, 19,
	signal_tbl, 7,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_XMPP__ClientStream.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

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

// TQ_SIGNAL securityLayerActivated
void XMPP::ClientStream::securityLayerActivated( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 1, t0 );
}

// TQ_SIGNAL needAuthParams
void XMPP::ClientStream::needAuthParams( bool t0, bool t1, bool 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_bool.set(o+2,t1);
    static_QUType_bool.set(o+3,t2);
    o[3].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL authenticated
void XMPP::ClientStream::authenticated()
{
    activate_signal( staticMetaObject()->signalOffset() + 3 );
}

// TQ_SIGNAL warning
void XMPP::ClientStream::warning( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 4, t0 );
}

// TQ_SIGNAL incomingXml
void XMPP::ClientStream::incomingXml( const TQString& t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 5, t0 );
}

// TQ_SIGNAL outgoingXml
void XMPP::ClientStream::outgoingXml( const TQString& t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 6, t0 );
}

bool XMPP::ClientStream::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: continueAfterWarning(); break;
    case 1: cr_connected(); break;
    case 2: cr_error(); break;
    case 3: bs_connectionClosed(); break;
    case 4: bs_delayedCloseFinished(); break;
    case 5: bs_error((int)static_QUType_int.get(_o+1)); break;
    case 6: ss_readyRead(); break;
    case 7: ss_bytesWritten((int)static_QUType_int.get(_o+1)); break;
    case 8: ss_tlsHandshaken(); break;
    case 9: ss_tlsClosed(); break;
    case 10: ss_error((int)static_QUType_int.get(_o+1)); break;
    case 11: sasl_clientFirstStep((const TQString&)static_QUType_TQString.get(_o+1),(const TQByteArray*)static_QUType_varptr.get(_o+2)); break;
    case 12: sasl_nextStep((const TQByteArray&)*((const TQByteArray*)static_QUType_ptr.get(_o+1))); break;
    case 13: sasl_needParams((bool)static_QUType_bool.get(_o+1),(bool)static_QUType_bool.get(_o+2),(bool)static_QUType_bool.get(_o+3),(bool)static_QUType_bool.get(_o+4)); break;
    case 14: sasl_authCheck((const TQString&)static_QUType_TQString.get(_o+1),(const TQString&)static_QUType_TQString.get(_o+2)); break;
    case 15: sasl_authenticated(); break;
    case 16: sasl_error((int)static_QUType_int.get(_o+1)); break;
    case 17: doNoop(); break;
    case 18: doReadyRead(); break;
    default:
	return Stream::tqt_invoke( _id, _o );
    }
    return true;
}

bool XMPP::ClientStream::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: connected(); break;
    case 1: securityLayerActivated((int)static_QUType_int.get(_o+1)); break;
    case 2: needAuthParams((bool)static_QUType_bool.get(_o+1),(bool)static_QUType_bool.get(_o+2),(bool)static_QUType_bool.get(_o+3)); break;
    case 3: authenticated(); break;
    case 4: warning((int)static_QUType_int.get(_o+1)); break;
    case 5: incomingXml((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 6: outgoingXml((const TQString&)static_QUType_TQString.get(_o+1)); break;
    default:
	return Stream::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

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

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