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

#include "../../../../src/marble-17.08.3/src/lib/marble/TourWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'TourWidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Marble__TourWidget_t {
    QByteArrayData data[39];
    char stringdata0[508];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__TourWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__TourWidget_t qt_meta_stringdata_Marble__TourWidget = {
    {
QT_MOC_LITERAL(0, 0, 18), // "Marble::TourWidget"
QT_MOC_LITERAL(1, 19, 14), // "featureUpdated"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 15), // "GeoDataFeature*"
QT_MOC_LITERAL(4, 51, 7), // "feature"
QT_MOC_LITERAL(5, 59, 12), // "featureAdded"
QT_MOC_LITERAL(6, 72, 17), // "GeoDataContainer*"
QT_MOC_LITERAL(7, 90, 6), // "parent"
QT_MOC_LITERAL(8, 97, 3), // "row"
QT_MOC_LITERAL(9, 101, 14), // "featureRemoved"
QT_MOC_LITERAL(10, 116, 21), // "const GeoDataFeature*"
QT_MOC_LITERAL(11, 138, 12), // "startPlaying"
QT_MOC_LITERAL(12, 151, 12), // "pausePlaying"
QT_MOC_LITERAL(13, 164, 13), // "togglePlaying"
QT_MOC_LITERAL(14, 178, 11), // "stopPlaying"
QT_MOC_LITERAL(15, 190, 16), // "handleSliderMove"
QT_MOC_LITERAL(16, 207, 23), // "setHighlightedItemIndex"
QT_MOC_LITERAL(17, 231, 5), // "index"
QT_MOC_LITERAL(18, 237, 6), // "moveUp"
QT_MOC_LITERAL(19, 244, 8), // "moveDown"
QT_MOC_LITERAL(20, 253, 8), // "addFlyTo"
QT_MOC_LITERAL(21, 262, 7), // "addWait"
QT_MOC_LITERAL(22, 270, 11), // "addSoundCue"
QT_MOC_LITERAL(23, 282, 12), // "addPlacemark"
QT_MOC_LITERAL(24, 295, 18), // "addRemovePlacemark"
QT_MOC_LITERAL(25, 314, 18), // "addChangePlacemark"
QT_MOC_LITERAL(26, 333, 14), // "deleteSelected"
QT_MOC_LITERAL(27, 348, 14), // "updateDuration"
QT_MOC_LITERAL(28, 363, 16), // "finishAddingItem"
QT_MOC_LITERAL(29, 380, 11), // "stopLooping"
QT_MOC_LITERAL(30, 392, 8), // "openFile"
QT_MOC_LITERAL(31, 401, 10), // "createTour"
QT_MOC_LITERAL(32, 412, 8), // "saveTour"
QT_MOC_LITERAL(33, 421, 10), // "saveTourAs"
QT_MOC_LITERAL(34, 432, 11), // "captureTour"
QT_MOC_LITERAL(35, 444, 19), // "updateButtonsStates"
QT_MOC_LITERAL(36, 464, 11), // "mapCenterOn"
QT_MOC_LITERAL(37, 476, 22), // "handlePlaybackProgress"
QT_MOC_LITERAL(38, 499, 8) // "position"

    },
    "Marble::TourWidget\0featureUpdated\0\0"
    "GeoDataFeature*\0feature\0featureAdded\0"
    "GeoDataContainer*\0parent\0row\0"
    "featureRemoved\0const GeoDataFeature*\0"
    "startPlaying\0pausePlaying\0togglePlaying\0"
    "stopPlaying\0handleSliderMove\0"
    "setHighlightedItemIndex\0index\0moveUp\0"
    "moveDown\0addFlyTo\0addWait\0addSoundCue\0"
    "addPlacemark\0addRemovePlacemark\0"
    "addChangePlacemark\0deleteSelected\0"
    "updateDuration\0finishAddingItem\0"
    "stopLooping\0openFile\0createTour\0"
    "saveTour\0saveTourAs\0captureTour\0"
    "updateButtonsStates\0mapCenterOn\0"
    "handlePlaybackProgress\0position"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__TourWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  159,    2, 0x06 /* Public */,
       5,    3,  162,    2, 0x06 /* Public */,
       9,    1,  169,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,  172,    2, 0x0a /* Public */,
      12,    0,  173,    2, 0x0a /* Public */,
      13,    0,  174,    2, 0x0a /* Public */,
      14,    0,  175,    2, 0x0a /* Public */,
      15,    1,  176,    2, 0x0a /* Public */,
      16,    1,  179,    2, 0x0a /* Public */,
      18,    0,  182,    2, 0x08 /* Private */,
      19,    0,  183,    2, 0x08 /* Private */,
      20,    0,  184,    2, 0x08 /* Private */,
      21,    0,  185,    2, 0x08 /* Private */,
      22,    0,  186,    2, 0x08 /* Private */,
      23,    0,  187,    2, 0x08 /* Private */,
      24,    0,  188,    2, 0x08 /* Private */,
      25,    0,  189,    2, 0x08 /* Private */,
      26,    0,  190,    2, 0x08 /* Private */,
      27,    0,  191,    2, 0x08 /* Private */,
      28,    0,  192,    2, 0x08 /* Private */,
      29,    0,  193,    2, 0x08 /* Private */,
      30,    0,  194,    2, 0x08 /* Private */,
      31,    0,  195,    2, 0x08 /* Private */,
      32,    0,  196,    2, 0x08 /* Private */,
      33,    0,  197,    2, 0x08 /* Private */,
      34,    0,  198,    2, 0x08 /* Private */,
      35,    0,  199,    2, 0x08 /* Private */,
      36,    1,  200,    2, 0x08 /* Private */,
      37,    1,  203,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,   17,
    QMetaType::Void, QMetaType::Double,   38,

       0        // eod
};

void Marble::TourWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TourWidget *_t = static_cast<TourWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->featureUpdated((*reinterpret_cast< GeoDataFeature*(*)>(_a[1]))); break;
        case 1: _t->featureAdded((*reinterpret_cast< GeoDataContainer*(*)>(_a[1])),(*reinterpret_cast< GeoDataFeature*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 2: _t->featureRemoved((*reinterpret_cast< const GeoDataFeature*(*)>(_a[1]))); break;
        case 3: _t->startPlaying(); break;
        case 4: _t->pausePlaying(); break;
        case 5: _t->togglePlaying(); break;
        case 6: _t->stopPlaying(); break;
        case 7: _t->handleSliderMove((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->setHighlightedItemIndex((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->moveUp(); break;
        case 10: _t->moveDown(); break;
        case 11: _t->addFlyTo(); break;
        case 12: _t->addWait(); break;
        case 13: _t->addSoundCue(); break;
        case 14: _t->addPlacemark(); break;
        case 15: _t->addRemovePlacemark(); break;
        case 16: _t->addChangePlacemark(); break;
        case 17: _t->deleteSelected(); break;
        case 18: _t->updateDuration(); break;
        case 19: _t->finishAddingItem(); break;
        case 20: _t->stopLooping(); break;
        case 21: _t->d->openFile(); break;
        case 22: _t->d->createTour(); break;
        case 23: _t->d->saveTour(); break;
        case 24: _t->d->saveTourAs(); break;
        case 25: _t->d->captureTour(); break;
        case 26: _t->d->updateButtonsStates(); break;
        case 27: _t->d->mapCenterOn((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 28: _t->d->handlePlaybackProgress((*reinterpret_cast< const double(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TourWidget::*_t)(GeoDataFeature * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TourWidget::featureUpdated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TourWidget::*_t)(GeoDataContainer * , GeoDataFeature * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TourWidget::featureAdded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TourWidget::*_t)(const GeoDataFeature * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TourWidget::featureRemoved)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject Marble::TourWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Marble__TourWidget.data,
      qt_meta_data_Marble__TourWidget,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Marble::TourWidget::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 < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 29)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 29;
    }
    return _id;
}

// SIGNAL 0
void Marble::TourWidget::featureUpdated(GeoDataFeature * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Marble::TourWidget::featureAdded(GeoDataContainer * _t1, GeoDataFeature * _t2, int _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Marble::TourWidget::featureRemoved(const GeoDataFeature * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
