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

#include "../../src/kstars-17.08.3/kstars/dialogs/locationdialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'locationdialog.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. 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_LocationDialogUI_t {
    QByteArrayData data[1];
    char stringdata0[17];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LocationDialogUI_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LocationDialogUI_t qt_meta_stringdata_LocationDialogUI = {
    {
QT_MOC_LITERAL(0, 0, 16) // "LocationDialogUI"

    },
    "LocationDialogUI"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LocationDialogUI[] = {

 // 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 LocationDialogUI::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 LocationDialogUI::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_LocationDialogUI.data,
      qt_meta_data_LocationDialogUI,  qt_static_metacall, nullptr, nullptr}
};


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

void *LocationDialogUI::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_LocationDialogUI.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::LocationDialog"))
        return static_cast< Ui::LocationDialog*>(this);
    return QFrame::qt_metacast(_clname);
}

int LocationDialogUI::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFrame::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_LocationDialog_t {
    QByteArrayData data[15];
    char stringdata0[165];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LocationDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LocationDialog_t qt_meta_stringdata_LocationDialog = {
    {
QT_MOC_LITERAL(0, 0, 14), // "LocationDialog"
QT_MOC_LITERAL(1, 15, 10), // "filterCity"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 17), // "enqueueFilterCity"
QT_MOC_LITERAL(4, 45, 10), // "changeCity"
QT_MOC_LITERAL(5, 56, 7), // "addCity"
QT_MOC_LITERAL(6, 64, 10), // "updateCity"
QT_MOC_LITERAL(7, 75, 10), // "removeCity"
QT_MOC_LITERAL(8, 86, 13), // "CityOperation"
QT_MOC_LITERAL(9, 100, 9), // "operation"
QT_MOC_LITERAL(10, 110, 11), // "clearFields"
QT_MOC_LITERAL(11, 122, 11), // "showTZRules"
QT_MOC_LITERAL(12, 134, 11), // "nameChanged"
QT_MOC_LITERAL(13, 146, 11), // "dataChanged"
QT_MOC_LITERAL(14, 158, 6) // "slotOk"

    },
    "LocationDialog\0filterCity\0\0enqueueFilterCity\0"
    "changeCity\0addCity\0updateCity\0removeCity\0"
    "CityOperation\0operation\0clearFields\0"
    "showTZRules\0nameChanged\0dataChanged\0"
    "slotOk"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LocationDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x0a /* Public */,
       3,    0,   75,    2, 0x0a /* Public */,
       4,    0,   76,    2, 0x0a /* Public */,
       5,    0,   77,    2, 0x0a /* Public */,
       6,    0,   78,    2, 0x0a /* Public */,
       7,    0,   79,    2, 0x0a /* Public */,
       6,    1,   80,    2, 0x0a /* Public */,
      10,    0,   83,    2, 0x0a /* Public */,
      11,    0,   84,    2, 0x0a /* Public */,
      12,    0,   85,    2, 0x0a /* Public */,
      13,    0,   86,    2, 0x0a /* Public */,
      14,    0,   87,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool, 0x80000000 | 8,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void LocationDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        LocationDialog *_t = static_cast<LocationDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->filterCity(); break;
        case 1: _t->enqueueFilterCity(); break;
        case 2: _t->changeCity(); break;
        case 3: { bool _r = _t->addCity();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 4: { bool _r = _t->updateCity();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 5: { bool _r = _t->removeCity();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: { bool _r = _t->updateCity((*reinterpret_cast< CityOperation(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->clearFields(); break;
        case 8: _t->showTZRules(); break;
        case 9: _t->nameChanged(); break;
        case 10: _t->dataChanged(); break;
        case 11: _t->slotOk(); break;
        default: ;
        }
    }
}

const QMetaObject LocationDialog::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_LocationDialog.data,
      qt_meta_data_LocationDialog,  qt_static_metacall, nullptr, nullptr}
};


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

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

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