From: Roger Meier Date: Fri, 10 Feb 2012 21:08:36 +0000 (+0000) Subject: THRIFT-1348 C++ Qt bindings X-Git-Tag: 0.9.1~447 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=0bab154d9f3cac02b0c523e1e578bf5b87f494d0;p=common%2Fthrift.git THRIFT-1348 C++ Qt bindings fix: remove moc_TQTcpServer.cpp (was added by accident) git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1242921 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/cpp/src/qt/moc_TQTcpServer.cpp b/lib/cpp/src/qt/moc_TQTcpServer.cpp deleted file mode 100644 index 0e94da92..00000000 --- a/lib/cpp/src/qt/moc_TQTcpServer.cpp +++ /dev/null @@ -1,85 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'TQTcpServer.h' -** -** Created: Thu Feb 9 20:47:09 2012 -** by: The Qt Meta Object Compiler version 62 (Qt 4.6.3) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "TQTcpServer.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'TQTcpServer.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 62 -#error "This file was generated using the moc from 4.6.3. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_apache__thrift__async__TQTcpServer[] = { - - // content: - 4, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 36, 35, 35, 35, 0x08, - 54, 35, 35, 35, 0x08, - 68, 35, 35, 35, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_apache__thrift__async__TQTcpServer[] = { - "apache::thrift::async::TQTcpServer\0\0" - "processIncoming()\0beginDecode()\0" - "socketClosed()\0" -}; - -const QMetaObject apache::thrift::async::TQTcpServer::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_apache__thrift__async__TQTcpServer, - qt_meta_data_apache__thrift__async__TQTcpServer, 0 } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &apache::thrift::async::TQTcpServer::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *apache::thrift::async::TQTcpServer::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *apache::thrift::async::TQTcpServer::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_apache__thrift__async__TQTcpServer)) - return static_cast(const_cast< TQTcpServer*>(this)); - return QObject::qt_metacast(_clname); -} - -int apache::thrift::async::TQTcpServer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - switch (_id) { - case 0: processIncoming(); break; - case 1: beginDecode(); break; - case 2: socketClosed(); break; - default: ; - } - _id -= 3; - } - return _id; -} -QT_END_MOC_NAMESPACE