1 /****************************************************************************
2 ** rangewindow meta object code from reading C++ file 'range.hpp'
4 ** Created: Sun Feb 11 21:45:03 2018
5 ** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
12 #include <qmetaobject.h>
13 #include <qapplication.h>
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.)"
22 const char *rangewindow::className() const
27 QMetaObject *rangewindow::metaObj = 0;
28 static QMetaObjectCleanUp cleanUp_rangewindow( "rangewindow", &rangewindow::staticMetaObject );
30 #ifndef QT_NO_TRANSLATION
31 QString rangewindow::tr( const char *s, const char *c )
34 return qApp->translate( "rangewindow", s, c, QApplication::DefaultCodec );
36 return QString::fromLatin1( s );
38 #ifndef QT_NO_TRANSLATION_UTF8
39 QString rangewindow::trUtf8( const char *s, const char *c )
42 return qApp->translate( "rangewindow", s, c, QApplication::UnicodeUTF8 );
44 return QString::fromUtf8( s );
46 #endif // QT_NO_TRANSLATION_UTF8
48 #endif // QT_NO_TRANSLATION
50 QMetaObject* rangewindow::staticMetaObject()
54 QMetaObject* parentObject = QDialog::staticMetaObject();
55 static const QUMethod slot_0 = {"updateLowthresh", 0, 0 };
56 static const QUMethod slot_1 = {"updateLowthreshslider", 0, 0 };
57 static const QUMethod slot_2 = {"updateHighthresh", 0, 0 };
58 static const QUMethod slot_3 = {"updateHighthreshslider", 0, 0 };
59 static const QUParameter param_slot_4[] = {
60 { "on", &static_QUType_bool, 0, QUParameter::In }
62 static const QUMethod slot_4 = {"signalAllGlobals", 1, param_slot_4 };
63 static const QUParameter param_slot_5[] = {
64 { "on", &static_QUType_bool, 0, QUParameter::In }
66 static const QUMethod slot_5 = {"signalAllDifference", 1, param_slot_5 };
67 static const QUMethod slot_6 = {"closeWindow", 0, 0 };
68 static const QUParameter param_slot_7[] = {
69 { "e", &static_QUType_ptr, "QCloseEvent", QUParameter::In }
71 static const QUMethod slot_7 = {"closeEvent", 1, param_slot_7 };
72 static const QMetaData slot_tbl[] = {
73 { "updateLowthresh()", &slot_0, QMetaData::Public },
74 { "updateLowthreshslider()", &slot_1, QMetaData::Public },
75 { "updateHighthresh()", &slot_2, QMetaData::Public },
76 { "updateHighthreshslider()", &slot_3, QMetaData::Public },
77 { "signalAllGlobals(bool)", &slot_4, QMetaData::Public },
78 { "signalAllDifference(bool)", &slot_5, QMetaData::Public },
79 { "closeWindow()", &slot_6, QMetaData::Public },
80 { "closeEvent(QCloseEvent*)", &slot_7, QMetaData::Public }
82 metaObj = QMetaObject::new_metaobject(
83 "rangewindow", parentObject,
86 #ifndef QT_NO_PROPERTIES
89 #endif // QT_NO_PROPERTIES
91 cleanUp_rangewindow.setMetaObject( metaObj );
95 void* rangewindow::qt_cast( const char* clname )
97 if ( !qstrcmp( clname, "rangewindow" ) )
99 return QDialog::qt_cast( clname );
102 bool rangewindow::qt_invoke( int _id, QUObject* _o )
104 switch ( _id - staticMetaObject()->slotOffset() ) {
105 case 0: updateLowthresh(); break;
106 case 1: updateLowthreshslider(); break;
107 case 2: updateHighthresh(); break;
108 case 3: updateHighthreshslider(); break;
109 case 4: signalAllGlobals((bool)static_QUType_bool.get(_o+1)); break;
110 case 5: signalAllDifference((bool)static_QUType_bool.get(_o+1)); break;
111 case 6: closeWindow(); break;
112 case 7: closeEvent((QCloseEvent*)static_QUType_ptr.get(_o+1)); break;
114 return QDialog::qt_invoke( _id, _o );
119 bool rangewindow::qt_emit( int _id, QUObject* _o )
121 return QDialog::qt_emit(_id,_o);
123 #ifndef QT_NO_PROPERTIES
125 bool rangewindow::qt_property( int id, int f, QVariant* v)
127 return QDialog::qt_property( id, f, v);
130 bool rangewindow::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
131 #endif // QT_NO_PROPERTIES