diff options
Diffstat (limited to 'src/kvilib/net/moc_kvi_http.cpp')
-rw-r--r-- | src/kvilib/net/moc_kvi_http.cpp | 250 |
1 files changed, 125 insertions, 125 deletions
diff --git a/src/kvilib/net/moc_kvi_http.cpp b/src/kvilib/net/moc_kvi_http.cpp index 7ea9b591..632ce590 100644 --- a/src/kvilib/net/moc_kvi_http.cpp +++ b/src/kvilib/net/moc_kvi_http.cpp @@ -2,21 +2,21 @@ ** KviHttpRequest meta object code from reading C++ file 'kvi_http.h' ** ** Created: Sun Mar 23 20:56:22 2008 -** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $) +** by: The TQt TQMOC ($Id: qt/tqmoc_yacc.cpp 3.3.8 edited Feb 2 14:59 $) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ -#undef QT_NO_COMPAT +#undef TQT_NO_COMPAT #include "kvi_http.h" -#include <qmetaobject.h> -#include <qapplication.h> +#include <tqmetaobject.h> +#include <tqapplication.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.3.8. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" +#include <private/tqucomextra_p.h> +#if !defined(TQ_TQMOC_OUTPUT_REVISION) || (TQ_TQMOC_OUTPUT_REVISION != 26) +#error "This file was generated using the tqmoc from 3.3.8. It" +#error "cannot be used with the include files from this version of TQt." +#error "(The tqmoc has changed too much.)" #endif const char *KviHttpRequest::className() const @@ -24,240 +24,240 @@ const char *KviHttpRequest::className() const return "KviHttpRequest"; } -QMetaObject *KviHttpRequest::metaObj = 0; -static QMetaObjectCleanUp cleanUp_KviHttpRequest( "KviHttpRequest", &KviHttpRequest::staticMetaObject ); +TQMetaObject *KviHttpRequest::metaObj = 0; +static TQMetaObjectCleanUp cleanUp_KviHttpRequest( "KviHttpRequest", &KviHttpRequest::staticMetaObject ); -#ifndef QT_NO_TRANSLATION -QString KviHttpRequest::tr( const char *s, const char *c ) +#ifndef TQT_NO_TRANSLATION +TQString KviHttpRequest::tr( const char *s, const char *c ) { - if ( qApp ) - return qApp->translate( "KviHttpRequest", s, c, QApplication::DefaultCodec ); + if ( tqApp ) + return tqApp->translate( "KviHttpRequest", s, c, TQApplication::DefaultCodec ); else - return QString::fromLatin1( s ); + return TQString::tqfromLatin1( s ); } -#ifndef QT_NO_TRANSLATION_UTF8 -QString KviHttpRequest::trUtf8( const char *s, const char *c ) +#ifndef TQT_NO_TRANSLATION_UTF8 +TQString KviHttpRequest::trUtf8( const char *s, const char *c ) { - if ( qApp ) - return qApp->translate( "KviHttpRequest", s, c, QApplication::UnicodeUTF8 ); + if ( tqApp ) + return tqApp->translate( "KviHttpRequest", s, c, TQApplication::UnicodeUTF8 ); else - return QString::fromUtf8( s ); + return TQString::fromUtf8( s ); } -#endif // QT_NO_TRANSLATION_UTF8 +#endif // TQT_NO_TRANSLATION_UTF8 -#endif // QT_NO_TRANSLATION +#endif // TQT_NO_TRANSLATION -QMetaObject* KviHttpRequest::staticMetaObject() +TQMetaObject* KviHttpRequest::staticMetaObject() { if ( metaObj ) return metaObj; - QMetaObject* parentObject = QObject::staticMetaObject(); - static const QUParameter param_slot_0[] = { - { "d", &static_QUType_ptr, "KviDns", QUParameter::In } + TQMetaObject* tqparentObject = TQObject::staticMetaObject(); + static const TQUParameter param_slot_0[] = { + { "d", &static_TQUType_ptr, "KviDns", TQUParameter::In } }; - static const QUMethod slot_0 = {"dnsLookupDone", 1, param_slot_0 }; - static const QUMethod slot_1 = {"haveServerIp", 0, 0 }; - static const QMetaData slot_tbl[] = { - { "dnsLookupDone(KviDns*)", &slot_0, QMetaData::Protected }, - { "haveServerIp()", &slot_1, QMetaData::Protected } + static const TQUMethod slot_0 = {"dnsLookupDone", 1, param_slot_0 }; + static const TQUMethod slot_1 = {"haveServerIp", 0, 0 }; + static const TQMetaData slot_tbl[] = { + { "dnsLookupDone(KviDns*)", &slot_0, TQMetaData::Protected }, + { "haveServerIp()", &slot_1, TQMetaData::Protected } }; - static const QUParameter param_signal_0[] = { - { "hostname", &static_QUType_QString, 0, QUParameter::In } + static const TQUParameter param_signal_0[] = { + { "hostname", &static_TQUType_TQString, 0, TQUParameter::In } }; - static const QUMethod signal_0 = {"resolvingHost", 1, param_signal_0 }; - static const QUParameter param_signal_1[] = { - { "ipandport", &static_QUType_QString, 0, QUParameter::In } + static const TQUMethod signal_0 = {"resolvingHost", 1, param_signal_0 }; + static const TQUParameter param_signal_1[] = { + { "ipandport", &static_TQUType_TQString, 0, TQUParameter::In } }; - static const QUMethod signal_1 = {"contactingHost", 1, param_signal_1 }; - static const QUMethod signal_2 = {"connectionEstabilished", 0, 0 }; - static const QUParameter param_signal_3[] = { - { "response", &static_QUType_QString, 0, QUParameter::In } + static const TQUMethod signal_1 = {"contactingHost", 1, param_signal_1 }; + static const TQUMethod signal_2 = {"connectionEstabilished", 0, 0 }; + static const TQUParameter param_signal_3[] = { + { "response", &static_TQUType_TQString, 0, TQUParameter::In } }; - static const QUMethod signal_3 = {"receivedResponse", 1, param_signal_3 }; - static const QUParameter param_signal_4[] = { - { "bSuccess", &static_QUType_bool, 0, QUParameter::In } + static const TQUMethod signal_3 = {"receivedResponse", 1, param_signal_3 }; + static const TQUParameter param_signal_4[] = { + { "bSuccess", &static_TQUType_bool, 0, TQUParameter::In } }; - static const QUMethod signal_4 = {"terminated", 1, param_signal_4 }; - static const QUParameter param_signal_5[] = { - { "message", &static_QUType_QString, 0, QUParameter::In } + static const TQUMethod signal_4 = {"terminated", 1, param_signal_4 }; + static const TQUParameter param_signal_5[] = { + { "message", &static_TQUType_TQString, 0, TQUParameter::In } }; - static const QUMethod signal_5 = {"status", 1, param_signal_5 }; - static const QUParameter param_signal_6[] = { - { "data", &static_QUType_ptr, "KviStr", QUParameter::In } + static const TQUMethod signal_5 = {"status", 1, param_signal_5 }; + static const TQUParameter param_signal_6[] = { + { "data", &static_TQUType_ptr, "KviStr", TQUParameter::In } }; - static const QUMethod signal_6 = {"data", 1, param_signal_6 }; - static const QUParameter param_signal_7[] = { - { "data", &static_QUType_ptr, "KviDataBuffer", QUParameter::In } + static const TQUMethod signal_6 = {"data", 1, param_signal_6 }; + static const TQUParameter param_signal_7[] = { + { "data", &static_TQUType_ptr, "KviDataBuffer", TQUParameter::In } }; - static const QUMethod signal_7 = {"binaryData", 1, param_signal_7 }; - static const QUParameter param_signal_8[] = { - { "hdr", &static_QUType_ptr, "KviPointerHashTable<const char*,KviStr>", QUParameter::In } + static const TQUMethod signal_7 = {"binaryData", 1, param_signal_7 }; + static const TQUParameter param_signal_8[] = { + { "hdr", &static_TQUType_ptr, "KviPointerHashTable<const char*,KviStr>", TQUParameter::In } }; - static const QUMethod signal_8 = {"header", 1, param_signal_8 }; - static const QUParameter param_signal_9[] = { - { "request", &static_QUType_varptr, "\x04", QUParameter::In } + static const TQUMethod signal_8 = {"header", 1, param_signal_8 }; + static const TQUParameter param_signal_9[] = { + { "request", &static_TQUType_varptr, "\x04", TQUParameter::In } }; - static const QUMethod signal_9 = {"requestSent", 1, param_signal_9 }; - static const QMetaData signal_tbl[] = { - { "resolvingHost(const QString&)", &signal_0, QMetaData::Public }, - { "contactingHost(const QString&)", &signal_1, QMetaData::Public }, - { "connectionEstabilished()", &signal_2, QMetaData::Public }, - { "receivedResponse(const QString&)", &signal_3, QMetaData::Public }, - { "terminated(bool)", &signal_4, QMetaData::Public }, - { "status(const QString&)", &signal_5, QMetaData::Public }, - { "data(const KviStr&)", &signal_6, QMetaData::Public }, - { "binaryData(const KviDataBuffer&)", &signal_7, QMetaData::Public }, - { "header(KviPointerHashTable<const char*,KviStr>*)", &signal_8, QMetaData::Public }, - { "requestSent(const QStringList&)", &signal_9, QMetaData::Public } + static const TQUMethod signal_9 = {"requestSent", 1, param_signal_9 }; + static const TQMetaData signal_tbl[] = { + { "resolvingHost(const TQString&)", &signal_0, TQMetaData::Public }, + { "contactingHost(const TQString&)", &signal_1, TQMetaData::Public }, + { "connectionEstabilished()", &signal_2, TQMetaData::Public }, + { "receivedResponse(const TQString&)", &signal_3, TQMetaData::Public }, + { "terminated(bool)", &signal_4, TQMetaData::Public }, + { "status(const TQString&)", &signal_5, TQMetaData::Public }, + { "data(const KviStr&)", &signal_6, TQMetaData::Public }, + { "binaryData(const KviDataBuffer&)", &signal_7, TQMetaData::Public }, + { "header(KviPointerHashTable<const char*,KviStr>*)", &signal_8, TQMetaData::Public }, + { "requestSent(const TQStringList&)", &signal_9, TQMetaData::Public } }; - metaObj = QMetaObject::new_metaobject( - "KviHttpRequest", parentObject, + metaObj = TQMetaObject::new_metaobject( + "KviHttpRequest", tqparentObject, slot_tbl, 2, signal_tbl, 10, -#ifndef QT_NO_PROPERTIES +#ifndef TQT_NO_PROPERTIES 0, 0, 0, 0, -#endif // QT_NO_PROPERTIES +#endif // TQT_NO_PROPERTIES 0, 0 ); cleanUp_KviHttpRequest.setMetaObject( metaObj ); return metaObj; } -void* KviHttpRequest::qt_cast( const char* clname ) +void* KviHttpRequest::tqqt_cast( const char* clname ) { if ( !qstrcmp( clname, "KviHttpRequest" ) ) return this; if ( !qstrcmp( clname, "KviHeapObject" ) ) return (KviHeapObject*)this; - return QObject::qt_cast( clname ); + return TQObject::tqqt_cast( clname ); } -// SIGNAL resolvingHost -void KviHttpRequest::resolvingHost( const QString& t0 ) +// TQT_SIGNAL resolvingHost +void KviHttpRequest::resolvingHost( const TQString& t0 ) { activate_signal( staticMetaObject()->signalOffset() + 0, t0 ); } -// SIGNAL contactingHost -void KviHttpRequest::contactingHost( const QString& t0 ) +// TQT_SIGNAL contactingHost +void KviHttpRequest::contactingHost( const TQString& t0 ) { activate_signal( staticMetaObject()->signalOffset() + 1, t0 ); } -// SIGNAL connectionEstabilished +// TQT_SIGNAL connectionEstabilished void KviHttpRequest::connectionEstabilished() { activate_signal( staticMetaObject()->signalOffset() + 2 ); } -// SIGNAL receivedResponse -void KviHttpRequest::receivedResponse( const QString& t0 ) +// TQT_SIGNAL receivedResponse +void KviHttpRequest::receivedResponse( const TQString& t0 ) { activate_signal( staticMetaObject()->signalOffset() + 3, t0 ); } -// SIGNAL terminated +// TQT_SIGNAL terminated void KviHttpRequest::terminated( bool t0 ) { activate_signal_bool( staticMetaObject()->signalOffset() + 4, t0 ); } -// SIGNAL status -void KviHttpRequest::status( const QString& t0 ) +// TQT_SIGNAL status +void KviHttpRequest::status( const TQString& t0 ) { activate_signal( staticMetaObject()->signalOffset() + 5, t0 ); } -#include <qobjectdefs.h> -#include <qsignalslotimp.h> +#include <tqobjectdefs.h> +#include <tqtqsignalslotimp.h> -// SIGNAL data +// TQT_SIGNAL data void KviHttpRequest::data( const KviStr& t0 ) { if ( signalsBlocked() ) return; - QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 6 ); + TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 6 ); if ( !clist ) return; - QUObject o[2]; - static_QUType_ptr.set(o+1,&t0); + TQUObject o[2]; + static_TQUType_ptr.set(o+1,&t0); activate_signal( clist, o ); } -// SIGNAL binaryData +// TQT_SIGNAL binaryData void KviHttpRequest::binaryData( const KviDataBuffer& t0 ) { if ( signalsBlocked() ) return; - QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 7 ); + TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 7 ); if ( !clist ) return; - QUObject o[2]; - static_QUType_ptr.set(o+1,&t0); + TQUObject o[2]; + static_TQUType_ptr.set(o+1,&t0); activate_signal( clist, o ); } -// SIGNAL header +// TQT_SIGNAL header void KviHttpRequest::header( KviPointerHashTable<const char*,KviStr>* t0 ) { if ( signalsBlocked() ) return; - QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 8 ); + TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 8 ); if ( !clist ) return; - QUObject o[2]; - static_QUType_ptr.set(o+1,t0); + TQUObject o[2]; + static_TQUType_ptr.set(o+1,t0); activate_signal( clist, o ); } -// SIGNAL requestSent -void KviHttpRequest::requestSent( const QStringList& t0 ) +// TQT_SIGNAL requestSent +void KviHttpRequest::requestSent( const TQStringList& t0 ) { if ( signalsBlocked() ) return; - QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 9 ); + TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 9 ); if ( !clist ) return; - QUObject o[2]; - static_QUType_varptr.set(o+1,&t0); + TQUObject o[2]; + static_TQUType_varptr.set(o+1,&t0); activate_signal( clist, o ); } -bool KviHttpRequest::qt_invoke( int _id, QUObject* _o ) +bool KviHttpRequest::qt_invoke( int _id, TQUObject* _o ) { switch ( _id - staticMetaObject()->slotOffset() ) { - case 0: dnsLookupDone((KviDns*)static_QUType_ptr.get(_o+1)); break; + case 0: dnsLookupDone((KviDns*)static_TQUType_ptr.get(_o+1)); break; case 1: haveServerIp(); break; default: - return QObject::qt_invoke( _id, _o ); + return TQObject::qt_invoke( _id, _o ); } return TRUE; } -bool KviHttpRequest::qt_emit( int _id, QUObject* _o ) +bool KviHttpRequest::qt_emit( int _id, TQUObject* _o ) { switch ( _id - staticMetaObject()->signalOffset() ) { - case 0: resolvingHost((const QString&)static_QUType_QString.get(_o+1)); break; - case 1: contactingHost((const QString&)static_QUType_QString.get(_o+1)); break; + case 0: resolvingHost((const TQString&)static_TQUType_TQString.get(_o+1)); break; + case 1: contactingHost((const TQString&)static_TQUType_TQString.get(_o+1)); break; case 2: connectionEstabilished(); break; - case 3: receivedResponse((const QString&)static_QUType_QString.get(_o+1)); break; - case 4: terminated((bool)static_QUType_bool.get(_o+1)); break; - case 5: status((const QString&)static_QUType_QString.get(_o+1)); break; - case 6: data((const KviStr&)*((const KviStr*)static_QUType_ptr.get(_o+1))); break; - case 7: binaryData((const KviDataBuffer&)*((const KviDataBuffer*)static_QUType_ptr.get(_o+1))); break; - case 8: header((KviPointerHashTable<const char*,KviStr>*)static_QUType_ptr.get(_o+1)); break; - case 9: requestSent((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1))); break; + case 3: receivedResponse((const TQString&)static_TQUType_TQString.get(_o+1)); break; + case 4: terminated((bool)static_TQUType_bool.get(_o+1)); break; + case 5: status((const TQString&)static_TQUType_TQString.get(_o+1)); break; + case 6: data((const KviStr&)*((const KviStr*)static_TQUType_ptr.get(_o+1))); break; + case 7: binaryData((const KviDataBuffer&)*((const KviDataBuffer*)static_TQUType_ptr.get(_o+1))); break; + case 8: header((KviPointerHashTable<const char*,KviStr>*)static_TQUType_ptr.get(_o+1)); break; + case 9: requestSent((const TQStringList&)*((const TQStringList*)static_TQUType_ptr.get(_o+1))); break; default: - return QObject::qt_emit(_id,_o); + return TQObject::qt_emit(_id,_o); } return TRUE; } -#ifndef QT_NO_PROPERTIES +#ifndef TQT_NO_PROPERTIES -bool KviHttpRequest::qt_property( int id, int f, QVariant* v) +bool KviHttpRequest::qt_property( int id, int f, TQVariant* v) { - return QObject::qt_property( id, f, v); + return TQObject::qt_property( id, f, v); } -bool KviHttpRequest::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } -#endif // QT_NO_PROPERTIES +bool KviHttpRequest::qt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; } +#endif // TQT_NO_PROPERTIES |