/****************************************************************************
** Meta object code from reading C++ file 'FileTreeView.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/transmission-2.93/qt/FileTreeView.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QSet>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'FileTreeView.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_FileTreeView_t {
    QByteArrayData data[22];
    char stringdata0[305];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FileTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FileTreeView_t qt_meta_stringdata_FileTreeView = {
    {
QT_MOC_LITERAL(0, 0, 12), // "FileTreeView"
QT_MOC_LITERAL(1, 13, 15), // "priorityChanged"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 9), // "QSet<int>"
QT_MOC_LITERAL(4, 40, 11), // "fileIndices"
QT_MOC_LITERAL(5, 52, 8), // "priority"
QT_MOC_LITERAL(6, 61, 13), // "wantedChanged"
QT_MOC_LITERAL(7, 75, 6), // "wanted"
QT_MOC_LITERAL(8, 82, 10), // "pathEdited"
QT_MOC_LITERAL(9, 93, 7), // "oldpath"
QT_MOC_LITERAL(10, 101, 7), // "newname"
QT_MOC_LITERAL(11, 109, 13), // "openRequested"
QT_MOC_LITERAL(12, 123, 4), // "path"
QT_MOC_LITERAL(13, 128, 9), // "onClicked"
QT_MOC_LITERAL(14, 138, 5), // "index"
QT_MOC_LITERAL(15, 144, 18), // "checkSelectedItems"
QT_MOC_LITERAL(16, 163, 20), // "uncheckSelectedItems"
QT_MOC_LITERAL(17, 184, 22), // "onlyCheckSelectedItems"
QT_MOC_LITERAL(18, 207, 24), // "setSelectedItemsPriority"
QT_MOC_LITERAL(19, 232, 16), // "openSelectedItem"
QT_MOC_LITERAL(20, 249, 18), // "renameSelectedItem"
QT_MOC_LITERAL(21, 268, 36) // "refreshContextMenuActionsSens..."

    },
    "FileTreeView\0priorityChanged\0\0QSet<int>\0"
    "fileIndices\0priority\0wantedChanged\0"
    "wanted\0pathEdited\0oldpath\0newname\0"
    "openRequested\0path\0onClicked\0index\0"
    "checkSelectedItems\0uncheckSelectedItems\0"
    "onlyCheckSelectedItems\0setSelectedItemsPriority\0"
    "openSelectedItem\0renameSelectedItem\0"
    "refreshContextMenuActionsSensitivity"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FileTreeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   74,    2, 0x06 /* Public */,
       6,    2,   79,    2, 0x06 /* Public */,
       8,    2,   84,    2, 0x06 /* Public */,
      11,    1,   89,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    1,   92,    2, 0x08 /* Private */,
      15,    0,   95,    2, 0x08 /* Private */,
      16,    0,   96,    2, 0x08 /* Private */,
      17,    0,   97,    2, 0x08 /* Private */,
      18,    0,   98,    2, 0x08 /* Private */,
      19,    0,   99,    2, 0x08 /* Private */,
      20,    0,  100,    2, 0x08 /* Private */,
      21,    0,  101,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Bool,    4,    7,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    9,   10,
    QMetaType::Void, QMetaType::QString,   12,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void FileTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FileTreeView *_t = static_cast<FileTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->priorityChanged((*reinterpret_cast< const QSet<int>(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->wantedChanged((*reinterpret_cast< const QSet<int>(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 2: _t->pathEdited((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->openRequested((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->onClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 5: _t->checkSelectedItems(); break;
        case 6: _t->uncheckSelectedItems(); break;
        case 7: _t->onlyCheckSelectedItems(); break;
        case 8: _t->setSelectedItemsPriority(); break;
        case 9: { bool _r = _t->openSelectedItem();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->renameSelectedItem(); break;
        case 11: _t->refreshContextMenuActionsSensitivity(); 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< QSet<int> >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSet<int> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (FileTreeView::*_t)(const QSet<int> & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileTreeView::priorityChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (FileTreeView::*_t)(const QSet<int> & , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileTreeView::wantedChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (FileTreeView::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileTreeView::pathEdited)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (FileTreeView::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileTreeView::openRequested)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject FileTreeView::staticMetaObject = {
    { &QTreeView::staticMetaObject, qt_meta_stringdata_FileTreeView.data,
      qt_meta_data_FileTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int FileTreeView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTreeView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void FileTreeView::priorityChanged(const QSet<int> & _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 FileTreeView::wantedChanged(const QSet<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, 1, _a);
}

// SIGNAL 2
void FileTreeView::pathEdited(const QString & _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, 2, _a);
}

// SIGNAL 3
void FileTreeView::openRequested(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
