Build for /usr/local/qt3
[snark14.git] / tools / Input / moc_punch.cpp
1 /****************************************************************************
2 ** punchwindow meta object code from reading C++ file 'punch.h'
3 **
4 ** Created: Sun Feb 11 21:07:23 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 "punch.h"
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 *punchwindow::className() const
23 {
24     return "punchwindow";
25 }
26
27 QMetaObject *punchwindow::metaObj = 0;
28 static QMetaObjectCleanUp cleanUp_punchwindow( "punchwindow", &punchwindow::staticMetaObject );
29
30 #ifndef QT_NO_TRANSLATION
31 QString punchwindow::tr( const char *s, const char *c )
32 {
33     if ( qApp )
34         return qApp->translate( "punchwindow", s, c, QApplication::DefaultCodec );
35     else
36         return QString::fromLatin1( s );
37 }
38 #ifndef QT_NO_TRANSLATION_UTF8
39 QString punchwindow::trUtf8( const char *s, const char *c )
40 {
41     if ( qApp )
42         return qApp->translate( "punchwindow", 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* punchwindow::staticMetaObject()
51 {
52     if ( metaObj )
53         return metaObj;
54     QMetaObject* parentObject = QDialog::staticMetaObject();
55     static const QUMethod slot_0 = {"checkValues", 0, 0 };
56     static const QMetaData slot_tbl[] = {
57         { "checkValues()", &slot_0, QMetaData::Private }
58     };
59     metaObj = QMetaObject::new_metaobject(
60         "punchwindow", parentObject,
61         slot_tbl, 1,
62         0, 0,
63 #ifndef QT_NO_PROPERTIES
64         0, 0,
65         0, 0,
66 #endif // QT_NO_PROPERTIES
67         0, 0 );
68     cleanUp_punchwindow.setMetaObject( metaObj );
69     return metaObj;
70 }
71
72 void* punchwindow::qt_cast( const char* clname )
73 {
74     if ( !qstrcmp( clname, "punchwindow" ) )
75         return this;
76     return QDialog::qt_cast( clname );
77 }
78
79 bool punchwindow::qt_invoke( int _id, QUObject* _o )
80 {
81     switch ( _id - staticMetaObject()->slotOffset() ) {
82     case 0: checkValues(); break;
83     default:
84         return QDialog::qt_invoke( _id, _o );
85     }
86     return TRUE;
87 }
88
89 bool punchwindow::qt_emit( int _id, QUObject* _o )
90 {
91     return QDialog::qt_emit(_id,_o);
92 }
93 #ifndef QT_NO_PROPERTIES
94
95 bool punchwindow::qt_property( int id, int f, QVariant* v)
96 {
97     return QDialog::qt_property( id, f, v);
98 }
99
100 bool punchwindow::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
101 #endif // QT_NO_PROPERTIES