Build for /usr/local/qt3
[snark14.git] / tools / Display / moc_lines.cpp
1 /****************************************************************************
2 ** lineswindow meta object code from reading C++ file 'lines.hpp'
3 **
4 ** Created: Sun Feb 11 21:03:21 2018
5 **      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.8   edited Feb 2 14:59 $)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
9
10 #undef QT_NO_COMPAT
11 #include "lines.hpp"
12 #include <qmetaobject.h>
13 #include <qapplication.h>
14
15 #include <private/qucomextra_p.h>
16 #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
17 #error "This file was generated using the moc from 3.3.8b. It"
18 #error "cannot be used with the include files from this version of Qt."
19 #error "(The moc has changed too much.)"
20 #endif
21
22 const char *lineswindow::className() const
23 {
24     return "lineswindow";
25 }
26
27 QMetaObject *lineswindow::metaObj = 0;
28 static QMetaObjectCleanUp cleanUp_lineswindow( "lineswindow", &lineswindow::staticMetaObject );
29
30 #ifndef QT_NO_TRANSLATION
31 QString lineswindow::tr( const char *s, const char *c )
32 {
33     if ( qApp )
34         return qApp->translate( "lineswindow", s, c, QApplication::DefaultCodec );
35     else
36         return QString::fromLatin1( s );
37 }
38 #ifndef QT_NO_TRANSLATION_UTF8
39 QString lineswindow::trUtf8( const char *s, const char *c )
40 {
41     if ( qApp )
42         return qApp->translate( "lineswindow", s, c, QApplication::UnicodeUTF8 );
43     else
44         return QString::fromUtf8( s );
45 }
46 #endif // QT_NO_TRANSLATION_UTF8
47
48 #endif // QT_NO_TRANSLATION
49
50 QMetaObject* lineswindow::staticMetaObject()
51 {
52     if ( metaObj )
53         return metaObj;
54     QMetaObject* parentObject = QDialog::staticMetaObject();
55     static const QUParameter param_slot_0[] = {
56         { "i", &static_QUType_int, 0, QUParameter::In }
57     };
58     static const QUMethod slot_0 = {"updateXAxis", 1, param_slot_0 };
59     static const QUParameter param_slot_1[] = {
60         { 0, &static_QUType_int, 0, QUParameter::Out }
61     };
62     static const QUMethod slot_1 = {"getLinetype", 1, param_slot_1 };
63     static const QUParameter param_slot_2[] = {
64         { 0, &static_QUType_int, 0, QUParameter::Out }
65     };
66     static const QUMethod slot_2 = {"getLine1", 1, param_slot_2 };
67     static const QUParameter param_slot_3[] = {
68         { 0, &static_QUType_int, 0, QUParameter::Out }
69     };
70     static const QUMethod slot_3 = {"getLine2", 1, param_slot_3 };
71     static const QUParameter param_slot_4[] = {
72         { 0, &static_QUType_int, 0, QUParameter::Out }
73     };
74     static const QUMethod slot_4 = {"getLine3", 1, param_slot_4 };
75     static const QUParameter param_slot_5[] = {
76         { 0, &static_QUType_int, 0, QUParameter::Out }
77     };
78     static const QUMethod slot_5 = {"getLine4", 1, param_slot_5 };
79     static const QUParameter param_slot_6[] = {
80         { 0, &static_QUType_QString, 0, QUParameter::Out }
81     };
82     static const QUMethod slot_6 = {"getTitle", 1, param_slot_6 };
83     static const QUParameter param_slot_7[] = {
84         { 0, &static_QUType_QString, 0, QUParameter::Out }
85     };
86     static const QUMethod slot_7 = {"getXAxis", 1, param_slot_7 };
87     static const QUParameter param_slot_8[] = {
88         { 0, &static_QUType_QString, 0, QUParameter::Out }
89     };
90     static const QUMethod slot_8 = {"getYAxis", 1, param_slot_8 };
91     static const QUParameter param_slot_9[] = {
92         { 0, &static_QUType_int, 0, QUParameter::Out }
93     };
94     static const QUMethod slot_9 = {"getMinX", 1, param_slot_9 };
95     static const QUParameter param_slot_10[] = {
96         { 0, &static_QUType_int, 0, QUParameter::Out }
97     };
98     static const QUMethod slot_10 = {"getMaxX", 1, param_slot_10 };
99     static const QUParameter param_slot_11[] = {
100         { 0, &static_QUType_double, 0, QUParameter::Out }
101     };
102     static const QUMethod slot_11 = {"getMinY", 1, param_slot_11 };
103     static const QUParameter param_slot_12[] = {
104         { 0, &static_QUType_double, 0, QUParameter::Out }
105     };
106     static const QUMethod slot_12 = {"getMaxY", 1, param_slot_12 };
107     static const QUParameter param_slot_13[] = {
108         { 0, &static_QUType_bool, 0, QUParameter::Out }
109     };
110     static const QUMethod slot_13 = {"isPhantomChecked", 1, param_slot_13 };
111     static const QUParameter param_slot_14[] = {
112         { 0, &static_QUType_bool, 0, QUParameter::Out }
113     };
114     static const QUMethod slot_14 = {"isGrayScaleChecked", 1, param_slot_14 };
115     static const QMetaData slot_tbl[] = {
116         { "updateXAxis(int)", &slot_0, QMetaData::Public },
117         { "getLinetype()", &slot_1, QMetaData::Public },
118         { "getLine1()", &slot_2, QMetaData::Public },
119         { "getLine2()", &slot_3, QMetaData::Public },
120         { "getLine3()", &slot_4, QMetaData::Public },
121         { "getLine4()", &slot_5, QMetaData::Public },
122         { "getTitle()", &slot_6, QMetaData::Public },
123         { "getXAxis()", &slot_7, QMetaData::Public },
124         { "getYAxis()", &slot_8, QMetaData::Public },
125         { "getMinX()", &slot_9, QMetaData::Public },
126         { "getMaxX()", &slot_10, QMetaData::Public },
127         { "getMinY()", &slot_11, QMetaData::Public },
128         { "getMaxY()", &slot_12, QMetaData::Public },
129         { "isPhantomChecked()", &slot_13, QMetaData::Public },
130         { "isGrayScaleChecked()", &slot_14, QMetaData::Public }
131     };
132     metaObj = QMetaObject::new_metaobject(
133         "lineswindow", parentObject,
134         slot_tbl, 15,
135         0, 0,
136 #ifndef QT_NO_PROPERTIES
137         0, 0,
138         0, 0,
139 #endif // QT_NO_PROPERTIES
140         0, 0 );
141     cleanUp_lineswindow.setMetaObject( metaObj );
142     return metaObj;
143 }
144
145 void* lineswindow::qt_cast( const char* clname )
146 {
147     if ( !qstrcmp( clname, "lineswindow" ) )
148         return this;
149     return QDialog::qt_cast( clname );
150 }
151
152 bool lineswindow::qt_invoke( int _id, QUObject* _o )
153 {
154     switch ( _id - staticMetaObject()->slotOffset() ) {
155     case 0: updateXAxis((int)static_QUType_int.get(_o+1)); break;
156     case 1: static_QUType_int.set(_o,getLinetype()); break;
157     case 2: static_QUType_int.set(_o,getLine1()); break;
158     case 3: static_QUType_int.set(_o,getLine2()); break;
159     case 4: static_QUType_int.set(_o,getLine3()); break;
160     case 5: static_QUType_int.set(_o,getLine4()); break;
161     case 6: static_QUType_QString.set(_o,getTitle()); break;
162     case 7: static_QUType_QString.set(_o,getXAxis()); break;
163     case 8: static_QUType_QString.set(_o,getYAxis()); break;
164     case 9: static_QUType_int.set(_o,getMinX()); break;
165     case 10: static_QUType_int.set(_o,getMaxX()); break;
166     case 11: static_QUType_double.set(_o,getMinY()); break;
167     case 12: static_QUType_double.set(_o,getMaxY()); break;
168     case 13: static_QUType_bool.set(_o,isPhantomChecked()); break;
169     case 14: static_QUType_bool.set(_o,isGrayScaleChecked()); break;
170     default:
171         return QDialog::qt_invoke( _id, _o );
172     }
173     return TRUE;
174 }
175
176 bool lineswindow::qt_emit( int _id, QUObject* _o )
177 {
178     return QDialog::qt_emit(_id,_o);
179 }
180 #ifndef QT_NO_PROPERTIES
181
182 bool lineswindow::qt_property( int id, int f, QVariant* v)
183 {
184     return QDialog::qt_property( id, f, v);
185 }
186
187 bool lineswindow::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
188 #endif // QT_NO_PROPERTIES