Main Page   Class Hierarchy   Alphabetical List   Compound List   File List  

bar.moc.cpp

00001 /****************************************************************************
00002 ** Bar meta object code from reading C++ file 'bar.h'
00003 **
00004 ** Created: Tue Apr 29 19:55:25 2003
00005 **      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.1.1   edited Dec 9 10:40 $)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 *****************************************************************************/
00009 
00010 #undef QT_NO_COMPAT
00011 #include "bar.h"
00012 #include <qmetaobject.h>
00013 #include <qapplication.h>
00014 
00015 #include <private/qucomextra_p.h>
00016 #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
00017 #error "This file was generated using the moc from 3.1.1. It"
00018 #error "cannot be used with the include files from this version of Qt."
00019 #error "(The moc has changed too much.)"
00020 #endif
00021 
00022 const char *Bar::className() const
00023 {
00024     return "Bar";
00025 }
00026 
00027 QMetaObject *Bar::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_Bar( "Bar", &Bar::staticMetaObject );
00029 
00030 #ifndef QT_NO_TRANSLATION
00031 QString Bar::tr( const char *s, const char *c )
00032 {
00033     if ( qApp )
00034         return qApp->translate( "Bar", s, c, QApplication::DefaultCodec );
00035     else
00036         return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString Bar::trUtf8( const char *s, const char *c )
00040 {
00041     if ( qApp )
00042         return qApp->translate( "Bar", s, c, QApplication::UnicodeUTF8 );
00043     else
00044         return QString::fromUtf8( s );
00045 }
00046 #endif // QT_NO_TRANSLATION_UTF8
00047 
00048 #endif // QT_NO_TRANSLATION
00049 
00050 QMetaObject* Bar::staticMetaObject()
00051 {
00052     if ( metaObj )
00053         return metaObj;
00054     QMetaObject* parentObject = Meter::staticMetaObject();
00055     static const QUParameter param_slot_0[] = {
00056         { "imagePath", &static_QUType_QString, 0, QUParameter::In }
00057     };
00058     static const QUMethod slot_0 = {"setImage", 1, param_slot_0 };
00059     static const QUParameter param_slot_1[] = {
00060         { 0, &static_QUType_int, 0, QUParameter::In }
00061     };
00062     static const QUMethod slot_1 = {"setValue", 1, param_slot_1 };
00063     static const QUParameter param_slot_2[] = {
00064         { 0, &static_QUType_QString, 0, QUParameter::In }
00065     };
00066     static const QUMethod slot_2 = {"setValue", 1, param_slot_2 };
00067     static const QUParameter param_slot_3[] = {
00068         { 0, &static_QUType_int, 0, QUParameter::In }
00069     };
00070     static const QUMethod slot_3 = {"setMax", 1, param_slot_3 };
00071     static const QUParameter param_slot_4[] = {
00072         { 0, &static_QUType_int, 0, QUParameter::In }
00073     };
00074     static const QUMethod slot_4 = {"setMin", 1, param_slot_4 };
00075     static const QUParameter param_slot_5[] = {
00076         { 0, &static_QUType_bool, 0, QUParameter::In }
00077     };
00078     static const QUMethod slot_5 = {"setVertical", 1, param_slot_5 };
00079     static const QMetaData slot_tbl[] = {
00080         { "setImage(QString)", &slot_0, QMetaData::Public },
00081         { "setValue(int)", &slot_1, QMetaData::Public },
00082         { "setValue(QString)", &slot_2, QMetaData::Public },
00083         { "setMax(int)", &slot_3, QMetaData::Public },
00084         { "setMin(int)", &slot_4, QMetaData::Public },
00085         { "setVertical(bool)", &slot_5, QMetaData::Public }
00086     };
00087     metaObj = QMetaObject::new_metaobject(
00088         "Bar", parentObject,
00089         slot_tbl, 6,
00090         0, 0,
00091 #ifndef QT_NO_PROPERTIES
00092         0, 0,
00093         0, 0,
00094 #endif // QT_NO_PROPERTIES
00095         0, 0 );
00096     cleanUp_Bar.setMetaObject( metaObj );
00097     return metaObj;
00098 }
00099 
00100 void* Bar::qt_cast( const char* clname )
00101 {
00102     if ( !qstrcmp( clname, "Bar" ) )
00103         return this;
00104     return Meter::qt_cast( clname );
00105 }
00106 
00107 bool Bar::qt_invoke( int _id, QUObject* _o )
00108 {
00109     switch ( _id - staticMetaObject()->slotOffset() ) {
00110     case 0: setImage((QString)static_QUType_QString.get(_o+1)); break;
00111     case 1: setValue((int)static_QUType_int.get(_o+1)); break;
00112     case 2: setValue((QString)static_QUType_QString.get(_o+1)); break;
00113     case 3: setMax((int)static_QUType_int.get(_o+1)); break;
00114     case 4: setMin((int)static_QUType_int.get(_o+1)); break;
00115     case 5: setVertical((bool)static_QUType_bool.get(_o+1)); break;
00116     default:
00117         return Meter::qt_invoke( _id, _o );
00118     }
00119     return TRUE;
00120 }
00121 
00122 bool Bar::qt_emit( int _id, QUObject* _o )
00123 {
00124     return Meter::qt_emit(_id,_o);
00125 }
00126 #ifndef QT_NO_PROPERTIES
00127 
00128 bool Bar::qt_property( int id, int f, QVariant* v)
00129 {
00130     return Meter::qt_property( id, f, v);
00131 }
00132 
00133 bool Bar::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00134 #endif // QT_NO_PROPERTIES

Generated on Tue Apr 29 19:56:57 2003 for karamba by doxygen1.2.18