diff options
Diffstat (limited to 'src/kvirc/kernel/moc_kvi_ircconnection.cpp')
-rw-r--r-- | src/kvirc/kernel/moc_kvi_ircconnection.cpp | 180 |
1 files changed, 90 insertions, 90 deletions
diff --git a/src/kvirc/kernel/moc_kvi_ircconnection.cpp b/src/kvirc/kernel/moc_kvi_ircconnection.cpp index dbe025a5..4e646655 100644 --- a/src/kvirc/kernel/moc_kvi_ircconnection.cpp +++ b/src/kvirc/kernel/moc_kvi_ircconnection.cpp @@ -2,21 +2,21 @@ ** KviIrcConnection meta object code from reading C++ file 'kvi_ircconnection.h' ** ** Created: Mon Feb 25 00:11:48 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_ircconnection.h" -#include <qmetaobject.h> -#include <qapplication.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 <tqmetaobject.h> +#include <tqapplication.h> + +#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 *KviIrcConnection::className() const @@ -24,145 +24,145 @@ const char *KviIrcConnection::className() const return "KviIrcConnection"; } -QMetaObject *KviIrcConnection::metaObj = 0; -static QMetaObjectCleanUp cleanUp_KviIrcConnection( "KviIrcConnection", &KviIrcConnection::staticMetaObject ); +TQMetaObject *KviIrcConnection::metaObj = 0; +static TQMetaObjectCleanUp cleanUp_KviIrcConnection( "KviIrcConnection", &KviIrcConnection::staticMetaObject ); -#ifndef QT_NO_TRANSLATION -QString KviIrcConnection::tr( const char *s, const char *c ) +#ifndef TQT_NO_TRANSLATION +TQString KviIrcConnection::tr( const char *s, const char *c ) { - if ( qApp ) - return qApp->translate( "KviIrcConnection", s, c, QApplication::DefaultCodec ); + if ( tqApp ) + return tqApp->translate( "KviIrcConnection", s, c, TQApplication::DefaultCodec ); else - return QString::fromLatin1( s ); + return TQString::tqfromLatin1( s ); } -#ifndef QT_NO_TRANSLATION_UTF8 -QString KviIrcConnection::trUtf8( const char *s, const char *c ) +#ifndef TQT_NO_TRANSLATION_UTF8 +TQString KviIrcConnection::trUtf8( const char *s, const char *c ) { - if ( qApp ) - return qApp->translate( "KviIrcConnection", s, c, QApplication::UnicodeUTF8 ); + if ( tqApp ) + return tqApp->translate( "KviIrcConnection", 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* KviIrcConnection::staticMetaObject() +TQMetaObject* KviIrcConnection::staticMetaObject() { if ( metaObj ) return metaObj; - QMetaObject* parentObject = QObject::staticMetaObject(); - static const QUMethod slot_0 = {"partAllChannels", 0, 0 }; - static const QUMethod slot_1 = {"unhighlightAllChannels", 0, 0 }; - static const QUMethod slot_2 = {"unhighlightAllQueries", 0, 0 }; - static const QUMethod slot_3 = {"restartNotifyList", 0, 0 }; - static const QUMethod slot_4 = {"closeAllQueries", 0, 0 }; - static const QUParameter param_slot_5[] = { - { "pDns", &static_QUType_ptr, "KviDns", QUParameter::In } + TQMetaObject* tqparentObject = TQObject::staticMetaObject(); + static const TQUMethod slot_0 = {"partAllChannels", 0, 0 }; + static const TQUMethod slot_1 = {"unhighlightAllChannels", 0, 0 }; + static const TQUMethod slot_2 = {"unhighlightAllQueries", 0, 0 }; + static const TQUMethod slot_3 = {"restartNotifyList", 0, 0 }; + static const TQUMethod slot_4 = {"closeAllQueries", 0, 0 }; + static const TQUParameter param_slot_5[] = { + { "pDns", &static_TQUType_ptr, "KviDns", TQUParameter::In } }; - static const QUMethod slot_5 = {"hostNameLookupTerminated", 1, param_slot_5 }; - static const QMetaData slot_tbl[] = { - { "partAllChannels()", &slot_0, QMetaData::Public }, - { "unhighlightAllChannels()", &slot_1, QMetaData::Public }, - { "unhighlightAllQueries()", &slot_2, QMetaData::Public }, - { "restartNotifyList()", &slot_3, QMetaData::Public }, - { "closeAllQueries()", &slot_4, QMetaData::Public }, - { "hostNameLookupTerminated(KviDns*)", &slot_5, QMetaData::Private } + static const TQUMethod slot_5 = {"hostNameLookupTerminated", 1, param_slot_5 }; + static const TQMetaData slot_tbl[] = { + { "partAllChannels()", &slot_0, TQMetaData::Public }, + { "unhighlightAllChannels()", &slot_1, TQMetaData::Public }, + { "unhighlightAllQueries()", &slot_2, TQMetaData::Public }, + { "restartNotifyList()", &slot_3, TQMetaData::Public }, + { "closeAllQueries()", &slot_4, TQMetaData::Public }, + { "hostNameLookupTerminated(KviDns*)", &slot_5, TQMetaData::Private } }; - static const QUMethod signal_0 = {"awayStateChanged", 0, 0 }; - static const QUMethod signal_1 = {"userModeChanged", 0, 0 }; - static const QUMethod signal_2 = {"nickNameChanged", 0, 0 }; - static const QUParameter param_signal_3[] = { - { 0, &static_QUType_ptr, "KviChannel", QUParameter::In } + static const TQUMethod signal_0 = {"awayStateChanged", 0, 0 }; + static const TQUMethod signal_1 = {"userModeChanged", 0, 0 }; + static const TQUMethod signal_2 = {"nickNameChanged", 0, 0 }; + static const TQUParameter param_signal_3[] = { + { 0, &static_TQUType_ptr, "KviChannel", TQUParameter::In } }; - static const QUMethod signal_3 = {"channelRegistered", 1, param_signal_3 }; - static const QUParameter param_signal_4[] = { - { 0, &static_QUType_ptr, "KviChannel", QUParameter::In } + static const TQUMethod signal_3 = {"channelRegistered", 1, param_signal_3 }; + static const TQUParameter param_signal_4[] = { + { 0, &static_TQUType_ptr, "KviChannel", TQUParameter::In } }; - static const QUMethod signal_4 = {"channelUnregistered", 1, param_signal_4 }; - static const QUMethod signal_5 = {"chanListChanged", 0, 0 }; - static const QMetaData signal_tbl[] = { - { "awayStateChanged()", &signal_0, QMetaData::Public }, - { "userModeChanged()", &signal_1, QMetaData::Public }, - { "nickNameChanged()", &signal_2, QMetaData::Public }, - { "channelRegistered(KviChannel*)", &signal_3, QMetaData::Public }, - { "channelUnregistered(KviChannel*)", &signal_4, QMetaData::Public }, - { "chanListChanged()", &signal_5, QMetaData::Public } + static const TQUMethod signal_4 = {"channelUnregistered", 1, param_signal_4 }; + static const TQUMethod signal_5 = {"chanListChanged", 0, 0 }; + static const TQMetaData signal_tbl[] = { + { "awayStateChanged()", &signal_0, TQMetaData::Public }, + { "userModeChanged()", &signal_1, TQMetaData::Public }, + { "nickNameChanged()", &signal_2, TQMetaData::Public }, + { "channelRegistered(KviChannel*)", &signal_3, TQMetaData::Public }, + { "channelUnregistered(KviChannel*)", &signal_4, TQMetaData::Public }, + { "chanListChanged()", &signal_5, TQMetaData::Public } }; - metaObj = QMetaObject::new_metaobject( - "KviIrcConnection", parentObject, + metaObj = TQMetaObject::new_metaobject( + "KviIrcConnection", tqparentObject, slot_tbl, 6, signal_tbl, 6, -#ifndef QT_NO_PROPERTIES +#ifndef TQT_NO_PROPERTIES 0, 0, 0, 0, -#endif // QT_NO_PROPERTIES +#endif // TQT_NO_PROPERTIES 0, 0 ); cleanUp_KviIrcConnection.setMetaObject( metaObj ); return metaObj; } -void* KviIrcConnection::qt_cast( const char* clname ) +void* KviIrcConnection::tqqt_cast( const char* clname ) { if ( !qstrcmp( clname, "KviIrcConnection" ) ) return this; - return QObject::qt_cast( clname ); + return TQObject::tqqt_cast( clname ); } -// SIGNAL awayStateChanged +// TQT_SIGNAL awayStateChanged void KviIrcConnection::awayStateChanged() { activate_signal( staticMetaObject()->signalOffset() + 0 ); } -// SIGNAL userModeChanged +// TQT_SIGNAL userModeChanged void KviIrcConnection::userModeChanged() { activate_signal( staticMetaObject()->signalOffset() + 1 ); } -// SIGNAL nickNameChanged +// TQT_SIGNAL nickNameChanged void KviIrcConnection::nickNameChanged() { activate_signal( staticMetaObject()->signalOffset() + 2 ); } -#include <qobjectdefs.h> -#include <qsignalslotimp.h> +#include <tqobjectdefs.h> +#include <tqtqsignalslotimp.h> -// SIGNAL channelRegistered +// TQT_SIGNAL channelRegistered void KviIrcConnection::channelRegistered( KviChannel* t0 ) { if ( signalsBlocked() ) return; - QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 3 ); + TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 3 ); 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 channelUnregistered +// TQT_SIGNAL channelUnregistered void KviIrcConnection::channelUnregistered( KviChannel* t0 ) { if ( signalsBlocked() ) return; - QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 4 ); + TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 4 ); 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 chanListChanged +// TQT_SIGNAL chanListChanged void KviIrcConnection::chanListChanged() { activate_signal( staticMetaObject()->signalOffset() + 5 ); } -bool KviIrcConnection::qt_invoke( int _id, QUObject* _o ) +bool KviIrcConnection::qt_invoke( int _id, TQUObject* _o ) { switch ( _id - staticMetaObject()->slotOffset() ) { case 0: partAllChannels(); break; @@ -170,33 +170,33 @@ bool KviIrcConnection::qt_invoke( int _id, QUObject* _o ) case 2: unhighlightAllQueries(); break; case 3: restartNotifyList(); break; case 4: closeAllQueries(); break; - case 5: hostNameLookupTerminated((KviDns*)static_QUType_ptr.get(_o+1)); break; + case 5: hostNameLookupTerminated((KviDns*)static_TQUType_ptr.get(_o+1)); break; default: - return QObject::qt_invoke( _id, _o ); + return TQObject::qt_invoke( _id, _o ); } return TRUE; } -bool KviIrcConnection::qt_emit( int _id, QUObject* _o ) +bool KviIrcConnection::qt_emit( int _id, TQUObject* _o ) { switch ( _id - staticMetaObject()->signalOffset() ) { case 0: awayStateChanged(); break; case 1: userModeChanged(); break; case 2: nickNameChanged(); break; - case 3: channelRegistered((KviChannel*)static_QUType_ptr.get(_o+1)); break; - case 4: channelUnregistered((KviChannel*)static_QUType_ptr.get(_o+1)); break; + case 3: channelRegistered((KviChannel*)static_TQUType_ptr.get(_o+1)); break; + case 4: channelUnregistered((KviChannel*)static_TQUType_ptr.get(_o+1)); break; case 5: chanListChanged(); 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 KviIrcConnection::qt_property( int id, int f, QVariant* v) +bool KviIrcConnection::qt_property( int id, int f, TQVariant* v) { - return QObject::qt_property( id, f, v); + return TQObject::qt_property( id, f, v); } -bool KviIrcConnection::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } -#endif // QT_NO_PROPERTIES +bool KviIrcConnection::qt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; } +#endif // TQT_NO_PROPERTIES |