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

#include "../qggrifobeamupproperties.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qggrifobeamupproperties.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.8.0. 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_QgGrifoBeamupProperties_t {
    QByteArrayData data[13];
    char stringdata0[173];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QgGrifoBeamupProperties_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QgGrifoBeamupProperties_t qt_meta_stringdata_QgGrifoBeamupProperties = {
    {
QT_MOC_LITERAL(0, 0, 23), // "QgGrifoBeamupProperties"
QT_MOC_LITERAL(1, 24, 12), // "saveSettings"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 5), // "fname"
QT_MOC_LITERAL(4, 44, 10), // "QSettings&"
QT_MOC_LITERAL(5, 55, 15), // "restoreSettings"
QT_MOC_LITERAL(6, 71, 16), // "watchedDirectory"
QT_MOC_LITERAL(7, 88, 13), // "lastDirectory"
QT_MOC_LITERAL(8, 102, 13), // "tftpFirstPort"
QT_MOC_LITERAL(9, 116, 12), // "tftpLastPort"
QT_MOC_LITERAL(10, 129, 9), // "simulator"
QT_MOC_LITERAL(11, 139, 14), // "watchRemovable"
QT_MOC_LITERAL(12, 154, 18) // "watchRemovablePath"

    },
    "QgGrifoBeamupProperties\0saveSettings\0"
    "\0fname\0QSettings&\0restoreSettings\0"
    "watchedDirectory\0lastDirectory\0"
    "tftpFirstPort\0tftpLastPort\0simulator\0"
    "watchRemovable\0watchRemovablePath"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QgGrifoBeamupProperties[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   34,    2, 0x0a /* Public */,
       1,    1,   37,    2, 0x0a /* Public */,
       5,    1,   40,    2, 0x0a /* Public */,
       5,    1,   43,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 4,    2,

 // properties: name, type, flags
       6, QMetaType::QString, 0x00095003,
       7, QMetaType::QString, 0x00095003,
       8, QMetaType::Int, 0x00095003,
       9, QMetaType::Int, 0x00095003,
      10, QMetaType::Bool, 0x00095003,
      11, QMetaType::Bool, 0x00095003,
      12, QMetaType::QString, 0x00095003,

       0        // eod
};

void QgGrifoBeamupProperties::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QgGrifoBeamupProperties *_t = static_cast<QgGrifoBeamupProperties *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->saveSettings((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->saveSettings((*reinterpret_cast< QSettings(*)>(_a[1]))); break;
        case 2: _t->restoreSettings((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->restoreSettings((*reinterpret_cast< QSettings(*)>(_a[1]))); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QgGrifoBeamupProperties *_t = static_cast<QgGrifoBeamupProperties *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->m_watch; break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->m_lastDir; break;
        case 2: *reinterpret_cast< int*>(_v) = _t->m_tftpFirstPort; break;
        case 3: *reinterpret_cast< int*>(_v) = _t->m_tftpLastPort; break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->m_simulator; break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->m_watchRemovable; break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->m_watchRemovablePath; break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QgGrifoBeamupProperties *_t = static_cast<QgGrifoBeamupProperties *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0:
            if (_t->m_watch != *reinterpret_cast< QString*>(_v)) {
                _t->m_watch = *reinterpret_cast< QString*>(_v);
            }
            break;
        case 1:
            if (_t->m_lastDir != *reinterpret_cast< QString*>(_v)) {
                _t->m_lastDir = *reinterpret_cast< QString*>(_v);
            }
            break;
        case 2:
            if (_t->m_tftpFirstPort != *reinterpret_cast< int*>(_v)) {
                _t->m_tftpFirstPort = *reinterpret_cast< int*>(_v);
            }
            break;
        case 3:
            if (_t->m_tftpLastPort != *reinterpret_cast< int*>(_v)) {
                _t->m_tftpLastPort = *reinterpret_cast< int*>(_v);
            }
            break;
        case 4:
            if (_t->m_simulator != *reinterpret_cast< bool*>(_v)) {
                _t->m_simulator = *reinterpret_cast< bool*>(_v);
            }
            break;
        case 5:
            if (_t->m_watchRemovable != *reinterpret_cast< bool*>(_v)) {
                _t->m_watchRemovable = *reinterpret_cast< bool*>(_v);
            }
            break;
        case 6:
            if (_t->m_watchRemovablePath != *reinterpret_cast< QString*>(_v)) {
                _t->m_watchRemovablePath = *reinterpret_cast< QString*>(_v);
            }
            break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QgGrifoBeamupProperties::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QgGrifoBeamupProperties.data,
      qt_meta_data_QgGrifoBeamupProperties,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *QgGrifoBeamupProperties::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QgGrifoBeamupProperties.stringdata0))
        return static_cast<void*>(const_cast< QgGrifoBeamupProperties*>(this));
    return QObject::qt_metacast(_clname);
}

int QgGrifoBeamupProperties::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
