Remove temporary moc_*.cpp files
[snark14.git] / tools / Display / moc_displaywindow.cpp
1 /****************************************************************************
2 ** displaywindow meta object code from reading C++ file 'displaywindow.hpp'
3 **
4 ** Created: Sun Feb 11 21:03:19 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 "displaywindow.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 *displaywindow::className() const
23 {
24     return "displaywindow";
25 }
26
27 QMetaObject *displaywindow::metaObj = 0;
28 static QMetaObjectCleanUp cleanUp_displaywindow( "displaywindow", &displaywindow::staticMetaObject );
29
30 #ifndef QT_NO_TRANSLATION
31 QString displaywindow::tr( const char *s, const char *c )
32 {
33     if ( qApp )
34         return qApp->translate( "displaywindow", s, c, QApplication::DefaultCodec );
35     else
36         return QString::fromLatin1( s );
37 }
38 #ifndef QT_NO_TRANSLATION_UTF8
39 QString displaywindow::trUtf8( const char *s, const char *c )
40 {
41     if ( qApp )
42         return qApp->translate( "displaywindow", 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* displaywindow::staticMetaObject()
51 {
52     if ( metaObj )
53         return metaObj;
54     QMetaObject* parentObject = QWidget::staticMetaObject();
55     static const QUParameter param_slot_0[] = {
56         { "cx", &static_QUType_int, 0, QUParameter::In },
57         { "cy", &static_QUType_int, 0, QUParameter::In }
58     };
59     static const QUMethod slot_0 = {"updateClickedPixel", 2, param_slot_0 };
60     static const QUMethod slot_1 = {"updateZoom", 0, 0 };
61     static const QUMethod slot_2 = {"updateZoomslider", 0, 0 };
62     static const QUParameter param_slot_3[] = {
63         { "on", &static_QUType_bool, 0, QUParameter::In }
64     };
65     static const QUMethod slot_3 = {"setGlobal", 1, param_slot_3 };
66     static const QUParameter param_slot_4[] = {
67         { "on", &static_QUType_bool, 0, QUParameter::In }
68     };
69     static const QUMethod slot_4 = {"setDifference", 1, param_slot_4 };
70     static const QUParameter param_slot_5[] = {
71         { "on", &static_QUType_bool, 0, QUParameter::In }
72     };
73     static const QUMethod slot_5 = {"setIntensity", 1, param_slot_5 };
74     static const QUParameter param_slot_6[] = {
75         { 0, &static_QUType_bool, 0, QUParameter::Out }
76     };
77     static const QUMethod slot_6 = {"isGlobalthreshs", 1, param_slot_6 };
78     static const QUMethod slot_7 = {"updateGlobalthreshs", 0, 0 };
79     static const QUMethod slot_8 = {"setGlobalthreshs", 0, 0 };
80     static const QUMethod slot_9 = {"updateLowthresh", 0, 0 };
81     static const QUParameter param_slot_10[] = {
82         { 0, &static_QUType_double, 0, QUParameter::Out }
83     };
84     static const QUMethod slot_10 = {"getLowthresh", 1, param_slot_10 };
85     static const QUMethod slot_11 = {"updateLowthreshslider", 0, 0 };
86     static const QUMethod slot_12 = {"updateHighthresh", 0, 0 };
87     static const QUParameter param_slot_13[] = {
88         { 0, &static_QUType_double, 0, QUParameter::Out }
89     };
90     static const QUMethod slot_13 = {"getHighthresh", 1, param_slot_13 };
91     static const QUMethod slot_14 = {"updateHighthreshslider", 0, 0 };
92     static const QUMethod slot_15 = {"resetImage", 0, 0 };
93     static const QUMethod slot_16 = {"resetDiffImage", 0, 0 };
94     static const QUMethod slot_17 = {"resetImageRange", 0, 0 };
95     static const QUMethod slot_18 = {"callLines", 0, 0 };
96     static const QUMethod slot_19 = {"saveImage", 0, 0 };
97     static const QUMethod slot_20 = {"closeWindow", 0, 0 };
98     static const QMetaData slot_tbl[] = {
99         { "updateClickedPixel(int,int)", &slot_0, QMetaData::Public },
100         { "updateZoom()", &slot_1, QMetaData::Public },
101         { "updateZoomslider()", &slot_2, QMetaData::Public },
102         { "setGlobal(bool)", &slot_3, QMetaData::Public },
103         { "setDifference(bool)", &slot_4, QMetaData::Public },
104         { "setIntensity(bool)", &slot_5, QMetaData::Public },
105         { "isGlobalthreshs()", &slot_6, QMetaData::Public },
106         { "updateGlobalthreshs()", &slot_7, QMetaData::Public },
107         { "setGlobalthreshs()", &slot_8, QMetaData::Public },
108         { "updateLowthresh()", &slot_9, QMetaData::Public },
109         { "getLowthresh()", &slot_10, QMetaData::Public },
110         { "updateLowthreshslider()", &slot_11, QMetaData::Public },
111         { "updateHighthresh()", &slot_12, QMetaData::Public },
112         { "getHighthresh()", &slot_13, QMetaData::Public },
113         { "updateHighthreshslider()", &slot_14, QMetaData::Public },
114         { "resetImage()", &slot_15, QMetaData::Public },
115         { "resetDiffImage()", &slot_16, QMetaData::Public },
116         { "resetImageRange()", &slot_17, QMetaData::Public },
117         { "callLines()", &slot_18, QMetaData::Public },
118         { "saveImage()", &slot_19, QMetaData::Public },
119         { "closeWindow()", &slot_20, QMetaData::Public }
120     };
121     metaObj = QMetaObject::new_metaobject(
122         "displaywindow", parentObject,
123         slot_tbl, 21,
124         0, 0,
125 #ifndef QT_NO_PROPERTIES
126         0, 0,
127         0, 0,
128 #endif // QT_NO_PROPERTIES
129         0, 0 );
130     cleanUp_displaywindow.setMetaObject( metaObj );
131     return metaObj;
132 }
133
134 void* displaywindow::qt_cast( const char* clname )
135 {
136     if ( !qstrcmp( clname, "displaywindow" ) )
137         return this;
138     return QWidget::qt_cast( clname );
139 }
140
141 bool displaywindow::qt_invoke( int _id, QUObject* _o )
142 {
143     switch ( _id - staticMetaObject()->slotOffset() ) {
144     case 0: updateClickedPixel((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
145     case 1: updateZoom(); break;
146     case 2: updateZoomslider(); break;
147     case 3: setGlobal((bool)static_QUType_bool.get(_o+1)); break;
148     case 4: setDifference((bool)static_QUType_bool.get(_o+1)); break;
149     case 5: setIntensity((bool)static_QUType_bool.get(_o+1)); break;
150     case 6: static_QUType_bool.set(_o,isGlobalthreshs()); break;
151     case 7: updateGlobalthreshs(); break;
152     case 8: setGlobalthreshs(); break;
153     case 9: updateLowthresh(); break;
154     case 10: static_QUType_double.set(_o,getLowthresh()); break;
155     case 11: updateLowthreshslider(); break;
156     case 12: updateHighthresh(); break;
157     case 13: static_QUType_double.set(_o,getHighthresh()); break;
158     case 14: updateHighthreshslider(); break;
159     case 15: resetImage(); break;
160     case 16: resetDiffImage(); break;
161     case 17: resetImageRange(); break;
162     case 18: callLines(); break;
163     case 19: saveImage(); break;
164     case 20: closeWindow(); break;
165     default:
166         return QWidget::qt_invoke( _id, _o );
167     }
168     return TRUE;
169 }
170
171 bool displaywindow::qt_emit( int _id, QUObject* _o )
172 {
173     return QWidget::qt_emit(_id,_o);
174 }
175 #ifndef QT_NO_PROPERTIES
176
177 bool displaywindow::qt_property( int id, int f, QVariant* v)
178 {
179     return QWidget::qt_property( id, f, v);
180 }
181
182 bool displaywindow::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
183 #endif // QT_NO_PROPERTIES