/****************************************************************************
** Meta object code from reading C++ file 'widget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.1.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../qcombobox/widget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'widget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.1.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_AccountItem_t {
QByteArrayData data[16];
char stringdata[201];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
offsetof(qt_meta_stringdata_AccountItem_t, stringdata) + ofs \
- idx * sizeof(QByteArrayData) \
)
static const qt_meta_stringdata_AccountItem_t qt_meta_stringdata_AccountItem = {
{
QT_MOC_LITERAL(0, 0, 11),
QT_MOC_LITERAL(1, 12, 13),
QT_MOC_LITERAL(2, 26, 0),
QT_MOC_LITERAL(3, 27, 7),
QT_MOC_LITERAL(4, 35, 11),
QT_MOC_LITERAL(5, 47, 13),
QT_MOC_LITERAL(6, 61, 16),
QT_MOC_LITERAL(7, 78, 12),
QT_MOC_LITERAL(8, 91, 16),
QT_MOC_LITERAL(9, 108, 15),
QT_MOC_LITERAL(10, 124, 12),
QT_MOC_LITERAL(11, 137, 5),
QT_MOC_LITERAL(12, 143, 17),
QT_MOC_LITERAL(13, 161, 14),
QT_MOC_LITERAL(14, 176, 10),
QT_MOC_LITERAL(15, 187, 12)
},
"AccountItem\0changeAccount\0\0account\0"
"showAccount\0removeAccount\0setAccountNumber\0"
"account_text\0getAccountNumber\0"
"mousePressEvent\0QMouseEvent*\0event\0"
"mouseReleaseEvent\0mouseMoveEvent\0"
"paintEvent\0QPaintEvent*\0"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_AccountItem[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
10, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
3, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 64, 2, 0x05,
4, 1, 67, 2, 0x05,
5, 1, 70, 2, 0x05,
// slots: name, argc, parameters, tag, flags
6, 1, 73, 2, 0x0a,
8, 0, 76, 2, 0x0a,
5, 0, 77, 2, 0x0a,
9, 1, 78, 2, 0x0a,
12, 1, 81, 2, 0x0a,
13, 1, 84, 2, 0x0a,
14, 1, 87, 2, 0x08,
// signals: parameters
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void, QMetaType::QString, 3,
// slots: parameters
QMetaType::Void, QMetaType::QString, 7,
QMetaType::QString,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 10, 11,
QMetaType::Void, 0x80000000 | 10, 11,
QMetaType::Void, 0x80000000 | 10, 2,
QMetaType::Void, 0x80000000 | 15, 2,
0 // eod
};
void AccountItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
AccountItem *_t = static_cast<AccountItem *>(_o);
switch (_id) {
case 0: _t->changeAccount((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 1: _t->showAccount((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 2: _t->removeAccount((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 3: _t->setAccountNumber((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 4: { QString _r = _t->getAccountNumber();
if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
case 5: _t->removeAccount(); break;
case 6: _t->mousePressEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
case 7: _t->mouseReleaseEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
case 8: _t->mouseMoveEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
case 9: _t->paintEvent((*reinterpret_cast< QPaintEvent*(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
void **func = reinterpret_cast<void **>(_a[1]);
{
typedef void (AccountItem::*_t)(QString );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AccountItem::changeAccount)) {
*result = 0;
}
}
{
typedef void (AccountItem::*_t)(QString );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AccountItem::showAccount)) {
*result = 1;
}
}
{
typedef void (AccountItem::*_t)(QString );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AccountItem::removeAccount)) {
*result = 2;
}
}
}
}
const QMetaObject AccountItem::staticMetaObject = {
{ &QWidget::staticMetaObject, qt_meta_stringdata_AccountItem.data,
qt_meta_data_AccountItem, qt_static_metacall, 0, 0}
};
const QMetaObject *AccountItem::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *AccountItem::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_AccountItem.stringdata))
return static_cast<void*>(const_cast< AccountItem*>(this));
return QWidget::qt_metacast(_clname);
}
int AccountItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 10)
qt_static_metacall(this, _c, _id, _a);
_id -= 10;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 10)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 10;
}
return _id;
}
// SIGNAL 0
void AccountItem::changeAccount(QString _t1)
{
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void AccountItem::showAccount(QString _t1)
{
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
// SIGNAL 2
void AccountItem::removeAccount(QString _t1)
{
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
struct qt_meta_stringdata_Widget_t {
QByteArrayData data[11];
char stringdata[113];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
offsetof(qt_meta_stringdata_Widget_t, stringdata) + ofs \
- idx * sizeof(QByteArrayData) \
)
static const qt_meta_stringdata_Widget_t qt_meta_stringdata_Widget = {
{
QT_MOC_LITERAL(0, 0, 6),
QT_MOC_LITERAL(1, 7, 11),
QT_MOC_LITERAL(2, 19, 0),
QT_MOC_LITERAL(3, 20, 7),
QT_MOC_LITERAL(4, 28, 13),
QT_MOC_LITERAL(5, 42, 11),
QT_MOC_LITERAL(6, 54, 5),
QT_MOC_LITERAL(7, 60, 13),
QT_MOC_LITERAL(8, 74, 15),
QT_MOC_LITERAL(9, 90, 12),
QT_MOC_LITERAL(10, 103, 8)
},
"Widget\0showAccount\0\0account\0removeAccount\0"
"proxyChange\0index\0changeAccount\0"
"mousePressEvent\0QMouseEvent*\0slotTime\0"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_Widget[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
- 1
- 2
- 3
前往页