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

#include "../../src/libfm-qt-0.11.1/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.6.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
struct qt_meta_stringdata_Fm__PlacesView_t {
    QByteArrayData data[22];
    char stringdata0[269];
};
#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, 7), // "FmPath*"
QT_MOC_LITERAL(5, 44, 4), // "path"
QT_MOC_LITERAL(6, 49, 9), // "onClicked"
QT_MOC_LITERAL(7, 59, 5), // "index"
QT_MOC_LITERAL(8, 65, 9), // "onPressed"
QT_MOC_LITERAL(9, 75, 17), // "onIconSizeChanged"
QT_MOC_LITERAL(10, 93, 4), // "size"
QT_MOC_LITERAL(11, 98, 12), // "onOpenNewTab"
QT_MOC_LITERAL(12, 111, 15), // "onOpenNewWindow"
QT_MOC_LITERAL(13, 127, 12), // "onEmptyTrash"
QT_MOC_LITERAL(14, 140, 13), // "onMountVolume"
QT_MOC_LITERAL(15, 154, 15), // "onUnmountVolume"
QT_MOC_LITERAL(16, 170, 13), // "onEjectVolume"
QT_MOC_LITERAL(17, 184, 14), // "onUnmountMount"
QT_MOC_LITERAL(18, 199, 16), // "onMoveBookmarkUp"
QT_MOC_LITERAL(19, 216, 18), // "onMoveBookmarkDown"
QT_MOC_LITERAL(20, 235, 16), // "onDeleteBookmark"
QT_MOC_LITERAL(21, 252, 16) // "onRenameBookmark"

    },
    "Fm::PlacesView\0chdirRequested\0\0type\0"
    "FmPath*\0path\0onClicked\0index\0onPressed\0"
    "onIconSizeChanged\0size\0onOpenNewTab\0"
    "onOpenNewWindow\0onEmptyTrash\0onMountVolume\0"
    "onUnmountVolume\0onEjectVolume\0"
    "onUnmountMount\0onMoveBookmarkUp\0"
    "onMoveBookmarkDown\0onDeleteBookmark\0"
    "onRenameBookmark"
};
#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< FmPath*(*)>(_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::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PlacesView::*_t)(int , FmPath * );
            if (*reinterpret_cast<_t *>(func) == 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, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Fm__PlacesView.stringdata0))
        return static_cast<void*>(const_cast< PlacesView*>(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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void Fm::PlacesView::chdirRequested(int _t1, FmPath * _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
