/****************************************************************************
** Meta object code from reading C++ file 'pathbar.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/pathbar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'pathbar.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__PathBar_t {
    QByteArrayData data[18];
    char stringdata0[238];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Fm__PathBar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Fm__PathBar_t qt_meta_stringdata_Fm__PathBar = {
    {
QT_MOC_LITERAL(0, 0, 11), // "Fm::PathBar"
QT_MOC_LITERAL(1, 12, 5), // "chdir"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 12), // "Fm::FilePath"
QT_MOC_LITERAL(4, 32, 4), // "path"
QT_MOC_LITERAL(5, 37, 16), // "middleClickChdir"
QT_MOC_LITERAL(6, 54, 15), // "editingFinished"
QT_MOC_LITERAL(7, 70, 10), // "openEditor"
QT_MOC_LITERAL(8, 81, 11), // "closeEditor"
QT_MOC_LITERAL(9, 93, 8), // "copyPath"
QT_MOC_LITERAL(10, 102, 15), // "onButtonToggled"
QT_MOC_LITERAL(11, 118, 7), // "checked"
QT_MOC_LITERAL(12, 126, 21), // "onScrollButtonClicked"
QT_MOC_LITERAL(13, 148, 15), // "onReturnPressed"
QT_MOC_LITERAL(14, 164, 20), // "setArrowEnabledState"
QT_MOC_LITERAL(15, 185, 5), // "value"
QT_MOC_LITERAL(16, 191, 25), // "setScrollButtonVisibility"
QT_MOC_LITERAL(17, 217, 20) // "ensureToggledVisible"

    },
    "Fm::PathBar\0chdir\0\0Fm::FilePath\0path\0"
    "middleClickChdir\0editingFinished\0"
    "openEditor\0closeEditor\0copyPath\0"
    "onButtonToggled\0checked\0onScrollButtonClicked\0"
    "onReturnPressed\0setArrowEnabledState\0"
    "value\0setScrollButtonVisibility\0"
    "ensureToggledVisible"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Fm__PathBar[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       5,    1,   77,    2, 0x06 /* Public */,
       6,    0,   80,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   81,    2, 0x0a /* Public */,
       8,    0,   82,    2, 0x0a /* Public */,
       9,    0,   83,    2, 0x0a /* Public */,
      10,    1,   84,    2, 0x08 /* Private */,
      12,    0,   87,    2, 0x08 /* Private */,
      13,    0,   88,    2, 0x08 /* Private */,
      14,    1,   89,    2, 0x08 /* Private */,
      16,    0,   92,    2, 0x08 /* Private */,
      17,    0,   93,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Fm::PathBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PathBar *_t = static_cast<PathBar *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->chdir((*reinterpret_cast< const Fm::FilePath(*)>(_a[1]))); break;
        case 1: _t->middleClickChdir((*reinterpret_cast< const Fm::FilePath(*)>(_a[1]))); break;
        case 2: _t->editingFinished(); break;
        case 3: _t->openEditor(); break;
        case 4: _t->closeEditor(); break;
        case 5: _t->copyPath(); break;
        case 6: _t->onButtonToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->onScrollButtonClicked(); break;
        case 8: _t->onReturnPressed(); break;
        case 9: _t->setArrowEnabledState((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->setScrollButtonVisibility(); break;
        case 11: _t->ensureToggledVisible(); 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< Fm::FilePath >(); 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< Fm::FilePath >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (PathBar::*_t)(const Fm::FilePath & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PathBar::chdir)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PathBar::*_t)(const Fm::FilePath & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PathBar::middleClickChdir)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PathBar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PathBar::editingFinished)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject Fm::PathBar::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Fm__PathBar.data,
      qt_meta_data_Fm__PathBar,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Fm::PathBar::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::PathBar::chdir(const Fm::FilePath & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void Fm::PathBar::editingFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
