/****************************************************************************
** Meta object code from reading C++ file 'tracks.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/libkgeomap-17.12.3/src/tracks.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tracks.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_KGeoMap__TrackManager_t {
    QByteArrayData data[14];
    char stringdata0[248];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGeoMap__TrackManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGeoMap__TrackManager_t qt_meta_stringdata_KGeoMap__TrackManager = {
    {
QT_MOC_LITERAL(0, 0, 21), // "KGeoMap::TrackManager"
QT_MOC_LITERAL(1, 22, 23), // "signalTrackFilesReadyAt"
QT_MOC_LITERAL(2, 46, 0), // ""
QT_MOC_LITERAL(3, 47, 10), // "startIndex"
QT_MOC_LITERAL(4, 58, 8), // "endIndex"
QT_MOC_LITERAL(5, 67, 24), // "signalAllTrackFilesReady"
QT_MOC_LITERAL(6, 92, 19), // "signalTracksChanged"
QT_MOC_LITERAL(7, 112, 33), // "QList<TrackManager::TrackChan..."
QT_MOC_LITERAL(8, 146, 12), // "trackChanges"
QT_MOC_LITERAL(9, 159, 23), // "signalVisibilityChanged"
QT_MOC_LITERAL(10, 183, 8), // "newValue"
QT_MOC_LITERAL(11, 192, 21), // "slotTrackFilesReadyAt"
QT_MOC_LITERAL(12, 214, 10), // "beginIndex"
QT_MOC_LITERAL(13, 225, 22) // "slotTrackFilesFinished"

    },
    "KGeoMap::TrackManager\0signalTrackFilesReadyAt\0"
    "\0startIndex\0endIndex\0signalAllTrackFilesReady\0"
    "signalTracksChanged\0"
    "QList<TrackManager::TrackChanges>\0"
    "trackChanges\0signalVisibilityChanged\0"
    "newValue\0slotTrackFilesReadyAt\0"
    "beginIndex\0slotTrackFilesFinished"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGeoMap__TrackManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   44,    2, 0x06 /* Public */,
       5,    0,   49,    2, 0x06 /* Public */,
       6,    1,   50,    2, 0x06 /* Public */,
       9,    1,   53,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    2,   56,    2, 0x08 /* Private */,
      13,    0,   61,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,    4,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, QMetaType::Bool,   10,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   12,    4,
    QMetaType::Void,

       0        // eod
};

void KGeoMap::TrackManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TrackManager *_t = static_cast<TrackManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalTrackFilesReadyAt((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 1: _t->signalAllTrackFilesReady(); break;
        case 2: _t->signalTracksChanged((*reinterpret_cast< const QList<TrackManager::TrackChanges>(*)>(_a[1]))); break;
        case 3: _t->signalVisibilityChanged((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 4: _t->slotTrackFilesReadyAt((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->slotTrackFilesFinished(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TrackManager::*_t)(const int , const int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackManager::signalTrackFilesReadyAt)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TrackManager::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackManager::signalAllTrackFilesReady)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TrackManager::*_t)(const QList<TrackManager::TrackChanges> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackManager::signalTracksChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TrackManager::*_t)(const bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackManager::signalVisibilityChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KGeoMap::TrackManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KGeoMap__TrackManager.data,
      qt_meta_data_KGeoMap__TrackManager,  qt_static_metacall, nullptr, nullptr}
};


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

void *KGeoMap::TrackManager::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KGeoMap__TrackManager.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int KGeoMap::TrackManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void KGeoMap::TrackManager::signalTrackFilesReadyAt(const int _t1, const int _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 KGeoMap::TrackManager::signalAllTrackFilesReady()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KGeoMap::TrackManager::signalTracksChanged(const QList<TrackManager::TrackChanges> _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KGeoMap::TrackManager::signalVisibilityChanged(const bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
