1 /****************************************************************************
2 ** VGR meta object code from reading C++ file 'loggraph.cpp'
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 $)
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
10 #include <qmetaobject.h>
11 #include <qapplication.h>
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.)"
20 const char *VGR::className() const
25 QMetaObject *VGR::metaObj = 0;
26 static QMetaObjectCleanUp cleanUp_VGR( "VGR", &VGR::staticMetaObject );
28 #ifndef QT_NO_TRANSLATION
29 QString VGR::tr( const char *s, const char *c )
32 return qApp->translate( "VGR", s, c, QApplication::DefaultCodec );
34 return QString::fromLatin1( s );
36 #ifndef QT_NO_TRANSLATION_UTF8
37 QString VGR::trUtf8( const char *s, const char *c )
40 return qApp->translate( "VGR", s, c, QApplication::UnicodeUTF8 );
42 return QString::fromUtf8( s );
44 #endif // QT_NO_TRANSLATION_UTF8
46 #endif // QT_NO_TRANSLATION
48 QMetaObject* VGR::staticMetaObject()
52 QMetaObject* parentObject = QFrame::staticMetaObject();
53 static const QUParameter param_slot_0[] = {
54 { 0, &static_QUType_int, 0, QUParameter::In }
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 }
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 }
69 metaObj = QMetaObject::new_metaobject(
73 #ifndef QT_NO_PROPERTIES
76 #endif // QT_NO_PROPERTIES
78 cleanUp_VGR.setMetaObject( metaObj );
82 void* VGR::qt_cast( const char* clname )
84 if ( !qstrcmp( clname, "VGR" ) )
86 return QFrame::qt_cast( clname );
89 bool VGR::qt_invoke( int _id, QUObject* _o )
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;
97 return QFrame::qt_invoke( _id, _o );
102 bool VGR::qt_emit( int _id, QUObject* _o )
104 return QFrame::qt_emit(_id,_o);
106 #ifndef QT_NO_PROPERTIES
108 bool VGR::qt_property( int id, int f, QVariant* v)
110 return QFrame::qt_property( id, f, v);
113 bool VGR::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
114 #endif // QT_NO_PROPERTIES