source: liacs/pm/backup/qt-nim/moc_nimform.cpp@ 310

Last change on this file since 310 was 2, checked in by Rick van der Zwet, 15 years ago

Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)

  • Property svn:executable set to *
File size: 3.0 KB
RevLine 
[2]1/****************************************************************************
2** NimForm meta object code from reading C++ file 'nimform.h'
3**
4** Created: Fri Dec 10 00:57:37 2004
5** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.3 edited Aug 5 16:40 $)
6**
7** WARNING! All changes made in this file will be lost!
8*****************************************************************************/
9
10#undef QT_NO_COMPAT
11#include "nimform.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.3. 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
22const char *NimForm::className() const
23{
24 return "NimForm";
25}
26
27QMetaObject *NimForm::metaObj = 0;
28static QMetaObjectCleanUp cleanUp_NimForm( "NimForm", &NimForm::staticMetaObject );
29
30#ifndef QT_NO_TRANSLATION
31QString NimForm::tr( const char *s, const char *c )
32{
33 if ( qApp )
34 return qApp->translate( "NimForm", s, c, QApplication::DefaultCodec );
35 else
36 return QString::fromLatin1( s );
37}
38#ifndef QT_NO_TRANSLATION_UTF8
39QString NimForm::trUtf8( const char *s, const char *c )
40{
41 if ( qApp )
42 return qApp->translate( "NimForm", 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
50QMetaObject* NimForm::staticMetaObject()
51{
52 if ( metaObj )
53 return metaObj;
54 QMetaObject* parentObject = QMainWindow::staticMetaObject();
55 static const QUMethod slot_0 = {"fileNew", 0, 0 };
56 static const QUMethod slot_1 = {"fileQuit", 0, 0 };
57 static const QUMethod slot_2 = {"helpHelp", 0, 0 };
58 static const QUMethod slot_3 = {"helpAbout", 0, 0 };
59 static const QMetaData slot_tbl[] = {
60 { "fileNew()", &slot_0, QMetaData::Private },
61 { "fileQuit()", &slot_1, QMetaData::Private },
62 { "helpHelp()", &slot_2, QMetaData::Private },
63 { "helpAbout()", &slot_3, QMetaData::Private }
64 };
65 metaObj = QMetaObject::new_metaobject(
66 "NimForm", parentObject,
67 slot_tbl, 4,
68 0, 0,
69#ifndef QT_NO_PROPERTIES
70 0, 0,
71 0, 0,
72#endif // QT_NO_PROPERTIES
73 0, 0 );
74 cleanUp_NimForm.setMetaObject( metaObj );
75 return metaObj;
76}
77
78void* NimForm::qt_cast( const char* clname )
79{
80 if ( !qstrcmp( clname, "NimForm" ) )
81 return this;
82 return QMainWindow::qt_cast( clname );
83}
84
85bool NimForm::qt_invoke( int _id, QUObject* _o )
86{
87 switch ( _id - staticMetaObject()->slotOffset() ) {
88 case 0: fileNew(); break;
89 case 1: fileQuit(); break;
90 case 2: helpHelp(); break;
91 case 3: helpAbout(); break;
92 default:
93 return QMainWindow::qt_invoke( _id, _o );
94 }
95 return TRUE;
96}
97
98bool NimForm::qt_emit( int _id, QUObject* _o )
99{
100 return QMainWindow::qt_emit(_id,_o);
101}
102#ifndef QT_NO_PROPERTIES
103
104bool NimForm::qt_property( int id, int f, QVariant* v)
105{
106 return QMainWindow::qt_property( id, f, v);
107}
108
109bool NimForm::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
110#endif // QT_NO_PROPERTIES
Note: See TracBrowser for help on using the repository browser.