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

#include <memory>
#include "../../sqliteman-1.2.2/sqliteman/dataviewer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dataviewer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_DataViewer_t {
    QByteArrayData data[22];
    char stringdata0[297];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DataViewer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DataViewer_t qt_meta_stringdata_DataViewer = {
    {
QT_MOC_LITERAL(0, 0, 10), // "DataViewer"
QT_MOC_LITERAL(1, 11, 19), // "showSqlScriptResult"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 4), // "line"
QT_MOC_LITERAL(4, 37, 14), // "sqlScriptStart"
QT_MOC_LITERAL(5, 52, 6), // "addRow"
QT_MOC_LITERAL(6, 59, 9), // "removeRow"
QT_MOC_LITERAL(7, 69, 13), // "truncateTable"
QT_MOC_LITERAL(8, 83, 10), // "exportData"
QT_MOC_LITERAL(9, 94, 6), // "commit"
QT_MOC_LITERAL(10, 101, 8), // "rollback"
QT_MOC_LITERAL(11, 110, 11), // "copyHandler"
QT_MOC_LITERAL(12, 122, 20), // "openStandaloneWindow"
QT_MOC_LITERAL(13, 143, 17), // "handleBlobPreview"
QT_MOC_LITERAL(14, 161, 26), // "tableView_selectionChanged"
QT_MOC_LITERAL(15, 188, 14), // "QItemSelection"
QT_MOC_LITERAL(16, 203, 21), // "tableView_dataResized"
QT_MOC_LITERAL(17, 225, 6), // "column"
QT_MOC_LITERAL(18, 232, 8), // "oldWidth"
QT_MOC_LITERAL(19, 241, 8), // "newWidth"
QT_MOC_LITERAL(20, 250, 24), // "tabWidget_currentChanged"
QT_MOC_LITERAL(21, 275, 21) // "itemView_indexChanged"

    },
    "DataViewer\0showSqlScriptResult\0\0line\0"
    "sqlScriptStart\0addRow\0removeRow\0"
    "truncateTable\0exportData\0commit\0"
    "rollback\0copyHandler\0openStandaloneWindow\0"
    "handleBlobPreview\0tableView_selectionChanged\0"
    "QItemSelection\0tableView_dataResized\0"
    "column\0oldWidth\0newWidth\0"
    "tabWidget_currentChanged\0itemView_indexChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DataViewer[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x0a /* Public */,
       4,    0,   92,    2, 0x0a /* Public */,
       5,    0,   93,    2, 0x08 /* Private */,
       6,    0,   94,    2, 0x08 /* Private */,
       7,    0,   95,    2, 0x08 /* Private */,
       8,    0,   96,    2, 0x08 /* Private */,
       9,    0,   97,    2, 0x08 /* Private */,
      10,    0,   98,    2, 0x08 /* Private */,
      11,    0,   99,    2, 0x08 /* Private */,
      12,    0,  100,    2, 0x08 /* Private */,
      13,    1,  101,    2, 0x08 /* Private */,
      14,    2,  104,    2, 0x08 /* Private */,
      16,    3,  109,    2, 0x08 /* Private */,
      20,    1,  116,    2, 0x08 /* Private */,
      21,    0,  119,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 15,    2,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,   17,   18,   19,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,

       0        // eod
};

void DataViewer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DataViewer *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->showSqlScriptResult((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 1: _t->sqlScriptStart(); break;
        case 2: _t->addRow(); break;
        case 3: _t->removeRow(); break;
        case 4: _t->truncateTable(); break;
        case 5: _t->exportData(); break;
        case 6: _t->commit(); break;
        case 7: _t->rollback(); break;
        case 8: _t->copyHandler(); break;
        case 9: _t->openStandaloneWindow(); break;
        case 10: _t->handleBlobPreview((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->tableView_selectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 12: _t->tableView_dataResized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 13: _t->tabWidget_currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->itemView_indexChanged(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject DataViewer::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_DataViewer.data,
    qt_meta_data_DataViewer,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *DataViewer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_DataViewer.stringdata0))
        return static_cast<void*>(this);
    return QMainWindow::qt_metacast(_clname);
}

int DataViewer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
    return _id;
}
struct qt_meta_stringdata_DataViewerTools__KeyPressEater_t {
    QByteArrayData data[3];
    char stringdata0[44];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DataViewerTools__KeyPressEater_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DataViewerTools__KeyPressEater_t qt_meta_stringdata_DataViewerTools__KeyPressEater = {
    {
QT_MOC_LITERAL(0, 0, 30), // "DataViewerTools::KeyPressEater"
QT_MOC_LITERAL(1, 31, 11), // "copyRequest"
QT_MOC_LITERAL(2, 43, 0) // ""

    },
    "DataViewerTools::KeyPressEater\0"
    "copyRequest\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DataViewerTools__KeyPressEater[] = {

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

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

 // signals: parameters
    QMetaType::Void,

       0        // eod
};

void DataViewerTools::KeyPressEater::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<KeyPressEater *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->copyRequest(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (KeyPressEater::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyPressEater::copyRequest)) {
                *result = 0;
                return;
            }
        }
    }
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject DataViewerTools::KeyPressEater::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_DataViewerTools__KeyPressEater.data,
    qt_meta_data_DataViewerTools__KeyPressEater,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *DataViewerTools::KeyPressEater::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_DataViewerTools__KeyPressEater.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int DataViewerTools::KeyPressEater::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void DataViewerTools::KeyPressEater::copyRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
