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

readonlyformbase.moc.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** ReadOnlyFormBase meta object code from reading C++ file 'readonlyformbase.h'
00003 **
00004 ** Created: Sat Mar 27 00:56:42 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 "readonlyformbase.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 *ReadOnlyFormBase::className() const
00023 {
00024     return "ReadOnlyFormBase";
00025 }
00026 
00027 QMetaObject *ReadOnlyFormBase::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_ReadOnlyFormBase( "ReadOnlyFormBase", &ReadOnlyFormBase::staticMetaObject );
00029 
00030 #ifndef QT_NO_TRANSLATION
00031 QString ReadOnlyFormBase::tr( const char *s, const char *c )
00032 {
00033     if ( qApp )
00034         return qApp->translate( "ReadOnlyFormBase", s, c, QApplication::DefaultCodec );
00035     else
00036         return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString ReadOnlyFormBase::trUtf8( const char *s, const char *c )
00040 {
00041     if ( qApp )
00042         return qApp->translate( "ReadOnlyFormBase", 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* ReadOnlyFormBase::staticMetaObject()
00051 {
00052     if ( metaObj )
00053         return metaObj;
00054     QMetaObject* parentObject = QWidget::staticMetaObject();
00055     static const QUMethod slot_0 = {"selBackgr", 0, 0 };
00056     static const QUMethod slot_1 = {"reloadRec", 0, 0 };
00057     static const QUParameter param_slot_2[] = {
00058         { "t", &static_QUType_bool, 0, QUParameter::In }
00059     };
00060     static const QUMethod slot_2 = {"setValid", 1, param_slot_2 };
00061     static const QUParameter param_slot_3[] = {
00062         { 0, &static_QUType_QString, 0, QUParameter::Out },
00063         { "o", &static_QUType_ptr, "LitUrl", QUParameter::In }
00064     };
00065     static const QUMethod slot_3 = {"no", 2, param_slot_3 };
00066     static const QUParameter param_slot_4[] = {
00067         { 0, &static_QUType_QString, 0, QUParameter::Out },
00068         { "o", &static_QUType_ptr, "LitUrl", QUParameter::In }
00069     };
00070     static const QUMethod slot_4 = {"tab", 2, param_slot_4 };
00071     static const QMetaData slot_tbl[] = {
00072         { "selBackgr()", &slot_0, QMetaData::Public },
00073         { "reloadRec()", &slot_1, QMetaData::Public },
00074         { "setValid(bool)", &slot_2, QMetaData::Protected },
00075         { "no(LitUrl)", &slot_3, QMetaData::Protected },
00076         { "tab(LitUrl)", &slot_4, QMetaData::Protected }
00077     };
00078     static const QUParameter param_signal_0[] = {
00079         { 0, &static_QUType_bool, 0, QUParameter::In }
00080     };
00081     static const QUMethod signal_0 = {"workingGui", 1, param_signal_0 };
00082     static const QUParameter param_signal_1[] = {
00083         { 0, &static_QUType_bool, 0, QUParameter::In }
00084     };
00085     static const QUMethod signal_1 = {"readonlyGui", 1, param_signal_1 };
00086     static const QUParameter param_signal_2[] = {
00087         { 0, &static_QUType_bool, 0, QUParameter::In }
00088     };
00089     static const QUMethod signal_2 = {"invalidGui", 1, param_signal_2 };
00090     static const QMetaData signal_tbl[] = {
00091         { "workingGui(bool)", &signal_0, QMetaData::Protected },
00092         { "readonlyGui(bool)", &signal_1, QMetaData::Protected },
00093         { "invalidGui(bool)", &signal_2, QMetaData::Protected }
00094     };
00095     metaObj = QMetaObject::new_metaobject(
00096         "ReadOnlyFormBase", parentObject,
00097         slot_tbl, 5,
00098         signal_tbl, 3,
00099 #ifndef QT_NO_PROPERTIES
00100         0, 0,
00101         0, 0,
00102 #endif // QT_NO_PROPERTIES
00103         0, 0 );
00104     cleanUp_ReadOnlyFormBase.setMetaObject( metaObj );
00105     return metaObj;
00106 }
00107 
00108 void* ReadOnlyFormBase::qt_cast( const char* clname )
00109 {
00110     if ( !qstrcmp( clname, "ReadOnlyFormBase" ) )
00111         return this;
00112     return QWidget::qt_cast( clname );
00113 }
00114 
00115 // SIGNAL workingGui
00116 void ReadOnlyFormBase::workingGui( bool t0 )
00117 {
00118     activate_signal_bool( staticMetaObject()->signalOffset() + 0, t0 );
00119 }
00120 
00121 // SIGNAL readonlyGui
00122 void ReadOnlyFormBase::readonlyGui( bool t0 )
00123 {
00124     activate_signal_bool( staticMetaObject()->signalOffset() + 1, t0 );
00125 }
00126 
00127 // SIGNAL invalidGui
00128 void ReadOnlyFormBase::invalidGui( bool t0 )
00129 {
00130     activate_signal_bool( staticMetaObject()->signalOffset() + 2, t0 );
00131 }
00132 
00133 bool ReadOnlyFormBase::qt_invoke( int _id, QUObject* _o )
00134 {
00135     switch ( _id - staticMetaObject()->slotOffset() ) {
00136     case 0: selBackgr(); break;
00137     case 1: reloadRec(); break;
00138     case 2: setValid((bool)static_QUType_bool.get(_o+1)); break;
00139     case 3: static_QUType_QString.set(_o,no((LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+1))))); break;
00140     case 4: static_QUType_QString.set(_o,tab((LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+1))))); break;
00141     default:
00142         return QWidget::qt_invoke( _id, _o );
00143     }
00144     return TRUE;
00145 }
00146 
00147 bool ReadOnlyFormBase::qt_emit( int _id, QUObject* _o )
00148 {
00149     switch ( _id - staticMetaObject()->signalOffset() ) {
00150     case 0: workingGui((bool)static_QUType_bool.get(_o+1)); break;
00151     case 1: readonlyGui((bool)static_QUType_bool.get(_o+1)); break;
00152     case 2: invalidGui((bool)static_QUType_bool.get(_o+1)); break;
00153     default:
00154         return QWidget::qt_emit(_id,_o);
00155     }
00156     return TRUE;
00157 }
00158 #ifndef QT_NO_PROPERTIES
00159 
00160 bool ReadOnlyFormBase::qt_property( int id, int f, QVariant* v)
00161 {
00162     return QWidget::qt_property( id, f, v);
00163 }
00164 
00165 bool ReadOnlyFormBase::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00166 #endif // QT_NO_PROPERTIES

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