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

#include <memory>
#include "../../../SQLiteStudio3/guiSQLiteStudio/dialogs/dbdialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbdialog.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_DbDialog_t {
    QByteArrayData data[16];
    char stringdata0[198];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DbDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DbDialog_t qt_meta_stringdata_DbDialog = {
    {
QT_MOC_LITERAL(0, 0, 8), // "DbDialog"
QT_MOC_LITERAL(1, 9, 11), // "typeChanged"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 5), // "index"
QT_MOC_LITERAL(4, 28, 29), // "valueForNameGenerationChanged"
QT_MOC_LITERAL(5, 58, 13), // "browseForFile"
QT_MOC_LITERAL(6, 72, 11), // "fileChanged"
QT_MOC_LITERAL(7, 84, 4), // "arg1"
QT_MOC_LITERAL(8, 89, 13), // "browseClicked"
QT_MOC_LITERAL(9, 103, 21), // "testConnectionClicked"
QT_MOC_LITERAL(10, 125, 15), // "propertyChanged"
QT_MOC_LITERAL(11, 141, 13), // "dbTypeChanged"
QT_MOC_LITERAL(12, 155, 12), // "nameModified"
QT_MOC_LITERAL(13, 168, 5), // "value"
QT_MOC_LITERAL(14, 174, 16), // "updateCreateMode"
QT_MOC_LITERAL(15, 191, 6) // "accept"

    },
    "DbDialog\0typeChanged\0\0index\0"
    "valueForNameGenerationChanged\0"
    "browseForFile\0fileChanged\0arg1\0"
    "browseClicked\0testConnectionClicked\0"
    "propertyChanged\0dbTypeChanged\0"
    "nameModified\0value\0updateCreateMode\0"
    "accept"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DbDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x08 /* Private */,
       4,    0,   72,    2, 0x08 /* Private */,
       5,    0,   73,    2, 0x08 /* Private */,
       6,    1,   74,    2, 0x08 /* Private */,
       8,    0,   77,    2, 0x08 /* Private */,
       9,    0,   78,    2, 0x08 /* Private */,
      10,    0,   79,    2, 0x08 /* Private */,
      11,    1,   80,    2, 0x08 /* Private */,
      12,    1,   83,    2, 0x08 /* Private */,
      14,    0,   86,    2, 0x08 /* Private */,
      15,    0,   87,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void DbDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DbDialog *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->typeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->valueForNameGenerationChanged(); break;
        case 2: _t->browseForFile(); break;
        case 3: _t->fileChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->browseClicked(); break;
        case 5: _t->testConnectionClicked(); break;
        case 6: _t->propertyChanged(); break;
        case 7: _t->dbTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->nameModified((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->updateCreateMode(); break;
        case 10: _t->accept(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject DbDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_DbDialog.data,
    qt_meta_data_DbDialog,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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