diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 19:30:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 19:30:05 +0000 |
commit | 3370a9d7da4248d8413fbbea043a409ef8dd6c67 (patch) | |
tree | e77e4df00fe133712001ef3657c0e5c23dd5ece8 /src/kvilib/net | |
parent | fd6a8c5d37835bb9a18e0bca5db86a7e4323dfdb (diff) | |
download | kvirc-3370a9d7da4248d8413fbbea043a409ef8dd6c67.tar.gz kvirc-3370a9d7da4248d8413fbbea043a409ef8dd6c67.zip |
Delete kvirc moc files, as they are autogenerated at build time
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238725 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kvilib/net')
-rw-r--r-- | src/kvilib/net/moc_kvi_dns.cpp | 137 | ||||
-rw-r--r-- | src/kvilib/net/moc_kvi_http.cpp | 263 |
2 files changed, 0 insertions, 400 deletions
diff --git a/src/kvilib/net/moc_kvi_dns.cpp b/src/kvilib/net/moc_kvi_dns.cpp deleted file mode 100644 index cb25e6c7..00000000 --- a/src/kvilib/net/moc_kvi_dns.cpp +++ /dev/null @@ -1,137 +0,0 @@ -/**************************************************************************** -** KviDns meta object code from reading C++ file 'kvi_dns.h' -** -** Created: Sun Mar 23 20:56:20 2008 -** 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 TQT_NO_COMPAT -#include "kvi_dns.h" -#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 - -#include <tqvariant.h> -const char *KviDns::className() const -{ - return "KviDns"; -} - -TQMetaObject *KviDns::metaObj = 0; -static TQMetaObjectCleanUp cleanUp_KviDns( "KviDns", &KviDns::staticMetaObject ); - -#ifndef TQT_NO_TRANSLATION -TQString KviDns::tr( const char *s, const char *c ) -{ - if ( tqApp ) - return tqApp->translate( "KviDns", s, c, TQApplication::DefaultCodec ); - else - return TQString::tqfromLatin1( s ); -} -#ifndef TQT_NO_TRANSLATION_UTF8 -TQString KviDns::trUtf8( const char *s, const char *c ) -{ - if ( tqApp ) - return tqApp->translate( "KviDns", s, c, TQApplication::UnicodeUTF8 ); - else - return TQString::fromUtf8( s ); -} -#endif // TQT_NO_TRANSLATION_UTF8 - -#endif // TQT_NO_TRANSLATION - -TQMetaObject* KviDns::staticMetaObject() -{ - if ( metaObj ) - return metaObj; - TQMetaObject* tqparentObject = TQObject::staticMetaObject(); - static const TQUParameter param_signal_0[] = { - { 0, &static_TQUType_ptr, "KviDns", TQUParameter::In } - }; - static const TQUMethod signal_0 = {"lookupDone", 1, param_signal_0 }; - static const TQMetaData signal_tbl[] = { - { "lookupDone(KviDns*)", &signal_0, TQMetaData::Private } - }; -#ifndef TQT_NO_PROPERTIES - static const TQMetaProperty props_tbl[1] = { - { "bool","blockingDelete", 0x12000001, &KviDns::metaObj, 0, -1 } - }; -#endif // TQT_NO_PROPERTIES - metaObj = TQMetaObject::new_metaobject( - "KviDns", tqparentObject, - 0, 0, - signal_tbl, 1, -#ifndef TQT_NO_PROPERTIES - props_tbl, 1, - 0, 0, -#endif // TQT_NO_PROPERTIES - 0, 0 ); - cleanUp_KviDns.setMetaObject( metaObj ); - return metaObj; -} - -void* KviDns::tqqt_cast( const char* clname ) -{ - if ( !qstrcmp( clname, "KviDns" ) ) - return this; - if ( !qstrcmp( clname, "KviHeapObject" ) ) - return (KviHeapObject*)this; - return TQObject::tqqt_cast( clname ); -} - -#include <tqobjectdefs.h> -#include <tqtqsignalslotimp.h> - -// TQT_SIGNAL lookupDone -void KviDns::lookupDone( KviDns* t0 ) -{ - if ( signalsBlocked() ) - return; - TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 0 ); - if ( !clist ) - return; - TQUObject o[2]; - static_TQUType_ptr.set(o+1,t0); - activate_signal( clist, o ); -} - -bool KviDns::qt_invoke( int _id, TQUObject* _o ) -{ - return TQObject::qt_invoke(_id,_o); -} - -bool KviDns::qt_emit( int _id, TQUObject* _o ) -{ - switch ( _id - staticMetaObject()->signalOffset() ) { - case 0: lookupDone((KviDns*)static_TQUType_ptr.get(_o+1)); break; - default: - return TQObject::qt_emit(_id,_o); - } - return TRUE; -} -#ifndef TQT_NO_PROPERTIES - -bool KviDns::qt_property( int id, int f, TQVariant* v) -{ - switch ( id - staticMetaObject()->propertyOffset() ) { - case 0: switch( f ) { - case 1: *v = TQVariant( this->isRunning(), 0 ); break; - case 3: case 4: case 5: break; - default: return FALSE; - } break; - default: - return TQObject::qt_property( id, f, v ); - } - return TRUE; -} - -bool KviDns::qt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; } -#endif // TQT_NO_PROPERTIES diff --git a/src/kvilib/net/moc_kvi_http.cpp b/src/kvilib/net/moc_kvi_http.cpp deleted file mode 100644 index 632ce590..00000000 --- a/src/kvilib/net/moc_kvi_http.cpp +++ /dev/null @@ -1,263 +0,0 @@ -/**************************************************************************** -** KviHttpRequest meta object code from reading C++ file 'kvi_http.h' -** -** Created: Sun Mar 23 20:56:22 2008 -** 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 TQT_NO_COMPAT -#include "kvi_http.h" -#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 *KviHttpRequest::className() const -{ - return "KviHttpRequest"; -} - -TQMetaObject *KviHttpRequest::metaObj = 0; -static TQMetaObjectCleanUp cleanUp_KviHttpRequest( "KviHttpRequest", &KviHttpRequest::staticMetaObject ); - -#ifndef TQT_NO_TRANSLATION -TQString KviHttpRequest::tr( const char *s, const char *c ) -{ - if ( tqApp ) - return tqApp->translate( "KviHttpRequest", s, c, TQApplication::DefaultCodec ); - else - return TQString::tqfromLatin1( s ); -} -#ifndef TQT_NO_TRANSLATION_UTF8 -TQString KviHttpRequest::trUtf8( const char *s, const char *c ) -{ - if ( tqApp ) - return tqApp->translate( "KviHttpRequest", s, c, TQApplication::UnicodeUTF8 ); - else - return TQString::fromUtf8( s ); -} -#endif // TQT_NO_TRANSLATION_UTF8 - -#endif // TQT_NO_TRANSLATION - -TQMetaObject* KviHttpRequest::staticMetaObject() -{ - if ( metaObj ) - return metaObj; - TQMetaObject* tqparentObject = TQObject::staticMetaObject(); - static const TQUParameter param_slot_0[] = { - { "d", &static_TQUType_ptr, "KviDns", TQUParameter::In } - }; - 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 TQUParameter param_signal_0[] = { - { "hostname", &static_TQUType_TQString, 0, TQUParameter::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 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 TQUMethod signal_3 = {"receivedResponse", 1, param_signal_3 }; - static const TQUParameter param_signal_4[] = { - { "bSuccess", &static_TQUType_bool, 0, TQUParameter::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 TQUMethod signal_5 = {"status", 1, param_signal_5 }; - static const TQUParameter param_signal_6[] = { - { "data", &static_TQUType_ptr, "KviStr", TQUParameter::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 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 TQUMethod signal_8 = {"header", 1, param_signal_8 }; - static const TQUParameter param_signal_9[] = { - { "request", &static_TQUType_varptr, "\x04", TQUParameter::In } - }; - 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 = TQMetaObject::new_metaobject( - "KviHttpRequest", tqparentObject, - slot_tbl, 2, - signal_tbl, 10, -#ifndef TQT_NO_PROPERTIES - 0, 0, - 0, 0, -#endif // TQT_NO_PROPERTIES - 0, 0 ); - cleanUp_KviHttpRequest.setMetaObject( metaObj ); - return metaObj; -} - -void* KviHttpRequest::tqqt_cast( const char* clname ) -{ - if ( !qstrcmp( clname, "KviHttpRequest" ) ) - return this; - if ( !qstrcmp( clname, "KviHeapObject" ) ) - return (KviHeapObject*)this; - return TQObject::tqqt_cast( clname ); -} - -// TQT_SIGNAL resolvingHost -void KviHttpRequest::resolvingHost( const TQString& t0 ) -{ - activate_signal( staticMetaObject()->signalOffset() + 0, t0 ); -} - -// TQT_SIGNAL contactingHost -void KviHttpRequest::contactingHost( const TQString& t0 ) -{ - activate_signal( staticMetaObject()->signalOffset() + 1, t0 ); -} - -// TQT_SIGNAL connectionEstabilished -void KviHttpRequest::connectionEstabilished() -{ - activate_signal( staticMetaObject()->signalOffset() + 2 ); -} - -// TQT_SIGNAL receivedResponse -void KviHttpRequest::receivedResponse( const TQString& t0 ) -{ - activate_signal( staticMetaObject()->signalOffset() + 3, t0 ); -} - -// TQT_SIGNAL terminated -void KviHttpRequest::terminated( bool t0 ) -{ - activate_signal_bool( staticMetaObject()->signalOffset() + 4, t0 ); -} - -// TQT_SIGNAL status -void KviHttpRequest::status( const TQString& t0 ) -{ - activate_signal( staticMetaObject()->signalOffset() + 5, t0 ); -} - -#include <tqobjectdefs.h> -#include <tqtqsignalslotimp.h> - -// TQT_SIGNAL data -void KviHttpRequest::data( const KviStr& t0 ) -{ - if ( signalsBlocked() ) - return; - TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 6 ); - if ( !clist ) - return; - TQUObject o[2]; - static_TQUType_ptr.set(o+1,&t0); - activate_signal( clist, o ); -} - -// TQT_SIGNAL binaryData -void KviHttpRequest::binaryData( const KviDataBuffer& t0 ) -{ - if ( signalsBlocked() ) - return; - TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 7 ); - if ( !clist ) - return; - TQUObject o[2]; - static_TQUType_ptr.set(o+1,&t0); - activate_signal( clist, o ); -} - -// TQT_SIGNAL header -void KviHttpRequest::header( KviPointerHashTable<const char*,KviStr>* t0 ) -{ - if ( signalsBlocked() ) - return; - TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 8 ); - if ( !clist ) - return; - TQUObject o[2]; - static_TQUType_ptr.set(o+1,t0); - activate_signal( clist, o ); -} - -// TQT_SIGNAL requestSent -void KviHttpRequest::requestSent( const TQStringList& t0 ) -{ - if ( signalsBlocked() ) - return; - TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 9 ); - if ( !clist ) - return; - TQUObject o[2]; - static_TQUType_varptr.set(o+1,&t0); - activate_signal( clist, o ); -} - -bool KviHttpRequest::qt_invoke( int _id, TQUObject* _o ) -{ - switch ( _id - staticMetaObject()->slotOffset() ) { - case 0: dnsLookupDone((KviDns*)static_TQUType_ptr.get(_o+1)); break; - case 1: haveServerIp(); break; - default: - return TQObject::qt_invoke( _id, _o ); - } - return TRUE; -} - -bool KviHttpRequest::qt_emit( int _id, TQUObject* _o ) -{ - switch ( _id - staticMetaObject()->signalOffset() ) { - 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 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 TQObject::qt_emit(_id,_o); - } - return TRUE; -} -#ifndef TQT_NO_PROPERTIES - -bool KviHttpRequest::qt_property( int id, int f, TQVariant* v) -{ - return TQObject::qt_property( id, f, v); -} - -bool KviHttpRequest::qt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; } -#endif // TQT_NO_PROPERTIES |