00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "networkinput.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'networkinput.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 62
00014 #error "This file was generated using the moc from 4.6.1. It"
00015 #error "cannot be used with the include files from this version of Qt."
00016 #error "(The moc has changed too much.)"
00017 #endif
00018
00019 QT_BEGIN_MOC_NAMESPACE
00020 static const uint qt_meta_data_NetworkInput[] = {
00021
00022
00023 4,
00024 0,
00025 0, 0,
00026 3, 14,
00027 0, 0,
00028 0, 0,
00029 0, 0,
00030 0,
00031 1,
00032
00033
00034 14, 13, 13, 13, 0x05,
00035
00036
00037 31, 13, 13, 13, 0x0a,
00038 46, 13, 13, 13, 0x0a,
00039
00040 0
00041 };
00042
00043 static const char qt_meta_stringdata_NetworkInput[] = {
00044 "NetworkInput\0\0message(QString)\0"
00045 "s_checkReady()\0s_onReceiveReady(QNetworkReply*)\0"
00046 };
00047
00048 const QMetaObject NetworkInput::staticMetaObject = {
00049 { &QWidget::staticMetaObject, qt_meta_stringdata_NetworkInput,
00050 qt_meta_data_NetworkInput, 0 }
00051 };
00052
00053 #ifdef Q_NO_DATA_RELOCATION
00054 const QMetaObject &NetworkInput::getStaticMetaObject() { return staticMetaObject; }
00055 #endif //Q_NO_DATA_RELOCATION
00056
00057 const QMetaObject *NetworkInput::metaObject() const
00058 {
00059 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
00060 }
00061
00062 void *NetworkInput::qt_metacast(const char *_clname)
00063 {
00064 if (!_clname) return 0;
00065 if (!strcmp(_clname, qt_meta_stringdata_NetworkInput))
00066 return static_cast<void*>(const_cast< NetworkInput*>(this));
00067 return QWidget::qt_metacast(_clname);
00068 }
00069
00070 int NetworkInput::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00071 {
00072 _id = QWidget::qt_metacall(_c, _id, _a);
00073 if (_id < 0)
00074 return _id;
00075 if (_c == QMetaObject::InvokeMetaMethod) {
00076 switch (_id) {
00077 case 0: message((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00078 case 1: s_checkReady(); break;
00079 case 2: s_onReceiveReady((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
00080 default: ;
00081 }
00082 _id -= 3;
00083 }
00084 return _id;
00085 }
00086
00087
00088 void NetworkInput::message(const QString & _t1)
00089 {
00090 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00091 QMetaObject::activate(this, &staticMetaObject, 0, _a);
00092 }
00093 QT_END_MOC_NAMESPACE