/****************************************************************************
** Meta object code from reading C++ file 'folderview.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/libfm-qt-0.12.0/src/folderview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'folderview.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_Fm__FolderView_t {
    QByteArrayData data[26];
    char stringdata0[356];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Fm__FolderView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Fm__FolderView_t qt_meta_stringdata_Fm__FolderView = {
    {
QT_MOC_LITERAL(0, 0, 14), // "Fm::FolderView"
QT_MOC_LITERAL(1, 15, 7), // "clicked"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 4), // "type"
QT_MOC_LITERAL(4, 29, 35), // "std::shared_ptr<const Fm::Fil..."
QT_MOC_LITERAL(5, 65, 4), // "file"
QT_MOC_LITERAL(6, 70, 11), // "clickedBack"
QT_MOC_LITERAL(7, 82, 14), // "clickedForward"
QT_MOC_LITERAL(8, 97, 10), // "selChanged"
QT_MOC_LITERAL(9, 108, 11), // "sortChanged"
QT_MOC_LITERAL(10, 120, 15), // "onItemActivated"
QT_MOC_LITERAL(11, 136, 5), // "index"
QT_MOC_LITERAL(12, 142, 18), // "onSelectionChanged"
QT_MOC_LITERAL(13, 161, 14), // "QItemSelection"
QT_MOC_LITERAL(14, 176, 8), // "selected"
QT_MOC_LITERAL(15, 185, 10), // "deselected"
QT_MOC_LITERAL(16, 196, 13), // "onFileClicked"
QT_MOC_LITERAL(17, 210, 8), // "fileInfo"
QT_MOC_LITERAL(18, 219, 21), // "onClipboardDataChange"
QT_MOC_LITERAL(19, 241, 22), // "onAutoSelectionTimeout"
QT_MOC_LITERAL(20, 264, 19), // "onSelChangedTimeout"
QT_MOC_LITERAL(21, 284, 15), // "onClosingEditor"
QT_MOC_LITERAL(22, 300, 8), // "QWidget*"
QT_MOC_LITERAL(23, 309, 6), // "editor"
QT_MOC_LITERAL(24, 316, 34), // "QAbstractItemDelegate::EndEdi..."
QT_MOC_LITERAL(25, 351, 4) // "hint"

    },
    "Fm::FolderView\0clicked\0\0type\0"
    "std::shared_ptr<const Fm::FileInfo>\0"
    "file\0clickedBack\0clickedForward\0"
    "selChanged\0sortChanged\0onItemActivated\0"
    "index\0onSelectionChanged\0QItemSelection\0"
    "selected\0deselected\0onFileClicked\0"
    "fileInfo\0onClipboardDataChange\0"
    "onAutoSelectionTimeout\0onSelChangedTimeout\0"
    "onClosingEditor\0QWidget*\0editor\0"
    "QAbstractItemDelegate::EndEditHint\0"
    "hint"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Fm__FolderView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   74,    2, 0x06 /* Public */,
       6,    0,   79,    2, 0x06 /* Public */,
       7,    0,   80,    2, 0x06 /* Public */,
       8,    0,   81,    2, 0x06 /* Public */,
       9,    0,   82,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,   83,    2, 0x0a /* Public */,
      12,    2,   86,    2, 0x0a /* Public */,
      16,    2,   91,    2, 0x0a /* Public */,
      18,    0,   96,    2, 0x0a /* Public */,
      19,    0,   97,    2, 0x08 /* Private */,
      20,    0,   98,    2, 0x08 /* Private */,
      21,    2,   99,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex,   11,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 13,   14,   15,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 4,    3,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22, 0x80000000 | 24,   23,   25,

       0        // eod
};

void Fm::FolderView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FolderView *_t = static_cast<FolderView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->clicked((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const std::shared_ptr<const Fm::FileInfo>(*)>(_a[2]))); break;
        case 1: _t->clickedBack(); break;
        case 2: _t->clickedForward(); break;
        case 3: _t->selChanged(); break;
        case 4: _t->sortChanged(); break;
        case 5: _t->onItemActivated((*reinterpret_cast< QModelIndex(*)>(_a[1]))); break;
        case 6: _t->onSelectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 7: _t->onFileClicked((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const std::shared_ptr<const Fm::FileInfo>(*)>(_a[2]))); break;
        case 8: _t->onClipboardDataChange(); break;
        case 9: _t->onAutoSelectionTimeout(); break;
        case 10: _t->onSelChangedTimeout(); break;
        case 11: _t->onClosingEditor((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< QAbstractItemDelegate::EndEditHint(*)>(_a[2]))); 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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< std::shared_ptr<const Fm::FileInfo> >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< std::shared_ptr<const Fm::FileInfo> >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (FolderView::*_t)(int , const std::shared_ptr<const Fm::FileInfo> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FolderView::clicked)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (FolderView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FolderView::clickedBack)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (FolderView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FolderView::clickedForward)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (FolderView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FolderView::selChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (FolderView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FolderView::sortChanged)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject Fm::FolderView::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Fm__FolderView.data,
      qt_meta_data_Fm__FolderView,  qt_static_metacall, nullptr, nullptr}
};


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

void *Fm::FolderView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Fm__FolderView.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int Fm::FolderView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::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 Fm::FolderView::clicked(int _t1, const std::shared_ptr<const Fm::FileInfo> & _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 Fm::FolderView::clickedBack()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Fm::FolderView::clickedForward()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Fm::FolderView::selChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void Fm::FolderView::sortChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
