00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "ticket.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'ticket.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_Ticket[] = {
00020
00021
00022 1,
00023 0,
00024 0, 0,
00025 7, 10,
00026 0, 0,
00027 0, 0,
00028
00029
00030 8, 7, 7, 7, 0x0a,
00031 16, 7, 7, 7, 0x0a,
00032 33, 24, 7, 7, 0x0a,
00033 58, 24, 7, 7, 0x0a,
00034 88, 81, 7, 7, 0x0a,
00035 109, 7, 7, 7, 0x0a,
00036 141, 7, 7, 7, 0x0a,
00037
00038 0
00039 };
00040
00041 static const char qt_meta_stringdata_Ticket[] = {
00042 "Ticket\0\0subir()\0bajar()\0cantidad\0"
00043 "agregarCantidad(QString)\0"
00044 "ponerCantidad(QString)\0precio\0"
00045 "ponerPrecio(QString)\0"
00046 "insertarArticuloCodigo(QString)\0"
00047 "insertarArticuloCodigoNL(QString)\0"
00048 };
00049
00050 const QMetaObject Ticket::staticMetaObject = {
00051 { &BLWidget::staticMetaObject, qt_meta_stringdata_Ticket,
00052 qt_meta_data_Ticket, 0 }
00053 };
00054
00055 const QMetaObject *Ticket::metaObject() const
00056 {
00057 return &staticMetaObject;
00058 }
00059
00060 void *Ticket::qt_metacast(const char *_clname)
00061 {
00062 if (!_clname) return 0;
00063 if (!strcmp(_clname, qt_meta_stringdata_Ticket))
00064 return static_cast<void*>(const_cast<Ticket*>(this));
00065 if (!strcmp(_clname, "DBRecord"))
00066 return static_cast<DBRecord*>(const_cast<Ticket*>(this));
00067 return BLWidget::qt_metacast(_clname);
00068 }
00069
00070 int Ticket::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00071 {
00072 _id = BLWidget::qt_metacall(_c, _id, _a);
00073 if (_id < 0)
00074 return _id;
00075 if (_c == QMetaObject::InvokeMetaMethod) {
00076 switch (_id) {
00077 case 0: subir(); break;
00078 case 1: bajar(); break;
00079 case 2: agregarCantidad((*reinterpret_cast< QString(*)>(_a[1]))); break;
00080 case 3: ponerCantidad((*reinterpret_cast< QString(*)>(_a[1]))); break;
00081 case 4: ponerPrecio((*reinterpret_cast< QString(*)>(_a[1]))); break;
00082 case 5: insertarArticuloCodigo((*reinterpret_cast< QString(*)>(_a[1]))); break;
00083 case 6: insertarArticuloCodigoNL((*reinterpret_cast< QString(*)>(_a[1]))); break;
00084 }
00085 _id -= 7;
00086 }
00087 return _id;
00088 }