/****************************************************************************
** Meta object code from reading C++ file 'settingsdialog.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 "../../settings/settingsdialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'settingsdialog.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_QtGui__LauncherOptionPage_t {
    QByteArrayData data[17];
    char stringdata0[271];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QtGui__LauncherOptionPage_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QtGui__LauncherOptionPage_t qt_meta_stringdata_QtGui__LauncherOptionPage = {
    {
QT_MOC_LITERAL(0, 0, 25), // "QtGui::LauncherOptionPage"
QT_MOC_LITERAL(1, 26, 23), // "handleSyncthingLaunched"
QT_MOC_LITERAL(2, 50, 0), // ""
QT_MOC_LITERAL(3, 51, 7), // "running"
QT_MOC_LITERAL(4, 59, 24), // "handleSyncthingReadyRead"
QT_MOC_LITERAL(5, 84, 30), // "handleSyncthingOutputAvailable"
QT_MOC_LITERAL(6, 115, 6), // "output"
QT_MOC_LITERAL(7, 122, 21), // "handleSyncthingExited"
QT_MOC_LITERAL(8, 144, 8), // "exitCode"
QT_MOC_LITERAL(9, 153, 20), // "QProcess::ExitStatus"
QT_MOC_LITERAL(10, 174, 10), // "exitStatus"
QT_MOC_LITERAL(11, 185, 20), // "handleSyncthingError"
QT_MOC_LITERAL(12, 206, 22), // "QProcess::ProcessError"
QT_MOC_LITERAL(13, 229, 5), // "error"
QT_MOC_LITERAL(14, 235, 6), // "launch"
QT_MOC_LITERAL(15, 242, 4), // "stop"
QT_MOC_LITERAL(16, 247, 23) // "restoreDefaultArguments"

    },
    "QtGui::LauncherOptionPage\0"
    "handleSyncthingLaunched\0\0running\0"
    "handleSyncthingReadyRead\0"
    "handleSyncthingOutputAvailable\0output\0"
    "handleSyncthingExited\0exitCode\0"
    "QProcess::ExitStatus\0exitStatus\0"
    "handleSyncthingError\0QProcess::ProcessError\0"
    "error\0launch\0stop\0restoreDefaultArguments"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QtGui__LauncherOptionPage[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x08 /* Private */,
       4,    0,   57,    2, 0x08 /* Private */,
       5,    1,   58,    2, 0x08 /* Private */,
       7,    2,   61,    2, 0x08 /* Private */,
      11,    1,   66,    2, 0x08 /* Private */,
      14,    0,   69,    2, 0x08 /* Private */,
      15,    0,   70,    2, 0x08 /* Private */,
      16,    0,   71,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QByteArray,    6,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 9,    8,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void QtGui::LauncherOptionPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<LauncherOptionPage *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->handleSyncthingLaunched((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->handleSyncthingReadyRead(); break;
        case 2: _t->handleSyncthingOutputAvailable((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 3: _t->handleSyncthingExited((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QProcess::ExitStatus(*)>(_a[2]))); break;
        case 4: _t->handleSyncthingError((*reinterpret_cast< QProcess::ProcessError(*)>(_a[1]))); break;
        case 5: _t->launch(); break;
        case 6: _t->stop(); break;
        case 7: _t->restoreDefaultArguments(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QtGui::LauncherOptionPage::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QtGui__LauncherOptionPage.data,
    qt_meta_data_QtGui__LauncherOptionPage,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QtGui::LauncherOptionPage::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QtGui__LauncherOptionPage.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "::QtUtilities::UiFileBasedOptionPage<Ui::LauncherOptionPage>"))
        return static_cast< ::QtUtilities::UiFileBasedOptionPage<Ui::LauncherOptionPage>*>(this);
    return QObject::qt_metacast(_clname);
}

int QtGui::LauncherOptionPage::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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
    return _id;
}
struct qt_meta_stringdata_QtGui__SettingsDialog_t {
    QByteArrayData data[4];
    char stringdata0[64];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QtGui__SettingsDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QtGui__SettingsDialog_t qt_meta_stringdata_QtGui__SettingsDialog = {
    {
QT_MOC_LITERAL(0, 0, 21), // "QtGui::SettingsDialog"
QT_MOC_LITERAL(1, 22, 15), // "wizardRequested"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 24) // "resetPositioningSettings"

    },
    "QtGui::SettingsDialog\0wizardRequested\0"
    "\0resetPositioningSettings"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QtGui__SettingsDialog[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    0,   25,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

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

QT_INIT_METAOBJECT const QMetaObject QtGui::SettingsDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QtUtilities::SettingsDialog::staticMetaObject>(),
    qt_meta_stringdata_QtGui__SettingsDialog.data,
    qt_meta_data_QtGui__SettingsDialog,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QtGui::SettingsDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QtGui__SettingsDialog.stringdata0))
        return static_cast<void*>(this);
    return QtUtilities::SettingsDialog::qt_metacast(_clname);
}

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

// SIGNAL 0
void QtGui::SettingsDialog::wizardRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
