/****************************************************************************
** Meta object code from reading C++ file 'mainapplication.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/lib/app/mainapplication.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainapplication.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_MainApplication_t {
    QByteArrayData data[20];
    char stringdata0[272];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MainApplication_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MainApplication_t qt_meta_stringdata_MainApplication = {
    {
QT_MOC_LITERAL(0, 0, 15), // "MainApplication"
QT_MOC_LITERAL(1, 16, 16), // "settingsReloaded"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 9), // "addNewTab"
QT_MOC_LITERAL(4, 44, 3), // "url"
QT_MOC_LITERAL(5, 48, 20), // "startPrivateBrowsing"
QT_MOC_LITERAL(6, 69, 8), // "startUrl"
QT_MOC_LITERAL(7, 78, 20), // "reloadUserStyleSheet"
QT_MOC_LITERAL(8, 99, 21), // "restoreOverrideCursor"
QT_MOC_LITERAL(9, 121, 13), // "changeOcurred"
QT_MOC_LITERAL(10, 135, 15), // "quitApplication"
QT_MOC_LITERAL(11, 151, 10), // "postLaunch"
QT_MOC_LITERAL(12, 162, 11), // "saveSession"
QT_MOC_LITERAL(13, 174, 12), // "saveSettings"
QT_MOC_LITERAL(14, 187, 15), // "messageReceived"
QT_MOC_LITERAL(15, 203, 7), // "message"
QT_MOC_LITERAL(16, 211, 15), // "windowDestroyed"
QT_MOC_LITERAL(17, 227, 6), // "window"
QT_MOC_LITERAL(18, 234, 14), // "onFocusChanged"
QT_MOC_LITERAL(19, 249, 22) // "checkDefaultWebBrowser"

    },
    "MainApplication\0settingsReloaded\0\0"
    "addNewTab\0url\0startPrivateBrowsing\0"
    "startUrl\0reloadUserStyleSheet\0"
    "restoreOverrideCursor\0changeOcurred\0"
    "quitApplication\0postLaunch\0saveSession\0"
    "saveSettings\0messageReceived\0message\0"
    "windowDestroyed\0window\0onFocusChanged\0"
    "checkDefaultWebBrowser"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainApplication[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    1,   95,    2, 0x0a /* Public */,
       3,    0,   98,    2, 0x2a /* Public | MethodCloned */,
       5,    1,   99,    2, 0x0a /* Public */,
       5,    0,  102,    2, 0x2a /* Public | MethodCloned */,
       7,    0,  103,    2, 0x0a /* Public */,
       8,    0,  104,    2, 0x0a /* Public */,
       9,    0,  105,    2, 0x0a /* Public */,
      10,    0,  106,    2, 0x0a /* Public */,
      11,    0,  107,    2, 0x08 /* Private */,
      12,    0,  108,    2, 0x08 /* Private */,
      13,    0,  109,    2, 0x08 /* Private */,
      14,    1,  110,    2, 0x08 /* Private */,
      16,    1,  113,    2, 0x08 /* Private */,
      18,    0,  116,    2, 0x08 /* Private */,
      19,    0,  117,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QUrl,    4,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void, QMetaType::QObjectStar,   17,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void MainApplication::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MainApplication *_t = static_cast<MainApplication *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->settingsReloaded(); break;
        case 1: _t->addNewTab((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 2: _t->addNewTab(); break;
        case 3: _t->startPrivateBrowsing((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 4: _t->startPrivateBrowsing(); break;
        case 5: _t->reloadUserStyleSheet(); break;
        case 6: _t->restoreOverrideCursor(); break;
        case 7: _t->changeOcurred(); break;
        case 8: _t->quitApplication(); break;
        case 9: _t->postLaunch(); break;
        case 10: _t->saveSession(); break;
        case 11: _t->saveSettings(); break;
        case 12: _t->messageReceived((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->windowDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 14: _t->onFocusChanged(); break;
        case 15: _t->checkDefaultWebBrowser(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MainApplication::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainApplication::settingsReloaded)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject MainApplication::staticMetaObject = {
    { &QtSingleApplication::staticMetaObject, qt_meta_stringdata_MainApplication.data,
      qt_meta_data_MainApplication,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void MainApplication::settingsReloaded()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
