/****************************************************************************
** Meta object code from reading C++ file 'imageexporter.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/kstars-17.04.3/kstars/auxiliary/imageexporter.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'imageexporter.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_ImageExporter_t {
    QByteArrayData data[20];
    char stringdata0[247];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ImageExporter_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ImageExporter_t qt_meta_stringdata_ImageExporter = {
    {
QT_MOC_LITERAL(0, 0, 13), // "ImageExporter"
QT_MOC_LITERAL(1, 14, 11), // "exportImage"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 3), // "url"
QT_MOC_LITERAL(4, 31, 19), // "setLegendProperties"
QT_MOC_LITERAL(5, 51, 19), // "Legend::LEGEND_TYPE"
QT_MOC_LITERAL(6, 71, 4), // "type"
QT_MOC_LITERAL(7, 76, 26), // "Legend::LEGEND_ORIENTATION"
QT_MOC_LITERAL(8, 103, 11), // "orientation"
QT_MOC_LITERAL(9, 115, 23), // "Legend::LEGEND_POSITION"
QT_MOC_LITERAL(10, 139, 8), // "position"
QT_MOC_LITERAL(11, 148, 5), // "alpha"
QT_MOC_LITERAL(12, 154, 7), // "include"
QT_MOC_LITERAL(13, 162, 13), // "includeLegend"
QT_MOC_LITERAL(14, 176, 14), // "setLegendAlpha"
QT_MOC_LITERAL(15, 191, 19), // "setRasterOutputSize"
QT_MOC_LITERAL(16, 211, 12), // "const QSize*"
QT_MOC_LITERAL(17, 224, 4), // "size"
QT_MOC_LITERAL(18, 229, 9), // "getLegend"
QT_MOC_LITERAL(19, 239, 7) // "Legend*"

    },
    "ImageExporter\0exportImage\0\0url\0"
    "setLegendProperties\0Legend::LEGEND_TYPE\0"
    "type\0Legend::LEGEND_ORIENTATION\0"
    "orientation\0Legend::LEGEND_POSITION\0"
    "position\0alpha\0include\0includeLegend\0"
    "setLegendAlpha\0setRasterOutputSize\0"
    "const QSize*\0size\0getLegend\0Legend*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ImageExporter[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x0a /* Public */,
       4,    5,   57,    2, 0x0a /* Public */,
       4,    4,   68,    2, 0x2a /* Public | MethodCloned */,
       4,    3,   77,    2, 0x2a /* Public | MethodCloned */,
      13,    1,   84,    2, 0x0a /* Public */,
      14,    1,   87,    2, 0x0a /* Public */,
      15,    1,   90,    2, 0x0a /* Public */,
      18,    0,   93,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Bool, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 7, 0x80000000 | 9, QMetaType::Int, QMetaType::Bool,    6,    8,   10,   11,   12,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 7, 0x80000000 | 9, QMetaType::Int,    6,    8,   10,   11,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 7, 0x80000000 | 9,    6,    8,   10,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, 0x80000000 | 16,   17,
    0x80000000 | 19,

       0        // eod
};

void ImageExporter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ImageExporter *_t = static_cast<ImageExporter *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { bool _r = _t->exportImage((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 1: _t->setLegendProperties((*reinterpret_cast< Legend::LEGEND_TYPE(*)>(_a[1])),(*reinterpret_cast< Legend::LEGEND_ORIENTATION(*)>(_a[2])),(*reinterpret_cast< Legend::LEGEND_POSITION(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< bool(*)>(_a[5]))); break;
        case 2: _t->setLegendProperties((*reinterpret_cast< Legend::LEGEND_TYPE(*)>(_a[1])),(*reinterpret_cast< Legend::LEGEND_ORIENTATION(*)>(_a[2])),(*reinterpret_cast< Legend::LEGEND_POSITION(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 3: _t->setLegendProperties((*reinterpret_cast< Legend::LEGEND_TYPE(*)>(_a[1])),(*reinterpret_cast< Legend::LEGEND_ORIENTATION(*)>(_a[2])),(*reinterpret_cast< Legend::LEGEND_POSITION(*)>(_a[3]))); break;
        case 4: _t->includeLegend((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->setLegendAlpha((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->setRasterOutputSize((*reinterpret_cast< const QSize*(*)>(_a[1]))); break;
        case 7: { Legend* _r = _t->getLegend();
            if (_a[0]) *reinterpret_cast< Legend**>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObject ImageExporter::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_ImageExporter.data,
      qt_meta_data_ImageExporter,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *ImageExporter::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_ImageExporter.stringdata0))
        return static_cast<void*>(const_cast< ImageExporter*>(this));
    return QObject::qt_metacast(_clname);
}

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