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

#include "../../src/kdf-17.12.3/src/disks.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'disks.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_DiskEntry_t {
    QByteArrayData data[44];
    char stringdata0[513];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DiskEntry_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DiskEntry_t qt_meta_stringdata_DiskEntry = {
    {
QT_MOC_LITERAL(0, 0, 9), // "DiskEntry"
QT_MOC_LITERAL(1, 10, 12), // "sysCallError"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 10), // "DiskEntry*"
QT_MOC_LITERAL(4, 35, 4), // "disk"
QT_MOC_LITERAL(5, 40, 6), // "err_no"
QT_MOC_LITERAL(6, 47, 17), // "deviceNameChanged"
QT_MOC_LITERAL(7, 65, 17), // "mountPointChanged"
QT_MOC_LITERAL(8, 83, 19), // "mountOptionsChanged"
QT_MOC_LITERAL(9, 103, 13), // "fsTypeChanged"
QT_MOC_LITERAL(10, 117, 14), // "mountedChanged"
QT_MOC_LITERAL(11, 132, 13), // "kBSizeChanged"
QT_MOC_LITERAL(12, 146, 13), // "kBUsedChanged"
QT_MOC_LITERAL(13, 160, 14), // "kBAvailChanged"
QT_MOC_LITERAL(14, 175, 15), // "iconNameChanged"
QT_MOC_LITERAL(15, 191, 11), // "toggleMount"
QT_MOC_LITERAL(16, 203, 5), // "mount"
QT_MOC_LITERAL(17, 209, 6), // "umount"
QT_MOC_LITERAL(18, 216, 7), // "remount"
QT_MOC_LITERAL(19, 224, 15), // "setMountCommand"
QT_MOC_LITERAL(20, 240, 3), // "mnt"
QT_MOC_LITERAL(21, 244, 16), // "setUmountCommand"
QT_MOC_LITERAL(22, 261, 4), // "umnt"
QT_MOC_LITERAL(23, 266, 13), // "setDeviceName"
QT_MOC_LITERAL(24, 280, 10), // "deviceName"
QT_MOC_LITERAL(25, 291, 13), // "setMountPoint"
QT_MOC_LITERAL(26, 305, 10), // "mountPoint"
QT_MOC_LITERAL(27, 316, 11), // "setIconName"
QT_MOC_LITERAL(28, 328, 8), // "iconName"
QT_MOC_LITERAL(29, 337, 16), // "setIconToDefault"
QT_MOC_LITERAL(30, 354, 15), // "setMountOptions"
QT_MOC_LITERAL(31, 370, 12), // "mountOptions"
QT_MOC_LITERAL(32, 383, 9), // "setFsType"
QT_MOC_LITERAL(33, 393, 6), // "fsType"
QT_MOC_LITERAL(34, 400, 10), // "setMounted"
QT_MOC_LITERAL(35, 411, 10), // "nowMounted"
QT_MOC_LITERAL(36, 422, 9), // "setKBSize"
QT_MOC_LITERAL(37, 432, 7), // "kb_size"
QT_MOC_LITERAL(38, 440, 9), // "setKBUsed"
QT_MOC_LITERAL(39, 450, 7), // "kb_used"
QT_MOC_LITERAL(40, 458, 10), // "setKBAvail"
QT_MOC_LITERAL(41, 469, 8), // "kb_avail"
QT_MOC_LITERAL(42, 478, 13), // "guessIconName"
QT_MOC_LITERAL(43, 492, 20) // "receivedSysStdErrOut"

    },
    "DiskEntry\0sysCallError\0\0DiskEntry*\0"
    "disk\0err_no\0deviceNameChanged\0"
    "mountPointChanged\0mountOptionsChanged\0"
    "fsTypeChanged\0mountedChanged\0kBSizeChanged\0"
    "kBUsedChanged\0kBAvailChanged\0"
    "iconNameChanged\0toggleMount\0mount\0"
    "umount\0remount\0setMountCommand\0mnt\0"
    "setUmountCommand\0umnt\0setDeviceName\0"
    "deviceName\0setMountPoint\0mountPoint\0"
    "setIconName\0iconName\0setIconToDefault\0"
    "setMountOptions\0mountOptions\0setFsType\0"
    "fsType\0setMounted\0nowMounted\0setKBSize\0"
    "kb_size\0setKBUsed\0kb_used\0setKBAvail\0"
    "kb_avail\0guessIconName\0receivedSysStdErrOut"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DiskEntry[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  154,    2, 0x06 /* Public */,
       6,    0,  159,    2, 0x06 /* Public */,
       7,    0,  160,    2, 0x06 /* Public */,
       8,    0,  161,    2, 0x06 /* Public */,
       9,    0,  162,    2, 0x06 /* Public */,
      10,    0,  163,    2, 0x06 /* Public */,
      11,    0,  164,    2, 0x06 /* Public */,
      12,    0,  165,    2, 0x06 /* Public */,
      13,    0,  166,    2, 0x06 /* Public */,
      14,    0,  167,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    0,  168,    2, 0x0a /* Public */,
      16,    0,  169,    2, 0x0a /* Public */,
      17,    0,  170,    2, 0x0a /* Public */,
      18,    0,  171,    2, 0x0a /* Public */,
      19,    1,  172,    2, 0x0a /* Public */,
      21,    1,  175,    2, 0x0a /* Public */,
      23,    1,  178,    2, 0x0a /* Public */,
      25,    1,  181,    2, 0x0a /* Public */,
      27,    1,  184,    2, 0x0a /* Public */,
      29,    0,  187,    2, 0x0a /* Public */,
      30,    1,  188,    2, 0x0a /* Public */,
      32,    1,  191,    2, 0x0a /* Public */,
      34,    1,  194,    2, 0x0a /* Public */,
      36,    1,  197,    2, 0x0a /* Public */,
      38,    1,  200,    2, 0x0a /* Public */,
      40,    1,  203,    2, 0x0a /* Public */,
      42,    0,  206,    2, 0x0a /* Public */,
      43,    0,  207,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Int,
    QMetaType::Int,
    QMetaType::Int,
    QMetaType::Int,
    QMetaType::Void, QMetaType::QString,   20,
    QMetaType::Void, QMetaType::QString,   22,
    QMetaType::Void, QMetaType::QString,   24,
    QMetaType::Void, QMetaType::QString,   26,
    QMetaType::Void, QMetaType::QString,   28,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   31,
    QMetaType::Void, QMetaType::QString,   33,
    QMetaType::Void, QMetaType::Bool,   35,
    QMetaType::Void, QMetaType::ULongLong,   37,
    QMetaType::Void, QMetaType::ULongLong,   39,
    QMetaType::Void, QMetaType::ULongLong,   41,
    QMetaType::QString,
    QMetaType::Void,

       0        // eod
};

void DiskEntry::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DiskEntry *_t = static_cast<DiskEntry *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sysCallError((*reinterpret_cast< DiskEntry*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->deviceNameChanged(); break;
        case 2: _t->mountPointChanged(); break;
        case 3: _t->mountOptionsChanged(); break;
        case 4: _t->fsTypeChanged(); break;
        case 5: _t->mountedChanged(); break;
        case 6: _t->kBSizeChanged(); break;
        case 7: _t->kBUsedChanged(); break;
        case 8: _t->kBAvailChanged(); break;
        case 9: _t->iconNameChanged(); break;
        case 10: { int _r = _t->toggleMount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 11: { int _r = _t->mount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 12: { int _r = _t->umount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 13: { int _r = _t->remount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 14: _t->setMountCommand((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->setUmountCommand((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 16: _t->setDeviceName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->setMountPoint((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 18: _t->setIconName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->setIconToDefault(); break;
        case 20: _t->setMountOptions((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 21: _t->setFsType((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 22: _t->setMounted((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 23: _t->setKBSize((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 24: _t->setKBUsed((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 25: _t->setKBAvail((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 26: { QString _r = _t->guessIconName();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 27: _t->receivedSysStdErrOut(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DiskEntry* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (DiskEntry::*_t)(DiskEntry * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiskEntry::sysCallError)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (DiskEntry::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiskEntry::deviceNameChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (DiskEntry::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiskEntry::mountPointChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (DiskEntry::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiskEntry::mountOptionsChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (DiskEntry::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiskEntry::fsTypeChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (DiskEntry::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiskEntry::mountedChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (DiskEntry::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiskEntry::kBSizeChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (DiskEntry::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiskEntry::kBUsedChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (DiskEntry::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiskEntry::kBAvailChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (DiskEntry::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiskEntry::iconNameChanged)) {
                *result = 9;
                return;
            }
        }
    }
}

const QMetaObject DiskEntry::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_DiskEntry.data,
      qt_meta_data_DiskEntry,  qt_static_metacall, nullptr, nullptr}
};


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

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

int DiskEntry::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 < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    }
    return _id;
}

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

// SIGNAL 1
void DiskEntry::deviceNameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void DiskEntry::mountPointChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void DiskEntry::mountOptionsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void DiskEntry::fsTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void DiskEntry::mountedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void DiskEntry::kBSizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void DiskEntry::kBUsedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void DiskEntry::kBAvailChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void DiskEntry::iconNameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
