/****************************************************************************
** Meta object code from reading C++ file 'columndialog.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/columndialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'columndialog.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_ColumnDialog_t {
    QByteArrayData data[43];
    char stringdata0[590];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ColumnDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ColumnDialog_t qt_meta_stringdata_ColumnDialog = {
    {
QT_MOC_LITERAL(0, 0, 12), // "ColumnDialog"
QT_MOC_LITERAL(1, 13, 29), // "updateConstraintsToolbarState"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 11), // "updateState"
QT_MOC_LITERAL(4, 56, 13), // "addConstraint"
QT_MOC_LITERAL(5, 70, 14), // "editConstraint"
QT_MOC_LITERAL(6, 85, 11), // "QModelIndex"
QT_MOC_LITERAL(7, 97, 3), // "idx"
QT_MOC_LITERAL(8, 101, 13), // "delConstraint"
QT_MOC_LITERAL(9, 115, 16), // "moveConstraintUp"
QT_MOC_LITERAL(10, 132, 18), // "moveConstraintDown"
QT_MOC_LITERAL(11, 151, 5), // "addPk"
QT_MOC_LITERAL(12, 157, 5), // "addFk"
QT_MOC_LITERAL(13, 163, 9), // "addUnique"
QT_MOC_LITERAL(14, 173, 8), // "addCheck"
QT_MOC_LITERAL(15, 182, 10), // "addCollate"
QT_MOC_LITERAL(16, 193, 10), // "addNotNull"
QT_MOC_LITERAL(17, 204, 12), // "addGenerated"
QT_MOC_LITERAL(18, 217, 10), // "addDefault"
QT_MOC_LITERAL(19, 228, 11), // "configurePk"
QT_MOC_LITERAL(20, 240, 11), // "configureFk"
QT_MOC_LITERAL(21, 252, 15), // "configureUnique"
QT_MOC_LITERAL(22, 268, 14), // "configureCheck"
QT_MOC_LITERAL(23, 283, 16), // "configureCollate"
QT_MOC_LITERAL(24, 300, 18), // "configureGenerated"
QT_MOC_LITERAL(25, 319, 16), // "configureNotNull"
QT_MOC_LITERAL(26, 336, 16), // "configureDefault"
QT_MOC_LITERAL(27, 353, 9), // "pkToggled"
QT_MOC_LITERAL(28, 363, 7), // "enabled"
QT_MOC_LITERAL(29, 371, 9), // "fkToggled"
QT_MOC_LITERAL(30, 381, 13), // "uniqueToggled"
QT_MOC_LITERAL(31, 395, 12), // "checkToggled"
QT_MOC_LITERAL(32, 408, 14), // "collateToggled"
QT_MOC_LITERAL(33, 423, 16), // "generatedToggled"
QT_MOC_LITERAL(34, 440, 14), // "notNullToggled"
QT_MOC_LITERAL(35, 455, 14), // "defaultToggled"
QT_MOC_LITERAL(36, 470, 10), // "switchMode"
QT_MOC_LITERAL(37, 481, 8), // "advanced"
QT_MOC_LITERAL(38, 490, 17), // "updateValidations"
QT_MOC_LITERAL(39, 508, 16), // "updateConstraint"
QT_MOC_LITERAL(40, 525, 38), // "SqliteCreateTable::Column::Co..."
QT_MOC_LITERAL(41, 564, 10), // "constraint"
QT_MOC_LITERAL(42, 575, 14) // "updateDataType"

    },
    "ColumnDialog\0updateConstraintsToolbarState\0"
    "\0updateState\0addConstraint\0editConstraint\0"
    "QModelIndex\0idx\0delConstraint\0"
    "moveConstraintUp\0moveConstraintDown\0"
    "addPk\0addFk\0addUnique\0addCheck\0"
    "addCollate\0addNotNull\0addGenerated\0"
    "addDefault\0configurePk\0configureFk\0"
    "configureUnique\0configureCheck\0"
    "configureCollate\0configureGenerated\0"
    "configureNotNull\0configureDefault\0"
    "pkToggled\0enabled\0fkToggled\0uniqueToggled\0"
    "checkToggled\0collateToggled\0"
    "generatedToggled\0notNullToggled\0"
    "defaultToggled\0switchMode\0advanced\0"
    "updateValidations\0updateConstraint\0"
    "SqliteCreateTable::Column::Constraint*\0"
    "constraint\0updateDataType"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ColumnDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  194,    2, 0x08 /* Private */,
       3,    0,  195,    2, 0x08 /* Private */,
       4,    0,  196,    2, 0x08 /* Private */,
       5,    0,  197,    2, 0x08 /* Private */,
       5,    1,  198,    2, 0x08 /* Private */,
       8,    0,  201,    2, 0x08 /* Private */,
       9,    0,  202,    2, 0x08 /* Private */,
      10,    0,  203,    2, 0x08 /* Private */,
      11,    0,  204,    2, 0x08 /* Private */,
      12,    0,  205,    2, 0x08 /* Private */,
      13,    0,  206,    2, 0x08 /* Private */,
      14,    0,  207,    2, 0x08 /* Private */,
      15,    0,  208,    2, 0x08 /* Private */,
      16,    0,  209,    2, 0x08 /* Private */,
      17,    0,  210,    2, 0x08 /* Private */,
      18,    0,  211,    2, 0x08 /* Private */,
      19,    0,  212,    2, 0x08 /* Private */,
      20,    0,  213,    2, 0x08 /* Private */,
      21,    0,  214,    2, 0x08 /* Private */,
      22,    0,  215,    2, 0x08 /* Private */,
      23,    0,  216,    2, 0x08 /* Private */,
      24,    0,  217,    2, 0x08 /* Private */,
      25,    0,  218,    2, 0x08 /* Private */,
      26,    0,  219,    2, 0x08 /* Private */,
      27,    1,  220,    2, 0x08 /* Private */,
      29,    1,  223,    2, 0x08 /* Private */,
      30,    1,  226,    2, 0x08 /* Private */,
      31,    1,  229,    2, 0x08 /* Private */,
      32,    1,  232,    2, 0x08 /* Private */,
      33,    1,  235,    2, 0x08 /* Private */,
      34,    1,  238,    2, 0x08 /* Private */,
      35,    1,  241,    2, 0x08 /* Private */,
      36,    1,  244,    2, 0x08 /* Private */,
      38,    0,  247,    2, 0x08 /* Private */,
      39,    1,  248,    2, 0x08 /* Private */,
      42,    0,  251,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,
    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::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void, QMetaType::Bool,   37,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 40,   41,
    QMetaType::Void,

       0        // eod
};

void ColumnDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ColumnDialog *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->updateConstraintsToolbarState(); break;
        case 1: _t->updateState(); break;
        case 2: _t->addConstraint(); break;
        case 3: _t->editConstraint(); break;
        case 4: _t->editConstraint((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 5: _t->delConstraint(); break;
        case 6: _t->moveConstraintUp(); break;
        case 7: _t->moveConstraintDown(); break;
        case 8: _t->addPk(); break;
        case 9: _t->addFk(); break;
        case 10: _t->addUnique(); break;
        case 11: _t->addCheck(); break;
        case 12: _t->addCollate(); break;
        case 13: _t->addNotNull(); break;
        case 14: _t->addGenerated(); break;
        case 15: _t->addDefault(); break;
        case 16: _t->configurePk(); break;
        case 17: _t->configureFk(); break;
        case 18: _t->configureUnique(); break;
        case 19: _t->configureCheck(); break;
        case 20: _t->configureCollate(); break;
        case 21: _t->configureGenerated(); break;
        case 22: _t->configureNotNull(); break;
        case 23: _t->configureDefault(); break;
        case 24: _t->pkToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 25: _t->fkToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 26: _t->uniqueToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 27: _t->checkToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 28: _t->collateToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 29: _t->generatedToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 30: _t->notNullToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 31: _t->defaultToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 32: _t->switchMode((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 33: _t->updateValidations(); break;
        case 34: _t->updateConstraint((*reinterpret_cast< SqliteCreateTable::Column::Constraint*(*)>(_a[1]))); break;
        case 35: _t->updateDataType(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ColumnDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_ColumnDialog.data,
    qt_meta_data_ColumnDialog,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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