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

publication.moc.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Publication meta object code from reading C++ file 'publication.h'
00003 **
00004 ** Created: Sat Mar 27 00:58:45 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 "publication.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 *Publication::className() const
00023 {
00024     return "Publication";
00025 }
00026 
00027 QMetaObject *Publication::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_Publication( "Publication", &Publication::staticMetaObject );
00029 
00030 #ifndef QT_NO_TRANSLATION
00031 QString Publication::tr( const char *s, const char *c )
00032 {
00033     if ( qApp )
00034         return qApp->translate( "Publication", s, c, QApplication::DefaultCodec );
00035     else
00036         return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString Publication::trUtf8( const char *s, const char *c )
00040 {
00041     if ( qApp )
00042         return qApp->translate( "Publication", 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* Publication::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 QUMethod slot_3 = {"showBiblio", 0, 0 };
00068     static const QUMethod slot_4 = {"insertNote", 0, 0 };
00069     static const QUMethod slot_5 = {"deleteNote", 0, 0 };
00070     static const QUMethod slot_6 = {"createNote", 0, 0 };
00071     static const QUMethod slot_7 = {"insertAuthor", 0, 0 };
00072     static const QUMethod slot_8 = {"deleteAuthor", 0, 0 };
00073     static const QUMethod slot_9 = {"createAuthor", 0, 0 };
00074     static const QUMethod slot_10 = {"createPart", 0, 0 };
00075     static const QUMethod slot_11 = {"deletePart", 0, 0 };
00076     static const QUMethod slot_12 = {"chooseJournal", 0, 0 };
00077     static const QUMethod slot_13 = {"choosePublisher", 0, 0 };
00078     static const QUMethod slot_14 = {"checkJournal", 0, 0 };
00079     static const QUMethod slot_15 = {"addToProject", 0, 0 };
00080     static const QMetaData slot_tbl[] = {
00081         { "setWorkingGui(bool)", &slot_0, QMetaData::Protected },
00082         { "setReadonlyGui(bool)", &slot_1, QMetaData::Protected },
00083         { "setInvalidGui(bool)", &slot_2, QMetaData::Protected },
00084         { "showBiblio()", &slot_3, QMetaData::Protected },
00085         { "insertNote()", &slot_4, QMetaData::Protected },
00086         { "deleteNote()", &slot_5, QMetaData::Protected },
00087         { "createNote()", &slot_6, QMetaData::Protected },
00088         { "insertAuthor()", &slot_7, QMetaData::Protected },
00089         { "deleteAuthor()", &slot_8, QMetaData::Protected },
00090         { "createAuthor()", &slot_9, QMetaData::Protected },
00091         { "createPart()", &slot_10, QMetaData::Protected },
00092         { "deletePart()", &slot_11, QMetaData::Protected },
00093         { "chooseJournal()", &slot_12, QMetaData::Protected },
00094         { "choosePublisher()", &slot_13, QMetaData::Protected },
00095         { "checkJournal()", &slot_14, QMetaData::Protected },
00096         { "addToProject()", &slot_15, QMetaData::Protected }
00097     };
00098     metaObj = QMetaObject::new_metaobject(
00099         "Publication", parentObject,
00100         slot_tbl, 16,
00101         0, 0,
00102 #ifndef QT_NO_PROPERTIES
00103         0, 0,
00104         0, 0,
00105 #endif // QT_NO_PROPERTIES
00106         0, 0 );
00107     cleanUp_Publication.setMetaObject( metaObj );
00108     return metaObj;
00109 }
00110 
00111 void* Publication::qt_cast( const char* clname )
00112 {
00113     if ( !qstrcmp( clname, "Publication" ) )
00114         return this;
00115     return ReadWriteFormBase::qt_cast( clname );
00116 }
00117 
00118 bool Publication::qt_invoke( int _id, QUObject* _o )
00119 {
00120     switch ( _id - staticMetaObject()->slotOffset() ) {
00121     case 0: setWorkingGui((bool)static_QUType_bool.get(_o+1)); break;
00122     case 1: setReadonlyGui((bool)static_QUType_bool.get(_o+1)); break;
00123     case 2: setInvalidGui((bool)static_QUType_bool.get(_o+1)); break;
00124     case 3: showBiblio(); break;
00125     case 4: insertNote(); break;
00126     case 5: deleteNote(); break;
00127     case 6: createNote(); break;
00128     case 7: insertAuthor(); break;
00129     case 8: deleteAuthor(); break;
00130     case 9: createAuthor(); break;
00131     case 10: createPart(); break;
00132     case 11: deletePart(); break;
00133     case 12: chooseJournal(); break;
00134     case 13: choosePublisher(); break;
00135     case 14: checkJournal(); break;
00136     case 15: addToProject(); break;
00137     default:
00138         return ReadWriteFormBase::qt_invoke( _id, _o );
00139     }
00140     return TRUE;
00141 }
00142 
00143 bool Publication::qt_emit( int _id, QUObject* _o )
00144 {
00145     return ReadWriteFormBase::qt_emit(_id,_o);
00146 }
00147 #ifndef QT_NO_PROPERTIES
00148 
00149 bool Publication::qt_property( int id, int f, QVariant* v)
00150 {
00151     return ReadWriteFormBase::qt_property( id, f, v);
00152 }
00153 
00154 bool Publication::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00155 #endif // QT_NO_PROPERTIES

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