00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "photogrotto.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'photogrotto.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.2.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 static const uint qt_meta_data_PhotoGrotto[] = {
00020
00021
00022 1,
00023 0,
00024 0, 0,
00025 2, 10,
00026 0, 0,
00027 0, 0,
00028
00029
00030 15, 13, 12, 12, 0x09,
00031 48, 12, 12, 12, 0x09,
00032
00033 0
00034 };
00035
00036 static const char qt_meta_stringdata_PhotoGrotto[] = {
00037 "PhotoGrotto\0\0,\0sendData(QTcpSocket*,QByteArray)\0"
00038 "haveCloseSocket(QTcpSocket*)\0"
00039 };
00040
00041 const QMetaObject PhotoGrotto::staticMetaObject = {
00042 { &QTcpServer::staticMetaObject, qt_meta_stringdata_PhotoGrotto,
00043 qt_meta_data_PhotoGrotto, 0 }
00044 };
00045
00046 const QMetaObject *PhotoGrotto::metaObject() const
00047 {
00048 return &staticMetaObject;
00049 }
00050
00051 void *PhotoGrotto::qt_metacast(const char *_clname)
00052 {
00053 if (!_clname) return 0;
00054 if (!strcmp(_clname, qt_meta_stringdata_PhotoGrotto))
00055 return static_cast<void*>(const_cast<PhotoGrotto*>(this));
00056 return QTcpServer::qt_metacast(_clname);
00057 }
00058
00059 int PhotoGrotto::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00060 {
00061 _id = QTcpServer::qt_metacall(_c, _id, _a);
00062 if (_id < 0)
00063 return _id;
00064 if (_c == QMetaObject::InvokeMetaMethod) {
00065 switch (_id) {
00066 case 0: sendData((*reinterpret_cast< QTcpSocket*(*)>(_a[1])),(*reinterpret_cast< QByteArray(*)>(_a[2]))); break;
00067 case 1: haveCloseSocket((*reinterpret_cast< QTcpSocket*(*)>(_a[1]))); break;
00068 }
00069 _id -= 2;
00070 }
00071 return _id;
00072 }