Update to the newest upstream version.
[vlp.git] / kernel / kernel.moc
1 /****************************************************************************
2 ** QKernel meta object code from reading C++ file 'kernel.cpp'
3 **
4 ** Created: Fri Mar 4 12:26:12 2011
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 #include <qmetaobject.h>
11 #include <qapplication.h>
12
13 #include <private/qucomextra_p.h>
14 #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
15 #error "This file was generated using the moc from 3.3.8b. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
18 #endif
19
20 const char *QKernel::className() const
21 {
22     return "QKernel";
23 }
24
25 QMetaObject *QKernel::metaObj = 0;
26 static QMetaObjectCleanUp cleanUp_QKernel( "QKernel", &QKernel::staticMetaObject );
27
28 #ifndef QT_NO_TRANSLATION
29 QString QKernel::tr( const char *s, const char *c )
30 {
31     if ( qApp )
32         return qApp->translate( "QKernel", s, c, QApplication::DefaultCodec );
33     else
34         return QString::fromLatin1( s );
35 }
36 #ifndef QT_NO_TRANSLATION_UTF8
37 QString QKernel::trUtf8( const char *s, const char *c )
38 {
39     if ( qApp )
40         return qApp->translate( "QKernel", s, c, QApplication::UnicodeUTF8 );
41     else
42         return QString::fromUtf8( s );
43 }
44 #endif // QT_NO_TRANSLATION_UTF8
45
46 #endif // QT_NO_TRANSLATION
47
48 QMetaObject* QKernel::staticMetaObject()
49 {
50     if ( metaObj )
51         return metaObj;
52     QMetaObject* parentObject = QFrame::staticMetaObject();
53     static const QUMethod slot_0 = {"n_impl", 0, 0 };
54     static const QUMethod slot_1 = {"Run_Prog", 0, 0 };
55     static const QUMethod slot_2 = {"Edit", 0, 0 };
56     static const QUMethod slot_3 = {"Help", 0, 0 };
57     static const QUMethod slot_4 = {"SetOptions", 0, 0 };
58     static const QUMethod slot_5 = {"AddAddress", 0, 0 };
59     static const QUMethod slot_6 = {"DelAddress", 0, 0 };
60     static const QUMethod slot_7 = {"LockConsole", 0, 0 };
61     static const QUMethod slot_8 = {"UnlockConsole", 0, 0 };
62     static const QUMethod slot_9 = {"MessageToNode", 0, 0 };
63     static const QUMethod slot_10 = {"QuitProc", 0, 0 };
64     static const QUMethod slot_11 = {"NetMessage", 0, 0 };
65     static const QUParameter param_slot_12[] = {
66         { 0, &static_QUType_int, 0, QUParameter::In }
67     };
68     static const QUMethod slot_12 = {"IntMessage", 1, param_slot_12 };
69     static const QUMethod slot_13 = {"KillInterpreter", 0, 0 };
70     static const QUMethod slot_14 = {"Disconnect", 0, 0 };
71     static const QUMethod slot_15 = {"SetMessages", 0, 0 };
72     static const QUMethod slot_16 = {"Connect", 0, 0 };
73     static const QUMethod slot_17 = {"Info", 0, 0 };
74     static const QMetaData slot_tbl[] = {
75         { "n_impl()", &slot_0, QMetaData::Public },
76         { "Run_Prog()", &slot_1, QMetaData::Public },
77         { "Edit()", &slot_2, QMetaData::Public },
78         { "Help()", &slot_3, QMetaData::Public },
79         { "SetOptions()", &slot_4, QMetaData::Public },
80         { "AddAddress()", &slot_5, QMetaData::Public },
81         { "DelAddress()", &slot_6, QMetaData::Public },
82         { "LockConsole()", &slot_7, QMetaData::Public },
83         { "UnlockConsole()", &slot_8, QMetaData::Public },
84         { "MessageToNode()", &slot_9, QMetaData::Public },
85         { "QuitProc()", &slot_10, QMetaData::Public },
86         { "NetMessage()", &slot_11, QMetaData::Public },
87         { "IntMessage(int)", &slot_12, QMetaData::Public },
88         { "KillInterpreter()", &slot_13, QMetaData::Public },
89         { "Disconnect()", &slot_14, QMetaData::Public },
90         { "SetMessages()", &slot_15, QMetaData::Public },
91         { "Connect()", &slot_16, QMetaData::Public },
92         { "Info()", &slot_17, QMetaData::Public }
93     };
94     metaObj = QMetaObject::new_metaobject(
95         "QKernel", parentObject,
96         slot_tbl, 18,
97         0, 0,
98 #ifndef QT_NO_PROPERTIES
99         0, 0,
100         0, 0,
101 #endif // QT_NO_PROPERTIES
102         0, 0 );
103     cleanUp_QKernel.setMetaObject( metaObj );
104     return metaObj;
105 }
106
107 void* QKernel::qt_cast( const char* clname )
108 {
109     if ( !qstrcmp( clname, "QKernel" ) )
110         return this;
111     return QFrame::qt_cast( clname );
112 }
113
114 bool QKernel::qt_invoke( int _id, QUObject* _o )
115 {
116     switch ( _id - staticMetaObject()->slotOffset() ) {
117     case 0: n_impl(); break;
118     case 1: Run_Prog(); break;
119     case 2: Edit(); break;
120     case 3: Help(); break;
121     case 4: SetOptions(); break;
122     case 5: AddAddress(); break;
123     case 6: DelAddress(); break;
124     case 7: LockConsole(); break;
125     case 8: UnlockConsole(); break;
126     case 9: MessageToNode(); break;
127     case 10: QuitProc(); break;
128     case 11: NetMessage(); break;
129     case 12: IntMessage((int)static_QUType_int.get(_o+1)); break;
130     case 13: KillInterpreter(); break;
131     case 14: Disconnect(); break;
132     case 15: SetMessages(); break;
133     case 16: Connect(); break;
134     case 17: Info(); break;
135     default:
136         return QFrame::qt_invoke( _id, _o );
137     }
138     return TRUE;
139 }
140
141 bool QKernel::qt_emit( int _id, QUObject* _o )
142 {
143     return QFrame::qt_emit(_id,_o);
144 }
145 #ifndef QT_NO_PROPERTIES
146
147 bool QKernel::qt_property( int id, int f, QVariant* v)
148 {
149     return QFrame::qt_property( id, f, v);
150 }
151
152 bool QKernel::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
153 #endif // QT_NO_PROPERTIES