/****************************************************************************
** Meta object code from reading C++ file 'placesview.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/placesview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'placesview.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__PlacesView_t {
    QByteArrayData data[22];
    char stringdata0[274];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Fm__PlacesView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Fm__PlacesView_t qt_meta_stringdata_Fm__PlacesView = {
    {
QT_MOC_LITERAL(0, 0, 14), // "Fm::PlacesView"
QT_MOC_LITERAL(1, 15, 14), // "chdirRequested"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 4), // "type"
QT_MOC_LITERAL(4, 36, 12), // "Fm::FilePath"
QT_MOC_LITERAL(5, 49, 4), // "path"
QT_MOC_LITERAL(6, 54, 9), // "onClicked"
QT_MOC_LITERAL(7, 64, 5), // "index"
QT_MOC_LITERAL(8, 70, 9), // "onPressed"
QT_MOC_LITERAL(9, 80, 17), // "onIconSizeChanged"
QT_MOC_LITERAL(10, 98, 4), // "size"
QT_MOC_LITERAL(11, 103, 12), // "onOpenNewTab"
QT_MOC_LITERAL(12, 116, 15), // "onOpenNewWindow"
QT_MOC_LITERAL(13, 132, 12), // "onEmptyTrash"
QT_MOC_LITERAL(14, 145, 13), // "onMountVolume"
QT_MOC_LITERAL(15, 159, 15), // "onUnmountVolume"
QT_MOC_LITERAL(16, 175, 13), // "onEjectVolume"
QT_MOC_LITERAL(17, 189, 14), // "onUnmountMount"
QT_MOC_LITERAL(18, 204, 16), // "onMoveBookmarkUp"
QT_MOC_LITERAL(19, 221, 18), // "onMoveBookmarkDown"
QT_MOC_LITERAL(20, 240, 16), // "onDeleteBookmark"
QT_MOC_LITERAL(21, 257, 16) // "onRenameBookmark"

    },
    "Fm::PlacesView\0chdirRequested\0\0type\0"
    "Fm::FilePath\0path\0onClicked\0index\0"
    "onPressed\0onIconSizeChanged\0size\0"
    "onOpenNewTab\0onOpenNewWindow\0onEmptyTrash\0"
    "onMountVolume\0onUnmountVolume\0"
    "onEjectVolume\0onUnmountMount\0"
    "onMoveBookmarkUp\0onMoveBookmarkDown\0"
    "onDeleteBookmark\0onRenameBookmark"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Fm__PlacesView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   89,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   94,    2, 0x09 /* Protected */,
       8,    1,   97,    2, 0x09 /* Protected */,
       9,    1,  100,    2, 0x09 /* Protected */,
      11,    0,  103,    2, 0x09 /* Protected */,
      12,    0,  104,    2, 0x09 /* Protected */,
      13,    0,  105,    2, 0x09 /* Protected */,
      14,    0,  106,    2, 0x09 /* Protected */,
      15,    0,  107,    2, 0x09 /* Protected */,
      16,    0,  108,    2, 0x09 /* Protected */,
      17,    0,  109,    2, 0x09 /* Protected */,
      18,    0,  110,    2, 0x09 /* Protected */,
      19,    0,  111,    2, 0x09 /* Protected */,
      20,    0,  112,    2, 0x09 /* Protected */,
      21,    0,  113,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex,    7,
    QMetaType::Void, QMetaType::QModelIndex,    7,
    QMetaType::Void, QMetaType::QSize,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Fm::PlacesView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PlacesView *_t = static_cast<PlacesView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->chdirRequested((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const Fm::FilePath(*)>(_a[2]))); break;
        case 1: _t->onClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 2: _t->onPressed((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 3: _t->onIconSizeChanged((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 4: _t->onOpenNewTab(); break;
        case 5: _t->onOpenNewWindow(); break;
        case 6: _t->onEmptyTrash(); break;
        case 7: _t->onMountVolume(); break;
        case 8: _t->onUnmountVolume(); break;
        case 9: _t->onEjectVolume(); break;
        case 10: _t->onUnmountMount(); break;
        case 11: _t->onMoveBookmarkUp(); break;
        case 12: _t->onMoveBookmarkDown(); break;
        case 13: _t->onDeleteBookmark(); break;
        case 14: _t->onRenameBookmark(); 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< Fm::FilePath >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (PlacesView::*_t)(int , const Fm::FilePath & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlacesView::chdirRequested)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Fm::PlacesView::staticMetaObject = {
    { &QTreeView::staticMetaObject, qt_meta_stringdata_Fm__PlacesView.data,
      qt_meta_data_Fm__PlacesView,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void Fm::PlacesView::chdirRequested(int _t1, const Fm::FilePath & _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);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
