/****************************************************************************
** Meta object code from reading C++ file 'MainWindow.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 "../include/MainWindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MainWindow.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_MainWindow_t {
    QByteArrayData data[54];
    char stringdata0[821];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 4), // "play"
QT_MOC_LITERAL(2, 16, 0), // ""
QT_MOC_LITERAL(3, 17, 4), // "stop"
QT_MOC_LITERAL(4, 22, 16), // "onImageAvailable"
QT_MOC_LITERAL(5, 39, 13), // "onEndOfSource"
QT_MOC_LITERAL(6, 53, 12), // "onPlayAction"
QT_MOC_LITERAL(7, 66, 15), // "commandModified"
QT_MOC_LITERAL(8, 82, 13), // "presetClicked"
QT_MOC_LITERAL(9, 96, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(10, 113, 4), // "item"
QT_MOC_LITERAL(11, 118, 6), // "column"
QT_MOC_LITERAL(12, 125, 19), // "imageViewMouseEvent"
QT_MOC_LITERAL(13, 145, 12), // "QMouseEvent*"
QT_MOC_LITERAL(14, 158, 8), // "snapshot"
QT_MOC_LITERAL(15, 167, 5), // "about"
QT_MOC_LITERAL(16, 173, 7), // "license"
QT_MOC_LITERAL(17, 181, 9), // "visitGMIC"
QT_MOC_LITERAL(18, 191, 19), // "setWebcamSkipFrames"
QT_MOC_LITERAL(19, 211, 18), // "setVideoSkipFrames"
QT_MOC_LITERAL(20, 230, 11), // "setImageFPS"
QT_MOC_LITERAL(21, 242, 11), // "setVideoFPS"
QT_MOC_LITERAL(22, 254, 14), // "setPresetsFile"
QT_MOC_LITERAL(23, 269, 15), // "savePresetsFile"
QT_MOC_LITERAL(24, 285, 20), // "onWebcamComboChanged"
QT_MOC_LITERAL(25, 306, 5), // "index"
QT_MOC_LITERAL(26, 312, 30), // "onWebcamResolutionComboChanged"
QT_MOC_LITERAL(27, 343, 1), // "i"
QT_MOC_LITERAL(28, 345, 19), // "onUseBuiltinPresets"
QT_MOC_LITERAL(29, 365, 15), // "onReloadPresets"
QT_MOC_LITERAL(30, 381, 20), // "onPreviewModeChanged"
QT_MOC_LITERAL(31, 402, 12), // "onRightPanel"
QT_MOC_LITERAL(32, 415, 20), // "onComboSourceChanged"
QT_MOC_LITERAL(33, 436, 15), // "onOpenImageFile"
QT_MOC_LITERAL(34, 452, 15), // "onOpenVideoFile"
QT_MOC_LITERAL(35, 468, 17), // "updateWindowTitle"
QT_MOC_LITERAL(36, 486, 15), // "onVideoFileLoop"
QT_MOC_LITERAL(37, 502, 26), // "changePlayButtonAppearence"
QT_MOC_LITERAL(38, 529, 22), // "onFilterThreadFinished"
QT_MOC_LITERAL(39, 552, 26), // "onCommandParametersChanged"
QT_MOC_LITERAL(40, 579, 36), // "onCommandParametersChangedFul..."
QT_MOC_LITERAL(41, 616, 20), // "toggleFullScreenMode"
QT_MOC_LITERAL(42, 637, 26), // "onRefreshCameraResolutions"
QT_MOC_LITERAL(43, 664, 15), // "onDetectCameras"
QT_MOC_LITERAL(44, 680, 21), // "initGUIFromCameraList"
QT_MOC_LITERAL(45, 702, 10), // "QList<int>"
QT_MOC_LITERAL(46, 713, 7), // "camList"
QT_MOC_LITERAL(47, 721, 11), // "firstUnused"
QT_MOC_LITERAL(48, 733, 14), // "onOutputWindow"
QT_MOC_LITERAL(49, 748, 21), // "onOutputWindowClosing"
QT_MOC_LITERAL(50, 770, 9), // "onAddFave"
QT_MOC_LITERAL(51, 780, 12), // "onRemoveFave"
QT_MOC_LITERAL(52, 793, 14), // "onFaveSelected"
QT_MOC_LITERAL(53, 808, 12) // "onRenameFave"

    },
    "MainWindow\0play\0\0stop\0onImageAvailable\0"
    "onEndOfSource\0onPlayAction\0commandModified\0"
    "presetClicked\0QTreeWidgetItem*\0item\0"
    "column\0imageViewMouseEvent\0QMouseEvent*\0"
    "snapshot\0about\0license\0visitGMIC\0"
    "setWebcamSkipFrames\0setVideoSkipFrames\0"
    "setImageFPS\0setVideoFPS\0setPresetsFile\0"
    "savePresetsFile\0onWebcamComboChanged\0"
    "index\0onWebcamResolutionComboChanged\0"
    "i\0onUseBuiltinPresets\0onReloadPresets\0"
    "onPreviewModeChanged\0onRightPanel\0"
    "onComboSourceChanged\0onOpenImageFile\0"
    "onOpenVideoFile\0updateWindowTitle\0"
    "onVideoFileLoop\0changePlayButtonAppearence\0"
    "onFilterThreadFinished\0"
    "onCommandParametersChanged\0"
    "onCommandParametersChangedFullScreen\0"
    "toggleFullScreenMode\0onRefreshCameraResolutions\0"
    "onDetectCameras\0initGUIFromCameraList\0"
    "QList<int>\0camList\0firstUnused\0"
    "onOutputWindow\0onOutputWindowClosing\0"
    "onAddFave\0onRemoveFave\0onFaveSelected\0"
    "onRenameFave"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  234,    2, 0x0a /* Public */,
       3,    0,  235,    2, 0x0a /* Public */,
       4,    0,  236,    2, 0x0a /* Public */,
       5,    0,  237,    2, 0x0a /* Public */,
       6,    1,  238,    2, 0x0a /* Public */,
       7,    0,  241,    2, 0x0a /* Public */,
       8,    2,  242,    2, 0x0a /* Public */,
      12,    1,  247,    2, 0x0a /* Public */,
      14,    0,  250,    2, 0x0a /* Public */,
      15,    0,  251,    2, 0x0a /* Public */,
      16,    0,  252,    2, 0x0a /* Public */,
      17,    0,  253,    2, 0x0a /* Public */,
      18,    1,  254,    2, 0x0a /* Public */,
      19,    1,  257,    2, 0x0a /* Public */,
      20,    1,  260,    2, 0x0a /* Public */,
      21,    1,  263,    2, 0x0a /* Public */,
      22,    1,  266,    2, 0x0a /* Public */,
      22,    0,  269,    2, 0x2a /* Public | MethodCloned */,
      23,    0,  270,    2, 0x0a /* Public */,
      24,    1,  271,    2, 0x0a /* Public */,
      26,    1,  274,    2, 0x0a /* Public */,
      28,    1,  277,    2, 0x0a /* Public */,
      29,    0,  280,    2, 0x0a /* Public */,
      30,    1,  281,    2, 0x0a /* Public */,
      31,    1,  284,    2, 0x0a /* Public */,
      32,    1,  287,    2, 0x0a /* Public */,
      33,    0,  290,    2, 0x0a /* Public */,
      34,    0,  291,    2, 0x0a /* Public */,
      35,    0,  292,    2, 0x0a /* Public */,
      36,    1,  293,    2, 0x0a /* Public */,
      37,    1,  296,    2, 0x0a /* Public */,
      38,    0,  299,    2, 0x0a /* Public */,
      39,    0,  300,    2, 0x0a /* Public */,
      40,    0,  301,    2, 0x0a /* Public */,
      41,    0,  302,    2, 0x0a /* Public */,
      42,    0,  303,    2, 0x0a /* Public */,
      43,    0,  304,    2, 0x0a /* Public */,
      44,    2,  305,    2, 0x0a /* Public */,
      48,    1,  310,    2, 0x0a /* Public */,
      49,    0,  313,    2, 0x0a /* Public */,
      50,    0,  314,    2, 0x0a /* Public */,
      51,    0,  315,    2, 0x0a /* Public */,
      52,    1,  316,    2, 0x0a /* Public */,
      53,    0,  319,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9, QMetaType::Int,   10,   11,
    QMetaType::Void, 0x80000000 | 13,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   25,
    QMetaType::Void, QMetaType::Int,   27,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   25,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 45, QMetaType::Int,   46,   47,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,

       0        // eod
};

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MainWindow *_t = static_cast<MainWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->play(); break;
        case 1: _t->stop(); break;
        case 2: _t->onImageAvailable(); break;
        case 3: _t->onEndOfSource(); break;
        case 4: _t->onPlayAction((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->commandModified(); break;
        case 6: _t->presetClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->imageViewMouseEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 8: _t->snapshot(); break;
        case 9: _t->about(); break;
        case 10: _t->license(); break;
        case 11: _t->visitGMIC(); break;
        case 12: _t->setWebcamSkipFrames((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->setVideoSkipFrames((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->setImageFPS((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->setVideoFPS((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->setPresetsFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->setPresetsFile(); break;
        case 18: _t->savePresetsFile(); break;
        case 19: _t->onWebcamComboChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->onWebcamResolutionComboChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->onUseBuiltinPresets((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 22: _t->onReloadPresets(); break;
        case 23: _t->onPreviewModeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 24: _t->onRightPanel((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 25: _t->onComboSourceChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 26: _t->onOpenImageFile(); break;
        case 27: _t->onOpenVideoFile(); break;
        case 28: _t->updateWindowTitle(); break;
        case 29: _t->onVideoFileLoop((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 30: _t->changePlayButtonAppearence((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 31: _t->onFilterThreadFinished(); break;
        case 32: _t->onCommandParametersChanged(); break;
        case 33: _t->onCommandParametersChangedFullScreen(); break;
        case 34: _t->toggleFullScreenMode(); break;
        case 35: _t->onRefreshCameraResolutions(); break;
        case 36: _t->onDetectCameras(); break;
        case 37: _t->initGUIFromCameraList((*reinterpret_cast< const QList<int>(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 38: _t->onOutputWindow((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 39: _t->onOutputWindowClosing(); break;
        case 40: _t->onAddFave(); break;
        case 41: _t->onRemoveFave(); break;
        case 42: _t->onFaveSelected((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 43: _t->onRenameFave(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 37:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
            }
            break;
        }
    }
}

const QMetaObject MainWindow::staticMetaObject = {
    { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow.data,
      qt_meta_data_MainWindow,  qt_static_metacall, nullptr, nullptr}
};


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

void *MainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::MainWindow"))
        return static_cast< Ui::MainWindow*>(this);
    return QMainWindow::qt_metacast(_clname);
}

int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 44)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 44;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 44)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 44;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
