/****************************************************************************
** Meta object code from reading C++ file 'filedialog.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/filedialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'filedialog.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__FileDialog_t {
    QByteArrayData data[24];
    char stringdata0[296];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Fm__FileDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Fm__FileDialog_t qt_meta_stringdata_Fm__FileDialog = {
    {
QT_MOC_LITERAL(0, 0, 14), // "Fm::FileDialog"
QT_MOC_LITERAL(1, 15, 12), // "fileSelected"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 4), // "file"
QT_MOC_LITERAL(4, 34, 13), // "filesSelected"
QT_MOC_LITERAL(5, 48, 11), // "QList<QUrl>"
QT_MOC_LITERAL(6, 60, 5), // "files"
QT_MOC_LITERAL(7, 66, 14), // "currentChanged"
QT_MOC_LITERAL(8, 81, 4), // "path"
QT_MOC_LITERAL(9, 86, 16), // "directoryEntered"
QT_MOC_LITERAL(10, 103, 9), // "directory"
QT_MOC_LITERAL(11, 113, 14), // "filterSelected"
QT_MOC_LITERAL(12, 128, 6), // "filter"
QT_MOC_LITERAL(13, 135, 19), // "onCurrentRowChanged"
QT_MOC_LITERAL(14, 155, 7), // "current"
QT_MOC_LITERAL(15, 163, 18), // "onSelectionChanged"
QT_MOC_LITERAL(16, 182, 14), // "QItemSelection"
QT_MOC_LITERAL(17, 197, 13), // "onFileClicked"
QT_MOC_LITERAL(18, 211, 4), // "type"
QT_MOC_LITERAL(19, 216, 35), // "std::shared_ptr<const Fm::Fil..."
QT_MOC_LITERAL(20, 252, 11), // "onNewFolder"
QT_MOC_LITERAL(21, 264, 17), // "onViewModeToggled"
QT_MOC_LITERAL(22, 282, 6), // "active"
QT_MOC_LITERAL(23, 289, 6) // "goHome"

    },
    "Fm::FileDialog\0fileSelected\0\0file\0"
    "filesSelected\0QList<QUrl>\0files\0"
    "currentChanged\0path\0directoryEntered\0"
    "directory\0filterSelected\0filter\0"
    "onCurrentRowChanged\0current\0"
    "onSelectionChanged\0QItemSelection\0"
    "onFileClicked\0type\0"
    "std::shared_ptr<const Fm::FileInfo>\0"
    "onNewFolder\0onViewModeToggled\0active\0"
    "goHome"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Fm__FileDialog[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       4,    1,   72,    2, 0x06 /* Public */,
       7,    1,   75,    2, 0x06 /* Public */,
       9,    1,   78,    2, 0x06 /* Public */,
      11,    1,   81,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    2,   84,    2, 0x08 /* Private */,
      15,    2,   89,    2, 0x08 /* Private */,
      17,    2,   94,    2, 0x08 /* Private */,
      20,    0,   99,    2, 0x08 /* Private */,
      21,    1,  100,    2, 0x08 /* Private */,
      23,    0,  103,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QUrl,    3,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::QUrl,    8,
    QMetaType::Void, QMetaType::QUrl,   10,
    QMetaType::Void, QMetaType::QString,   12,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   14,    2,
    QMetaType::Void, 0x80000000 | 16, 0x80000000 | 16,    2,    2,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 19,   18,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void,

       0        // eod
};

void Fm::FileDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FileDialog *_t = static_cast<FileDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->fileSelected((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 1: _t->filesSelected((*reinterpret_cast< const QList<QUrl>(*)>(_a[1]))); break;
        case 2: _t->currentChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 3: _t->directoryEntered((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 4: _t->filterSelected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->onCurrentRowChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); 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->onNewFolder(); break;
        case 9: _t->onViewModeToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->goHome(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< QList<QUrl> >(); 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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (FileDialog::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileDialog::fileSelected)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (FileDialog::*_t)(const QList<QUrl> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileDialog::filesSelected)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (FileDialog::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileDialog::currentChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (FileDialog::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileDialog::directoryEntered)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (FileDialog::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileDialog::filterSelected)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject Fm::FileDialog::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_Fm__FileDialog.data,
      qt_meta_data_Fm__FileDialog,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Fm::FileDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void Fm::FileDialog::fileSelected(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Fm::FileDialog::filesSelected(const QList<QUrl> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Fm::FileDialog::currentChanged(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Fm::FileDialog::directoryEntered(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

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