dcbd0c9717bd3833e2c4eb6f4f8e03370b6eac76
[vlp.git] / graph / loggraph.moc
1 /****************************************************************************
2 ** VGR meta object code from reading C++ file 'loggraph.cpp'
3 **
4 ** Created: Fri Mar 4 12:25:17 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 *VGR::className() const
21 {
22     return "VGR";
23 }
24
25 QMetaObject *VGR::metaObj = 0;
26 static QMetaObjectCleanUp cleanUp_VGR( "VGR", &VGR::staticMetaObject );
27
28 #ifndef QT_NO_TRANSLATION
29 QString VGR::tr( const char *s, const char *c )
30 {
31     if ( qApp )
32         return qApp->translate( "VGR", s, c, QApplication::DefaultCodec );
33     else
34         return QString::fromLatin1( s );
35 }
36 #ifndef QT_NO_TRANSLATION_UTF8
37 QString VGR::trUtf8( const char *s, const char *c )
38 {
39     if ( qApp )
40         return qApp->translate( "VGR", 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* VGR::staticMetaObject()
49 {
50     if ( metaObj )
51         return metaObj;
52     QMetaObject* parentObject = QFrame::staticMetaObject();
53     static const QUParameter param_slot_0[] = {
54         { 0, &static_QUType_int, 0, QUParameter::In }
55     };
56     static const QUMethod slot_0 = {"vscrolled", 1, param_slot_0 };
57     static const QUParameter param_slot_1[] = {
58         { 0, &static_QUType_int, 0, QUParameter::In }
59     };
60     static const QUMethod slot_1 = {"hscrolled", 1, param_slot_1 };
61     static const QUMethod slot_2 = {"CloseMe", 0, 0 };
62     static const QUMethod slot_3 = {"RequestMessage", 0, 0 };
63     static const QMetaData slot_tbl[] = {
64         { "vscrolled(int)", &slot_0, QMetaData::Public },
65         { "hscrolled(int)", &slot_1, QMetaData::Public },
66         { "CloseMe()", &slot_2, QMetaData::Public },
67         { "RequestMessage()", &slot_3, QMetaData::Public }
68     };
69     metaObj = QMetaObject::new_metaobject(
70         "VGR", parentObject,
71         slot_tbl, 4,
72         0, 0,
73 #ifndef QT_NO_PROPERTIES
74         0, 0,
75         0, 0,
76 #endif // QT_NO_PROPERTIES
77         0, 0 );
78     cleanUp_VGR.setMetaObject( metaObj );
79     return metaObj;
80 }
81
82 void* VGR::qt_cast( const char* clname )
83 {
84     if ( !qstrcmp( clname, "VGR" ) )
85         return this;
86     return QFrame::qt_cast( clname );
87 }
88
89 bool VGR::qt_invoke( int _id, QUObject* _o )
90 {
91     switch ( _id - staticMetaObject()->slotOffset() ) {
92     case 0: vscrolled((int)static_QUType_int.get(_o+1)); break;
93     case 1: hscrolled((int)static_QUType_int.get(_o+1)); break;
94     case 2: CloseMe(); break;
95     case 3: RequestMessage(); break;
96     default:
97         return QFrame::qt_invoke( _id, _o );
98     }
99     return TRUE;
100 }
101
102 bool VGR::qt_emit( int _id, QUObject* _o )
103 {
104     return QFrame::qt_emit(_id,_o);
105 }
106 #ifndef QT_NO_PROPERTIES
107
108 bool VGR::qt_property( int id, int f, QVariant* v)
109 {
110     return QFrame::qt_property( id, f, v);
111 }
112
113 bool VGR::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
114 #endif // QT_NO_PROPERTIES