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

file.moc.cpp

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

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