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

#include "../../../../src/qtquick1-opensource-src-5.4.2/tools/qml/loggerwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'loggerwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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
struct qt_meta_stringdata_LoggerWidget_t {
    QByteArrayData data[12];
    char stringdata[129];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LoggerWidget_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LoggerWidget_t qt_meta_stringdata_LoggerWidget = {
    {
QT_MOC_LITERAL(0, 0, 12), // "LoggerWidget"
QT_MOC_LITERAL(1, 13, 6), // "opened"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 6), // "closed"
QT_MOC_LITERAL(4, 28, 6), // "append"
QT_MOC_LITERAL(5, 35, 3), // "msg"
QT_MOC_LITERAL(6, 39, 21), // "updateNoWarningsLabel"
QT_MOC_LITERAL(7, 61, 25), // "warningsPreferenceChanged"
QT_MOC_LITERAL(8, 87, 8), // "QAction*"
QT_MOC_LITERAL(9, 96, 6), // "action"
QT_MOC_LITERAL(10, 103, 12), // "readSettings"
QT_MOC_LITERAL(11, 116, 12) // "saveSettings"

    },
    "LoggerWidget\0opened\0\0closed\0append\0"
    "msg\0updateNoWarningsLabel\0"
    "warningsPreferenceChanged\0QAction*\0"
    "action\0readSettings\0saveSettings"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LoggerWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x06 /* Public */,
       3,    0,   50,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,   51,    2, 0x0a /* Public */,
       6,    0,   54,    2, 0x0a /* Public */,
       7,    1,   55,    2, 0x08 /* Private */,
      10,    0,   58,    2, 0x08 /* Private */,
      11,    0,   59,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

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

       0        // eod
};

void LoggerWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        LoggerWidget *_t = static_cast<LoggerWidget *>(_o);
        switch (_id) {
        case 0: _t->opened(); break;
        case 1: _t->closed(); break;
        case 2: _t->append((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->updateNoWarningsLabel(); break;
        case 4: _t->warningsPreferenceChanged((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 5: _t->readSettings(); break;
        case 6: _t->saveSettings(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (LoggerWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&LoggerWidget::opened)) {
                *result = 0;
            }
        }
        {
            typedef void (LoggerWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&LoggerWidget::closed)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject LoggerWidget::staticMetaObject = {
    { &QMainWindow::staticMetaObject, qt_meta_stringdata_LoggerWidget.data,
      qt_meta_data_LoggerWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *LoggerWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_LoggerWidget.stringdata))
        return static_cast<void*>(const_cast< LoggerWidget*>(this));
    return QMainWindow::qt_metacast(_clname);
}

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

// SIGNAL 0
void LoggerWidget::opened()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void LoggerWidget::closed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
