Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

publisher.moc.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Publisher meta object code from reading C++ file 'publisher.h'
00003 **
00004 ** Created: Sat Mar 27 00:57:29 2004
00005 **      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.2.3   edited Nov 10 11:18 $)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 *****************************************************************************/
00009 
00010 #undef QT_NO_COMPAT
00011 #include "publisher.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.2.3. 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 *Publisher::className() const
00023 {
00024     return "Publisher";
00025 }
00026 
00027 QMetaObject *Publisher::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_Publisher( "Publisher", &Publisher::staticMetaObject );
00029 
00030 #ifndef QT_NO_TRANSLATION
00031 QString Publisher::tr( const char *s, const char *c )
00032 {
00033     if ( qApp )
00034         return qApp->translate( "Publisher", s, c, QApplication::DefaultCodec );
00035     else
00036         return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString Publisher::trUtf8( const char *s, const char *c )
00040 {
00041     if ( qApp )
00042         return qApp->translate( "Publisher", 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* Publisher::staticMetaObject()
00051 {
00052     if ( metaObj )
00053         return metaObj;
00054     QMetaObject* parentObject = ReadWriteFormBase::staticMetaObject();
00055     static const QUParameter param_slot_0[] = {
00056         { "work", &static_QUType_bool, 0, QUParameter::In }
00057     };
00058     static const QUMethod slot_0 = {"setWorkingGui", 1, param_slot_0 };
00059     static const QUParameter param_slot_1[] = {
00060         { "ro", &static_QUType_bool, 0, QUParameter::In }
00061     };
00062     static const QUMethod slot_1 = {"setReadonlyGui", 1, param_slot_1 };
00063     static const QUParameter param_slot_2[] = {
00064         { "inv", &static_QUType_bool, 0, QUParameter::In }
00065     };
00066     static const QUMethod slot_2 = {"setInvalidGui", 1, param_slot_2 };
00067     static const QMetaData slot_tbl[] = {
00068         { "setWorkingGui(bool)", &slot_0, QMetaData::Protected },
00069         { "setReadonlyGui(bool)", &slot_1, QMetaData::Protected },
00070         { "setInvalidGui(bool)", &slot_2, QMetaData::Protected }
00071     };
00072     metaObj = QMetaObject::new_metaobject(
00073         "Publisher", parentObject,
00074         slot_tbl, 3,
00075         0, 0,
00076 #ifndef QT_NO_PROPERTIES
00077         0, 0,
00078         0, 0,
00079 #endif // QT_NO_PROPERTIES
00080         0, 0 );
00081     cleanUp_Publisher.setMetaObject( metaObj );
00082     return metaObj;
00083 }
00084 
00085 void* Publisher::qt_cast( const char* clname )
00086 {
00087     if ( !qstrcmp( clname, "Publisher" ) )
00088         return this;
00089     return ReadWriteFormBase::qt_cast( clname );
00090 }
00091 
00092 bool Publisher::qt_invoke( int _id, QUObject* _o )
00093 {
00094     switch ( _id - staticMetaObject()->slotOffset() ) {
00095     case 0: setWorkingGui((bool)static_QUType_bool.get(_o+1)); break;
00096     case 1: setReadonlyGui((bool)static_QUType_bool.get(_o+1)); break;
00097     case 2: setInvalidGui((bool)static_QUType_bool.get(_o+1)); break;
00098     default:
00099         return ReadWriteFormBase::qt_invoke( _id, _o );
00100     }
00101     return TRUE;
00102 }
00103 
00104 bool Publisher::qt_emit( int _id, QUObject* _o )
00105 {
00106     return ReadWriteFormBase::qt_emit(_id,_o);
00107 }
00108 #ifndef QT_NO_PROPERTIES
00109 
00110 bool Publisher::qt_property( int id, int f, QVariant* v)
00111 {
00112     return ReadWriteFormBase::qt_property( id, f, v);
00113 }
00114 
00115 bool Publisher::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00116 #endif // QT_NO_PROPERTIES

Generated on Sat Mar 27 19:20:43 2004 for Literature by doxygen 1.3.6-20040222