source: trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/amcreportsocket.moc.cpp@ 3401

Last change on this file since 3401 was 3401, checked in by merck, 21 years ago
nitial checkin of AMC project
File size: 6.4 KB
Line 
1/****************************************************************************
2** AMCReportSocket meta object code from reading C++ file 'amcreportsocket.h'
3**
4** Created: Thu Feb 5 20:13:24 2004
5** by: The Qt MOC ($Id: amcreportsocket.moc.cpp,v 1.1 2004-03-04 16:31:17 merck Exp $)
6**
7** WARNING! All changes made in this file will be lost!
8*****************************************************************************/
9
10#if !defined(Q_MOC_OUTPUT_REVISION)
11#define Q_MOC_OUTPUT_REVISION 9
12#elif Q_MOC_OUTPUT_REVISION != 9
13#error "Moc format conflict - please regenerate all moc files"
14#endif
15
16#include "amcreportsocket.h"
17#include <qmetaobject.h>
18#include <qapplication.h>
19
20
21
22const char *AMCReportSocket::className() const
23{
24 return "AMCReportSocket";
25}
26
27QMetaObject *AMCReportSocket::metaObj = 0;
28
29void AMCReportSocket::initMetaObject()
30{
31 if ( metaObj )
32 return;
33 if ( qstrcmp(QObject::className(), "QObject") != 0 )
34 badSuperclassWarning("AMCReportSocket","QObject");
35 (void) staticMetaObject();
36}
37
38#ifndef QT_NO_TRANSLATION
39
40QString AMCReportSocket::tr(const char* s)
41{
42 return qApp->translate( "AMCReportSocket", s, 0 );
43}
44
45QString AMCReportSocket::tr(const char* s, const char * c)
46{
47 return qApp->translate( "AMCReportSocket", s, c );
48}
49
50#endif // QT_NO_TRANSLATION
51
52QMetaObject* AMCReportSocket::staticMetaObject()
53{
54 if ( metaObj )
55 return metaObj;
56 (void) QObject::staticMetaObject();
57#ifndef QT_NO_PROPERTIES
58#endif // QT_NO_PROPERTIES
59 typedef void (AMCReportSocket::*m1_t0)();
60 typedef void (QObject::*om1_t0)();
61 typedef void (AMCReportSocket::*m1_t1)();
62 typedef void (QObject::*om1_t1)();
63 typedef void (AMCReportSocket::*m1_t2)();
64 typedef void (QObject::*om1_t2)();
65 typedef void (AMCReportSocket::*m1_t3)();
66 typedef void (QObject::*om1_t3)();
67 typedef void (AMCReportSocket::*m1_t4)();
68 typedef void (QObject::*om1_t4)();
69 typedef void (AMCReportSocket::*m1_t5)(int);
70 typedef void (QObject::*om1_t5)(int);
71 typedef void (AMCReportSocket::*m1_t6)(int);
72 typedef void (QObject::*om1_t6)(int);
73 typedef void (AMCReportSocket::*m1_t7)();
74 typedef void (QObject::*om1_t7)();
75 m1_t0 v1_0 = &AMCReportSocket::hostFound;
76 om1_t0 ov1_0 = (om1_t0)v1_0;
77 m1_t1 v1_1 = &AMCReportSocket::connected;
78 om1_t1 ov1_1 = (om1_t1)v1_1;
79 m1_t2 v1_2 = &AMCReportSocket::connectionClosed;
80 om1_t2 ov1_2 = (om1_t2)v1_2;
81 m1_t3 v1_3 = &AMCReportSocket::delayedCloseFinished;
82 om1_t3 ov1_3 = (om1_t3)v1_3;
83 m1_t4 v1_4 = &AMCReportSocket::readyRead;
84 om1_t4 ov1_4 = (om1_t4)v1_4;
85 m1_t5 v1_5 = &AMCReportSocket::bytesWritten;
86 om1_t5 ov1_5 = (om1_t5)v1_5;
87 m1_t6 v1_6 = &AMCReportSocket::error;
88 om1_t6 ov1_6 = (om1_t6)v1_6;
89 m1_t7 v1_7 = &AMCReportSocket::sendReport;
90 om1_t7 ov1_7 = (om1_t7)v1_7;
91 QMetaData *slot_tbl = QMetaObject::new_metadata(8);
92 QMetaData::Access *slot_tbl_access = QMetaObject::new_metaaccess(8);
93 slot_tbl[0].name = "hostFound()";
94 slot_tbl[0].ptr = (QMember)ov1_0;
95 slot_tbl_access[0] = QMetaData::Private;
96 slot_tbl[1].name = "connected()";
97 slot_tbl[1].ptr = (QMember)ov1_1;
98 slot_tbl_access[1] = QMetaData::Private;
99 slot_tbl[2].name = "connectionClosed()";
100 slot_tbl[2].ptr = (QMember)ov1_2;
101 slot_tbl_access[2] = QMetaData::Private;
102 slot_tbl[3].name = "delayedCloseFinished()";
103 slot_tbl[3].ptr = (QMember)ov1_3;
104 slot_tbl_access[3] = QMetaData::Private;
105 slot_tbl[4].name = "readyRead()";
106 slot_tbl[4].ptr = (QMember)ov1_4;
107 slot_tbl_access[4] = QMetaData::Private;
108 slot_tbl[5].name = "bytesWritten(int)";
109 slot_tbl[5].ptr = (QMember)ov1_5;
110 slot_tbl_access[5] = QMetaData::Private;
111 slot_tbl[6].name = "error(int)";
112 slot_tbl[6].ptr = (QMember)ov1_6;
113 slot_tbl_access[6] = QMetaData::Private;
114 slot_tbl[7].name = "sendReport()";
115 slot_tbl[7].ptr = (QMember)ov1_7;
116 slot_tbl_access[7] = QMetaData::Private;
117 typedef void (AMCReportSocket::*m2_t0)();
118 typedef void (QObject::*om2_t0)();
119 typedef void (AMCReportSocket::*m2_t1)();
120 typedef void (QObject::*om2_t1)();
121 typedef void (AMCReportSocket::*m2_t2)(QDateTime&,QString&);
122 typedef void (QObject::*om2_t2)(QDateTime&,QString&);
123 m2_t0 v2_0 = &AMCReportSocket::ccConnectionRefused;
124 om2_t0 ov2_0 = (om2_t0)v2_0;
125 m2_t1 v2_1 = &AMCReportSocket::ccConnected;
126 om2_t1 ov2_1 = (om2_t1)v2_1;
127 m2_t2 v2_2 = &AMCReportSocket::reportDelivered;
128 om2_t2 ov2_2 = (om2_t2)v2_2;
129 QMetaData *signal_tbl = QMetaObject::new_metadata(3);
130 signal_tbl[0].name = "ccConnectionRefused()";
131 signal_tbl[0].ptr = (QMember)ov2_0;
132 signal_tbl[1].name = "ccConnected()";
133 signal_tbl[1].ptr = (QMember)ov2_1;
134 signal_tbl[2].name = "reportDelivered(QDateTime&,QString&)";
135 signal_tbl[2].ptr = (QMember)ov2_2;
136 metaObj = QMetaObject::new_metaobject(
137 "AMCReportSocket", "QObject",
138 slot_tbl, 8,
139 signal_tbl, 3,
140#ifndef QT_NO_PROPERTIES
141 0, 0,
142 0, 0,
143#endif // QT_NO_PROPERTIES
144 0, 0 );
145 metaObj->set_slot_access( slot_tbl_access );
146#ifndef QT_NO_PROPERTIES
147#endif // QT_NO_PROPERTIES
148 return metaObj;
149}
150
151// SIGNAL ccConnectionRefused
152void AMCReportSocket::ccConnectionRefused()
153{
154 activate_signal( "ccConnectionRefused()" );
155}
156
157// SIGNAL ccConnected
158void AMCReportSocket::ccConnected()
159{
160 activate_signal( "ccConnected()" );
161}
162
163#include <qobjectdefs.h>
164#include <qsignalslotimp.h>
165
166// SIGNAL reportDelivered
167void AMCReportSocket::reportDelivered( QDateTime& t0, QString& t1 )
168{
169 // No builtin function for signal parameter type QDateTime&,QString&
170 QConnectionList *clist = receivers("reportDelivered(QDateTime&,QString&)");
171 if ( !clist || signalsBlocked() )
172 return;
173 typedef void (QObject::*RT0)();
174 typedef void (QObject::*RT1)(QDateTime&);
175 typedef void (QObject::*RT2)(QDateTime&,QString&);
176 RT0 r0;
177 RT1 r1;
178 RT2 r2;
179 QConnectionListIt it(*clist);
180 QConnection *c;
181 QSenderObject *object;
182 while ( (c=it.current()) ) {
183 ++it;
184 object = (QSenderObject*)c->object();
185 object->setSender( this );
186 switch ( c->numArgs() ) {
187 case 0:
188#ifdef Q_FP_CCAST_BROKEN
189 r0 = reinterpret_cast<RT0>(*(c->member()));
190#else
191 r0 = (RT0)*(c->member());
192#endif
193 (object->*r0)();
194 break;
195 case 1:
196#ifdef Q_FP_CCAST_BROKEN
197 r1 = reinterpret_cast<RT1>(*(c->member()));
198#else
199 r1 = (RT1)*(c->member());
200#endif
201 (object->*r1)(t0);
202 break;
203 case 2:
204#ifdef Q_FP_CCAST_BROKEN
205 r2 = reinterpret_cast<RT2>(*(c->member()));
206#else
207 r2 = (RT2)*(c->member());
208#endif
209 (object->*r2)(t0, t1);
210 break;
211 }
212 }
213}
Note: See TracBrowser for help on using the repository browser.