00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "../ficha.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'ficha.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.2.2. It"
00015 #error "cannot be used with the include files from this version of Qt."
00016 #error "(The moc has changed too much.)"
00017 #endif
00018
00019 static const uint qt_meta_data_Ficha[] = {
00020
00021
00022 1,
00023 0,
00024 0, 0,
00025 10, 10,
00026 0, 0,
00027 0, 0,
00028
00029
00030 7, 6, 6, 6, 0x05,
00031 16, 6, 6, 6, 0x05,
00032 34, 6, 6, 6, 0x05,
00033
00034
00035 54, 6, 6, 6, 0x0a,
00036 79, 6, 6, 6, 0x0a,
00037 103, 6, 6, 6, 0x0a,
00038 129, 6, 6, 6, 0x0a,
00039 155, 6, 6, 6, 0x0a,
00040 184, 180, 6, 6, 0x0a,
00041 222, 6, 6, 6, 0x0a,
00042
00043 0
00044 };
00045
00046 static const char qt_meta_stringdata_Ficha[] = {
00047 "Ficha\0\0cerrar()\0pintaMenu(QMenu*)\0"
00048 "trataMenu(QAction*)\0on_mui_aceptar_clicked()\0"
00049 "on_mui_borrar_clicked()\0"
00050 "on_mui_eliminar_clicked()\0"
00051 "on_mui_cancelar_clicked()\0"
00052 "on_mui_guardar_clicked()\0pos\0"
00053 "on_customContextMenuRequested(QPoint)\0"
00054 "on_mui_imprimir_clicked()\0"
00055 };
00056
00057 const QMetaObject Ficha::staticMetaObject = {
00058 { &BLWidget::staticMetaObject, qt_meta_stringdata_Ficha,
00059 qt_meta_data_Ficha, 0 }
00060 };
00061
00062 const QMetaObject *Ficha::metaObject() const
00063 {
00064 return &staticMetaObject;
00065 }
00066
00067 void *Ficha::qt_metacast(const char *_clname)
00068 {
00069 if (!_clname) return 0;
00070 if (!strcmp(_clname, qt_meta_stringdata_Ficha))
00071 return static_cast<void*>(const_cast<Ficha*>(this));
00072 if (!strcmp(_clname, "DBRecord"))
00073 return static_cast<DBRecord*>(const_cast<Ficha*>(this));
00074 if (!strcmp(_clname, "dialogChanges"))
00075 return static_cast<dialogChanges*>(const_cast<Ficha*>(this));
00076 return BLWidget::qt_metacast(_clname);
00077 }
00078
00079 int Ficha::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00080 {
00081 _id = BLWidget::qt_metacall(_c, _id, _a);
00082 if (_id < 0)
00083 return _id;
00084 if (_c == QMetaObject::InvokeMetaMethod) {
00085 switch (_id) {
00086 case 0: cerrar(); break;
00087 case 1: pintaMenu((*reinterpret_cast< QMenu*(*)>(_a[1]))); break;
00088 case 2: trataMenu((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
00089 case 3: on_mui_aceptar_clicked(); break;
00090 case 4: on_mui_borrar_clicked(); break;
00091 case 5: on_mui_eliminar_clicked(); break;
00092 case 6: on_mui_cancelar_clicked(); break;
00093 case 7: on_mui_guardar_clicked(); break;
00094 case 8: on_customContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
00095 case 9: on_mui_imprimir_clicked(); break;
00096 }
00097 _id -= 10;
00098 }
00099 return _id;
00100 }
00101
00102
00103 void Ficha::cerrar()
00104 {
00105 QMetaObject::activate(this, &staticMetaObject, 0, 0);
00106 }
00107
00108
00109 void Ficha::pintaMenu(QMenu * _t1)
00110 {
00111 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00112 QMetaObject::activate(this, &staticMetaObject, 1, _a);
00113 }
00114
00115
00116 void Ficha::trataMenu(QAction * _t1)
00117 {
00118 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00119 QMetaObject::activate(this, &staticMetaObject, 2, _a);
00120 }