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

#include <memory>
#include "../../jacktrip-1.6.0/src/dblsqd/update_dialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'update_dialog.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.4. 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_dblsqd__UpdateDialog_t {
    QByteArrayData data[21];
    char stringdata0[325];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dblsqd__UpdateDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dblsqd__UpdateDialog_t qt_meta_stringdata_dblsqd__UpdateDialog = {
    {
QT_MOC_LITERAL(0, 0, 20), // "dblsqd::UpdateDialog"
QT_MOC_LITERAL(1, 21, 5), // "ready"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 20), // "installButtonClicked"
QT_MOC_LITERAL(4, 49, 16), // "QAbstractButton*"
QT_MOC_LITERAL(5, 66, 6), // "button"
QT_MOC_LITERAL(6, 73, 8), // "filePath"
QT_MOC_LITERAL(7, 82, 13), // "linkActivated"
QT_MOC_LITERAL(8, 96, 4), // "link"
QT_MOC_LITERAL(9, 101, 15), // "onButtonInstall"
QT_MOC_LITERAL(10, 117, 21), // "onButtonCustomInstall"
QT_MOC_LITERAL(11, 139, 4), // "skip"
QT_MOC_LITERAL(12, 144, 22), // "showIfUpdatesAvailable"
QT_MOC_LITERAL(13, 167, 28), // "showIfUpdatesAvailableOrQuit"
QT_MOC_LITERAL(14, 196, 15), // "handleFeedReady"
QT_MOC_LITERAL(15, 212, 22), // "handleDownloadFinished"
QT_MOC_LITERAL(16, 235, 19), // "handleDownloadError"
QT_MOC_LITERAL(17, 255, 17), // "updateProgressBar"
QT_MOC_LITERAL(18, 273, 27), // "autoDownloadCheckboxToggled"
QT_MOC_LITERAL(19, 301, 7), // "enabled"
QT_MOC_LITERAL(20, 309, 15) // "onLinkActivated"

    },
    "dblsqd::UpdateDialog\0ready\0\0"
    "installButtonClicked\0QAbstractButton*\0"
    "button\0filePath\0linkActivated\0link\0"
    "onButtonInstall\0onButtonCustomInstall\0"
    "skip\0showIfUpdatesAvailable\0"
    "showIfUpdatesAvailableOrQuit\0"
    "handleFeedReady\0handleDownloadFinished\0"
    "handleDownloadError\0updateProgressBar\0"
    "autoDownloadCheckboxToggled\0enabled\0"
    "onLinkActivated"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dblsqd__UpdateDialog[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   89,    2, 0x06 /* Public */,
       3,    2,   90,    2, 0x06 /* Public */,
       7,    1,   95,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   98,    2, 0x0a /* Public */,
      10,    0,   99,    2, 0x0a /* Public */,
      11,    0,  100,    2, 0x0a /* Public */,
      12,    0,  101,    2, 0x0a /* Public */,
      13,    0,  102,    2, 0x0a /* Public */,
      14,    0,  103,    2, 0x08 /* Private */,
      15,    0,  104,    2, 0x08 /* Private */,
      16,    1,  105,    2, 0x08 /* Private */,
      17,    2,  108,    2, 0x08 /* Private */,
      18,    1,  113,    2, 0x08 /* Private */,
      18,    0,  116,    2, 0x28 /* Private | MethodCloned */,
      20,    1,  117,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4, QMetaType::QString,    5,    6,
    QMetaType::Void, QMetaType::QString,    8,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    2,    2,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    8,

       0        // eod
};

void dblsqd::UpdateDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<UpdateDialog *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->ready(); break;
        case 1: _t->installButtonClicked((*reinterpret_cast< QAbstractButton*(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 2: _t->linkActivated((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 3: _t->onButtonInstall(); break;
        case 4: _t->onButtonCustomInstall(); break;
        case 5: _t->skip(); break;
        case 6: _t->showIfUpdatesAvailable(); break;
        case 7: _t->showIfUpdatesAvailableOrQuit(); break;
        case 8: _t->handleFeedReady(); break;
        case 9: _t->handleDownloadFinished(); break;
        case 10: _t->handleDownloadError((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 11: _t->updateProgressBar((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 12: _t->autoDownloadCheckboxToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->autoDownloadCheckboxToggled(); break;
        case 14: _t->onLinkActivated((*reinterpret_cast< QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (UpdateDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UpdateDialog::ready)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (UpdateDialog::*)(QAbstractButton * , QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UpdateDialog::installButtonClicked)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (UpdateDialog::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UpdateDialog::linkActivated)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject dblsqd::UpdateDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_dblsqd__UpdateDialog.data,
    qt_meta_data_dblsqd__UpdateDialog,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int dblsqd::UpdateDialog::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 < 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;
}

// SIGNAL 0
void dblsqd::UpdateDialog::ready()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void dblsqd::UpdateDialog::installButtonClicked(QAbstractButton * _t1, QString _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void dblsqd::UpdateDialog::linkActivated(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
