00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "../busquedaarticulo.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'busquedaarticulo.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_BusquedaArticuloDelegate[] = {
00020
00021
00022 1,
00023 0,
00024 0, 0,
00025 1, 10,
00026 0, 0,
00027 0, 0,
00028
00029
00030 26, 25, 25, 25, 0x0a,
00031
00032 0
00033 };
00034
00035 static const char qt_meta_stringdata_BusquedaArticuloDelegate[] = {
00036 "BusquedaArticuloDelegate\0\0"
00037 "s_editTextChanged(QString)\0"
00038 };
00039
00040 const QMetaObject BusquedaArticuloDelegate::staticMetaObject = {
00041 { &QComboBox2::staticMetaObject, qt_meta_stringdata_BusquedaArticuloDelegate,
00042 qt_meta_data_BusquedaArticuloDelegate, 0 }
00043 };
00044
00045 const QMetaObject *BusquedaArticuloDelegate::metaObject() const
00046 {
00047 return &staticMetaObject;
00048 }
00049
00050 void *BusquedaArticuloDelegate::qt_metacast(const char *_clname)
00051 {
00052 if (!_clname) return 0;
00053 if (!strcmp(_clname, qt_meta_stringdata_BusquedaArticuloDelegate))
00054 return static_cast<void*>(const_cast<BusquedaArticuloDelegate*>(this));
00055 return QComboBox2::qt_metacast(_clname);
00056 }
00057
00058 int BusquedaArticuloDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00059 {
00060 _id = QComboBox2::qt_metacall(_c, _id, _a);
00061 if (_id < 0)
00062 return _id;
00063 if (_c == QMetaObject::InvokeMetaMethod) {
00064 switch (_id) {
00065 case 0: s_editTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00066 }
00067 _id -= 1;
00068 }
00069 return _id;
00070 }
00071 static const uint qt_meta_data_BusquedaArticulo[] = {
00072
00073
00074 1,
00075 0,
00076 0, 0,
00077 3, 10,
00078 0, 0,
00079 0, 0,
00080
00081
00082 18, 17, 17, 17, 0x05,
00083
00084
00085 40, 17, 17, 17, 0x0a,
00086 64, 17, 17, 17, 0x0a,
00087
00088 0
00089 };
00090
00091 static const char qt_meta_stringdata_BusquedaArticulo[] = {
00092 "BusquedaArticulo\0\0valueChanged(QString)\0"
00093 "on_mui_buscar_clicked()\0"
00094 "on_m_codigocompletoarticulo_textChanged(QString)\0"
00095 };
00096
00097 const QMetaObject BusquedaArticulo::staticMetaObject = {
00098 { &BLWidget::staticMetaObject, qt_meta_stringdata_BusquedaArticulo,
00099 qt_meta_data_BusquedaArticulo, 0 }
00100 };
00101
00102 const QMetaObject *BusquedaArticulo::metaObject() const
00103 {
00104 return &staticMetaObject;
00105 }
00106
00107 void *BusquedaArticulo::qt_metacast(const char *_clname)
00108 {
00109 if (!_clname) return 0;
00110 if (!strcmp(_clname, qt_meta_stringdata_BusquedaArticulo))
00111 return static_cast<void*>(const_cast<BusquedaArticulo*>(this));
00112 if (!strcmp(_clname, "Ui_BusquedaArticuloBase"))
00113 return static_cast<Ui_BusquedaArticuloBase*>(const_cast<BusquedaArticulo*>(this));
00114 return BLWidget::qt_metacast(_clname);
00115 }
00116
00117 int BusquedaArticulo::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00118 {
00119 _id = BLWidget::qt_metacall(_c, _id, _a);
00120 if (_id < 0)
00121 return _id;
00122 if (_c == QMetaObject::InvokeMetaMethod) {
00123 switch (_id) {
00124 case 0: valueChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
00125 case 1: on_mui_buscar_clicked(); break;
00126 case 2: on_m_codigocompletoarticulo_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00127 }
00128 _id -= 3;
00129 }
00130 return _id;
00131 }
00132
00133
00134 void BusquedaArticulo::valueChanged(QString _t1)
00135 {
00136 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00137 QMetaObject::activate(this, &staticMetaObject, 0, _a);
00138 }