/****************************************************************************
** Meta object code from reading C++ file 'browser.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../../src/qtbase-opensource-src-5.5.1/examples/sql/sqlbrowser/browser.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'browser.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.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_Browser_t {
    QByteArrayData data[23];
    char stringdata0[454];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Browser_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Browser_t qt_meta_stringdata_Browser = {
    {
QT_MOC_LITERAL(0, 0, 7), // "Browser"
QT_MOC_LITERAL(1, 8, 13), // "statusMessage"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 7), // "message"
QT_MOC_LITERAL(4, 31, 4), // "exec"
QT_MOC_LITERAL(5, 36, 9), // "showTable"
QT_MOC_LITERAL(6, 46, 5), // "table"
QT_MOC_LITERAL(7, 52, 12), // "showMetaData"
QT_MOC_LITERAL(8, 65, 13), // "addConnection"
QT_MOC_LITERAL(9, 79, 14), // "currentChanged"
QT_MOC_LITERAL(10, 94, 5), // "about"
QT_MOC_LITERAL(11, 100, 28), // "on_insertRowAction_triggered"
QT_MOC_LITERAL(12, 129, 28), // "on_deleteRowAction_triggered"
QT_MOC_LITERAL(13, 158, 32), // "on_fieldStrategyAction_triggered"
QT_MOC_LITERAL(14, 191, 30), // "on_rowStrategyAction_triggered"
QT_MOC_LITERAL(15, 222, 33), // "on_manualStrategyAction_trigg..."
QT_MOC_LITERAL(16, 256, 25), // "on_submitAction_triggered"
QT_MOC_LITERAL(17, 282, 25), // "on_revertAction_triggered"
QT_MOC_LITERAL(18, 308, 25), // "on_selectAction_triggered"
QT_MOC_LITERAL(19, 334, 34), // "on_connectionWidget_tableActi..."
QT_MOC_LITERAL(20, 369, 37), // "on_connectionWidget_metaDataR..."
QT_MOC_LITERAL(21, 407, 23), // "on_submitButton_clicked"
QT_MOC_LITERAL(22, 431, 22) // "on_clearButton_clicked"

    },
    "Browser\0statusMessage\0\0message\0exec\0"
    "showTable\0table\0showMetaData\0addConnection\0"
    "currentChanged\0about\0on_insertRowAction_triggered\0"
    "on_deleteRowAction_triggered\0"
    "on_fieldStrategyAction_triggered\0"
    "on_rowStrategyAction_triggered\0"
    "on_manualStrategyAction_triggered\0"
    "on_submitAction_triggered\0"
    "on_revertAction_triggered\0"
    "on_selectAction_triggered\0"
    "on_connectionWidget_tableActivated\0"
    "on_connectionWidget_metaDataRequested\0"
    "on_submitButton_clicked\0on_clearButton_clicked"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Browser[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      19,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  109,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    0,  112,    2, 0x0a /* Public */,
       5,    1,  113,    2, 0x0a /* Public */,
       7,    1,  116,    2, 0x0a /* Public */,
       8,    0,  119,    2, 0x0a /* Public */,
       9,    0,  120,    2, 0x0a /* Public */,
      10,    0,  121,    2, 0x0a /* Public */,
      11,    0,  122,    2, 0x0a /* Public */,
      12,    0,  123,    2, 0x0a /* Public */,
      13,    0,  124,    2, 0x0a /* Public */,
      14,    0,  125,    2, 0x0a /* Public */,
      15,    0,  126,    2, 0x0a /* Public */,
      16,    0,  127,    2, 0x0a /* Public */,
      17,    0,  128,    2, 0x0a /* Public */,
      18,    0,  129,    2, 0x0a /* Public */,
      19,    1,  130,    2, 0x0a /* Public */,
      20,    1,  133,    2, 0x0a /* Public */,
      21,    0,  136,    2, 0x0a /* Public */,
      22,    0,  137,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Browser::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Browser *_t = static_cast<Browser *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->statusMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->exec(); break;
        case 2: _t->showTable((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->showMetaData((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->addConnection(); break;
        case 5: _t->currentChanged(); break;
        case 6: _t->about(); break;
        case 7: _t->on_insertRowAction_triggered(); break;
        case 8: _t->on_deleteRowAction_triggered(); break;
        case 9: _t->on_fieldStrategyAction_triggered(); break;
        case 10: _t->on_rowStrategyAction_triggered(); break;
        case 11: _t->on_manualStrategyAction_triggered(); break;
        case 12: _t->on_submitAction_triggered(); break;
        case 13: _t->on_revertAction_triggered(); break;
        case 14: _t->on_selectAction_triggered(); break;
        case 15: _t->on_connectionWidget_tableActivated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 16: _t->on_connectionWidget_metaDataRequested((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->on_submitButton_clicked(); break;
        case 18: _t->on_clearButton_clicked(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Browser::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Browser::statusMessage)) {
                *result = 0;
            }
        }
    }
}

const QMetaObject Browser::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Browser.data,
      qt_meta_data_Browser,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


const QMetaObject *Browser::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Browser::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Browser.stringdata0))
        return static_cast<void*>(const_cast< Browser*>(this));
    return QWidget::qt_metacast(_clname);
}

int Browser::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 < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 19;
    }
    return _id;
}

// SIGNAL 0
void Browser::statusMessage(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_CustomModel_t {
    QByteArrayData data[1];
    char stringdata0[12];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CustomModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CustomModel_t qt_meta_stringdata_CustomModel = {
    {
QT_MOC_LITERAL(0, 0, 11) // "CustomModel"

    },
    "CustomModel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CustomModel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

       0        // eod
};

void CustomModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject CustomModel::staticMetaObject = {
    { &QSqlTableModel::staticMetaObject, qt_meta_stringdata_CustomModel.data,
      qt_meta_data_CustomModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


const QMetaObject *CustomModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *CustomModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_CustomModel.stringdata0))
        return static_cast<void*>(const_cast< CustomModel*>(this));
    return QSqlTableModel::qt_metacast(_clname);
}

int CustomModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSqlTableModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
QT_END_MOC_NAMESPACE
