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

#include "drivewidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'drivewidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.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_DriveWidget_t {
    QByteArrayData data[30];
    char stringdata0[506];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DriveWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DriveWidget_t qt_meta_stringdata_DriveWidget = {
    {
QT_MOC_LITERAL(0, 0, 11), // "DriveWidget"
QT_MOC_LITERAL(1, 12, 15), // "actionMountDisk"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 8), // "deviceId"
QT_MOC_LITERAL(4, 38, 17), // "actionMountFolder"
QT_MOC_LITERAL(5, 56, 11), // "actionEject"
QT_MOC_LITERAL(6, 68, 18), // "actionWriteProtect"
QT_MOC_LITERAL(7, 87, 5), // "state"
QT_MOC_LITERAL(8, 93, 17), // "actionMountRecent"
QT_MOC_LITERAL(9, 111, 8), // "fileName"
QT_MOC_LITERAL(10, 120, 14), // "actionEditDisk"
QT_MOC_LITERAL(11, 135, 10), // "actionSave"
QT_MOC_LITERAL(12, 146, 14), // "actionAutoSave"
QT_MOC_LITERAL(13, 161, 7), // "enabled"
QT_MOC_LITERAL(14, 169, 12), // "actionSaveAs"
QT_MOC_LITERAL(15, 182, 12), // "actionRevert"
QT_MOC_LITERAL(16, 195, 17), // "actionBootOptions"
QT_MOC_LITERAL(17, 213, 7), // "setFont"
QT_MOC_LITERAL(18, 221, 4), // "font"
QT_MOC_LITERAL(19, 226, 30), // "on_actionMountFolder_triggered"
QT_MOC_LITERAL(20, 257, 28), // "on_actionMountDisk_triggered"
QT_MOC_LITERAL(21, 286, 24), // "on_actionEject_triggered"
QT_MOC_LITERAL(22, 311, 29), // "on_actionWriteProtect_toggled"
QT_MOC_LITERAL(23, 341, 27), // "on_actionEditDisk_triggered"
QT_MOC_LITERAL(24, 369, 23), // "on_actionSave_triggered"
QT_MOC_LITERAL(25, 393, 25), // "on_actionRevert_triggered"
QT_MOC_LITERAL(26, 419, 25), // "on_actionSaveAs_triggered"
QT_MOC_LITERAL(27, 445, 25), // "on_actionAutoSave_toggled"
QT_MOC_LITERAL(28, 471, 4), // "arg1"
QT_MOC_LITERAL(29, 476, 29) // "on_actionBootOption_triggered"

    },
    "DriveWidget\0actionMountDisk\0\0deviceId\0"
    "actionMountFolder\0actionEject\0"
    "actionWriteProtect\0state\0actionMountRecent\0"
    "fileName\0actionEditDisk\0actionSave\0"
    "actionAutoSave\0enabled\0actionSaveAs\0"
    "actionRevert\0actionBootOptions\0setFont\0"
    "font\0on_actionMountFolder_triggered\0"
    "on_actionMountDisk_triggered\0"
    "on_actionEject_triggered\0"
    "on_actionWriteProtect_toggled\0"
    "on_actionEditDisk_triggered\0"
    "on_actionSave_triggered\0"
    "on_actionRevert_triggered\0"
    "on_actionSaveAs_triggered\0"
    "on_actionAutoSave_toggled\0arg1\0"
    "on_actionBootOption_triggered"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DriveWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  124,    2, 0x06 /* Public */,
       4,    1,  127,    2, 0x06 /* Public */,
       5,    1,  130,    2, 0x06 /* Public */,
       6,    2,  133,    2, 0x06 /* Public */,
       8,    2,  138,    2, 0x06 /* Public */,
      10,    1,  143,    2, 0x06 /* Public */,
      11,    1,  146,    2, 0x06 /* Public */,
      12,    2,  149,    2, 0x06 /* Public */,
      14,    1,  154,    2, 0x06 /* Public */,
      15,    1,  157,    2, 0x06 /* Public */,
      16,    1,  160,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    1,  163,    2, 0x08 /* Private */,
      19,    0,  166,    2, 0x08 /* Private */,
      20,    0,  167,    2, 0x08 /* Private */,
      21,    0,  168,    2, 0x08 /* Private */,
      22,    1,  169,    2, 0x08 /* Private */,
      23,    0,  172,    2, 0x08 /* Private */,
      24,    0,  173,    2, 0x08 /* Private */,
      25,    0,  174,    2, 0x08 /* Private */,
      26,    0,  175,    2, 0x08 /* Private */,
      27,    1,  176,    2, 0x08 /* Private */,
      29,    0,  179,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,    3,    7,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    3,    9,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,    3,   13,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,

 // slots: parameters
    QMetaType::Void, QMetaType::QFont,   18,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void,

       0        // eod
};

void DriveWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DriveWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->actionMountDisk((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->actionMountFolder((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->actionEject((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->actionWriteProtect((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 4: _t->actionMountRecent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->actionEditDisk((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->actionSave((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->actionAutoSave((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 8: _t->actionSaveAs((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->actionRevert((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->actionBootOptions((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->setFont((*reinterpret_cast< const QFont(*)>(_a[1]))); break;
        case 12: _t->on_actionMountFolder_triggered(); break;
        case 13: _t->on_actionMountDisk_triggered(); break;
        case 14: _t->on_actionEject_triggered(); break;
        case 15: _t->on_actionWriteProtect_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->on_actionEditDisk_triggered(); break;
        case 17: _t->on_actionSave_triggered(); break;
        case 18: _t->on_actionRevert_triggered(); break;
        case 19: _t->on_actionSaveAs_triggered(); break;
        case 20: _t->on_actionAutoSave_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 21: _t->on_actionBootOption_triggered(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DriveWidget::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DriveWidget::actionMountDisk)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (DriveWidget::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DriveWidget::actionMountFolder)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (DriveWidget::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DriveWidget::actionEject)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (DriveWidget::*)(int , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DriveWidget::actionWriteProtect)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (DriveWidget::*)(int , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DriveWidget::actionMountRecent)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (DriveWidget::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DriveWidget::actionEditDisk)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (DriveWidget::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DriveWidget::actionSave)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (DriveWidget::*)(int , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DriveWidget::actionAutoSave)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (DriveWidget::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DriveWidget::actionSaveAs)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (DriveWidget::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DriveWidget::actionRevert)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (DriveWidget::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DriveWidget::actionBootOptions)) {
                *result = 10;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject DriveWidget::staticMetaObject = { {
    &QFrame::staticMetaObject,
    qt_meta_stringdata_DriveWidget.data,
    qt_meta_data_DriveWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void DriveWidget::actionMountDisk(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void DriveWidget::actionMountFolder(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void DriveWidget::actionEject(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void DriveWidget::actionWriteProtect(int _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void DriveWidget::actionMountRecent(int _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void DriveWidget::actionEditDisk(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void DriveWidget::actionSave(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void DriveWidget::actionAutoSave(int _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void DriveWidget::actionSaveAs(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void DriveWidget::actionRevert(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void DriveWidget::actionBootOptions(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
