00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "readwriteformbase.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 *ReadWriteFormBase::className() const
00023 {
00024 return "ReadWriteFormBase";
00025 }
00026
00027 QMetaObject *ReadWriteFormBase::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_ReadWriteFormBase( "ReadWriteFormBase", &ReadWriteFormBase::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString ReadWriteFormBase::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "ReadWriteFormBase", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString ReadWriteFormBase::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "ReadWriteFormBase", 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* ReadWriteFormBase::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = ReadOnlyFormBase::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 = {"checkThreads", 0, 0 };
00068 static const QUMethod slot_4 = {"copy", 0, 0 };
00069 static const QUMethod slot_5 = {"cut", 0, 0 };
00070 static const QUMethod slot_6 = {"paste", 0, 0 };
00071 static const QUMethod slot_7 = {"write", 0, 0 };
00072 static const QUMethod slot_8 = {"deleteRec", 0, 0 };
00073 static const QUParameter param_slot_9[] = {
00074 { "obj1", &static_QUType_ptr, "LitUrl", QUParameter::In },
00075 { "obj2", &static_QUType_ptr, "LitUrl", QUParameter::In }
00076 };
00077 static const QUMethod slot_9 = {"createLink", 2, param_slot_9 };
00078 static const QUParameter param_slot_10[] = {
00079 { "obj1", &static_QUType_ptr, "LitUrl", QUParameter::In },
00080 { "obj2", &static_QUType_ptr, "LitUrl", QUParameter::In }
00081 };
00082 static const QUMethod slot_10 = {"deleteLink", 2, param_slot_10 };
00083 static const QUParameter param_slot_11[] = {
00084 { "publ", &static_QUType_ptr, "LitUrl", QUParameter::In },
00085 { "author", &static_QUType_ptr, "LitUrl", QUParameter::In }
00086 };
00087 static const QUMethod slot_11 = {"createPublicationAuthor", 2, param_slot_11 };
00088 static const QUParameter param_slot_12[] = {
00089 { "publ", &static_QUType_ptr, "LitUrl", QUParameter::In },
00090 { "author", &static_QUType_ptr, "LitUrl", QUParameter::In }
00091 };
00092 static const QUMethod slot_12 = {"deletePublicationAuthor", 2, param_slot_12 };
00093 static const QUParameter param_slot_13[] = {
00094 { "part", &static_QUType_ptr, "LitUrl", QUParameter::In },
00095 { "author", &static_QUType_ptr, "LitUrl", QUParameter::In }
00096 };
00097 static const QUMethod slot_13 = {"createPartAuthor", 2, param_slot_13 };
00098 static const QUParameter param_slot_14[] = {
00099 { "part", &static_QUType_ptr, "LitUrl", QUParameter::In },
00100 { "author", &static_QUType_ptr, "LitUrl", QUParameter::In }
00101 };
00102 static const QUMethod slot_14 = {"deletePartAuthor", 2, param_slot_14 };
00103 static const QUParameter param_slot_15[] = {
00104 { "pr", &static_QUType_ptr, "LitUrl", QUParameter::In },
00105 { "pub", &static_QUType_ptr, "LitUrl", QUParameter::In }
00106 };
00107 static const QUMethod slot_15 = {"createProjectBibliography", 2, param_slot_15 };
00108 static const QUParameter param_slot_16[] = {
00109 { "pr", &static_QUType_ptr, "LitUrl", QUParameter::In },
00110 { "pub", &static_QUType_ptr, "LitUrl", QUParameter::In }
00111 };
00112 static const QUMethod slot_16 = {"deleteProjectBibliography", 2, param_slot_16 };
00113 static const QUParameter param_slot_17[] = {
00114 { "obj", &static_QUType_ptr, "LitUrl", QUParameter::In }
00115 };
00116 static const QUMethod slot_17 = {"newNote", 1, param_slot_17 };
00117 static const QMetaData slot_tbl[] = {
00118 { "setWorkingGui(bool)", &slot_0, QMetaData::Protected },
00119 { "setReadonlyGui(bool)", &slot_1, QMetaData::Protected },
00120 { "setInvalidGui(bool)", &slot_2, QMetaData::Protected },
00121 { "checkThreads()", &slot_3, QMetaData::Public },
00122 { "copy()", &slot_4, QMetaData::Public },
00123 { "cut()", &slot_5, QMetaData::Public },
00124 { "paste()", &slot_6, QMetaData::Public },
00125 { "write()", &slot_7, QMetaData::Public },
00126 { "deleteRec()", &slot_8, QMetaData::Public },
00127 { "createLink(LitUrl,LitUrl)", &slot_9, QMetaData::Public },
00128 { "deleteLink(LitUrl,LitUrl)", &slot_10, QMetaData::Public },
00129 { "createPublicationAuthor(LitUrl,LitUrl)", &slot_11, QMetaData::Public },
00130 { "deletePublicationAuthor(LitUrl,LitUrl)", &slot_12, QMetaData::Public },
00131 { "createPartAuthor(LitUrl,LitUrl)", &slot_13, QMetaData::Public },
00132 { "deletePartAuthor(LitUrl,LitUrl)", &slot_14, QMetaData::Public },
00133 { "createProjectBibliography(LitUrl,LitUrl)", &slot_15, QMetaData::Public },
00134 { "deleteProjectBibliography(LitUrl,LitUrl)", &slot_16, QMetaData::Public },
00135 { "newNote(LitUrl)", &slot_17, QMetaData::Public }
00136 };
00137 metaObj = QMetaObject::new_metaobject(
00138 "ReadWriteFormBase", parentObject,
00139 slot_tbl, 18,
00140 0, 0,
00141 #ifndef QT_NO_PROPERTIES
00142 0, 0,
00143 0, 0,
00144 #endif
00145 0, 0 );
00146 cleanUp_ReadWriteFormBase.setMetaObject( metaObj );
00147 return metaObj;
00148 }
00149
00150 void* ReadWriteFormBase::qt_cast( const char* clname )
00151 {
00152 if ( !qstrcmp( clname, "ReadWriteFormBase" ) )
00153 return this;
00154 return ReadOnlyFormBase::qt_cast( clname );
00155 }
00156
00157 bool ReadWriteFormBase::qt_invoke( int _id, QUObject* _o )
00158 {
00159 switch ( _id - staticMetaObject()->slotOffset() ) {
00160 case 0: setWorkingGui((bool)static_QUType_bool.get(_o+1)); break;
00161 case 1: setReadonlyGui((bool)static_QUType_bool.get(_o+1)); break;
00162 case 2: setInvalidGui((bool)static_QUType_bool.get(_o+1)); break;
00163 case 3: checkThreads(); break;
00164 case 4: copy(); break;
00165 case 5: cut(); break;
00166 case 6: paste(); break;
00167 case 7: write(); break;
00168 case 8: deleteRec(); break;
00169 case 9: createLink((LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+1))),(LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+2)))); break;
00170 case 10: deleteLink((LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+1))),(LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+2)))); break;
00171 case 11: createPublicationAuthor((LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+1))),(LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+2)))); break;
00172 case 12: deletePublicationAuthor((LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+1))),(LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+2)))); break;
00173 case 13: createPartAuthor((LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+1))),(LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+2)))); break;
00174 case 14: deletePartAuthor((LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+1))),(LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+2)))); break;
00175 case 15: createProjectBibliography((LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+1))),(LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+2)))); break;
00176 case 16: deleteProjectBibliography((LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+1))),(LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+2)))); break;
00177 case 17: newNote((LitUrl)(*((LitUrl*)static_QUType_ptr.get(_o+1)))); break;
00178 default:
00179 return ReadOnlyFormBase::qt_invoke( _id, _o );
00180 }
00181 return TRUE;
00182 }
00183
00184 bool ReadWriteFormBase::qt_emit( int _id, QUObject* _o )
00185 {
00186 return ReadOnlyFormBase::qt_emit(_id,_o);
00187 }
00188 #ifndef QT_NO_PROPERTIES
00189
00190 bool ReadWriteFormBase::qt_property( int id, int f, QVariant* v)
00191 {
00192 return ReadOnlyFormBase::qt_property( id, f, v);
00193 }
00194
00195 bool ReadWriteFormBase::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00196 #endif // QT_NO_PROPERTIES