/****************************************************************************
** Meta object code from reading C++ file 'tmview.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/lokalize-17.04.3/src/tm/tmview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tmview.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_TM__TMView_t {
    QByteArrayData data[23];
    char stringdata0[314];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TM__TMView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TM__TMView_t qt_meta_stringdata_TM__TMView = {
    {
QT_MOC_LITERAL(0, 0, 10), // "TM::TMView"
QT_MOC_LITERAL(1, 11, 16), // "refreshRequested"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 19), // "textInsertRequested"
QT_MOC_LITERAL(4, 49, 17), // "fileOpenRequested"
QT_MOC_LITERAL(5, 67, 8), // "filePath"
QT_MOC_LITERAL(6, 76, 3), // "str"
QT_MOC_LITERAL(7, 80, 4), // "ctxt"
QT_MOC_LITERAL(8, 85, 21), // "slotNewEntryDisplayed"
QT_MOC_LITERAL(9, 107, 11), // "DocPosition"
QT_MOC_LITERAL(10, 119, 3), // "pos"
QT_MOC_LITERAL(11, 123, 19), // "slotSuggestionsCame"
QT_MOC_LITERAL(12, 143, 10), // "SelectJob*"
QT_MOC_LITERAL(13, 154, 17), // "slotUseSuggestion"
QT_MOC_LITERAL(14, 172, 14), // "slotFileLoaded"
QT_MOC_LITERAL(15, 187, 3), // "url"
QT_MOC_LITERAL(16, 191, 16), // "displayFromCache"
QT_MOC_LITERAL(17, 208, 18), // "slotBatchTranslate"
QT_MOC_LITERAL(18, 227, 23), // "slotBatchTranslateFuzzy"
QT_MOC_LITERAL(19, 251, 19), // "slotBatchSelectDone"
QT_MOC_LITERAL(20, 271, 20), // "slotCacheSuggestions"
QT_MOC_LITERAL(21, 292, 9), // "initLater"
QT_MOC_LITERAL(22, 302, 11) // "contextMenu"

    },
    "TM::TMView\0refreshRequested\0\0"
    "textInsertRequested\0fileOpenRequested\0"
    "filePath\0str\0ctxt\0slotNewEntryDisplayed\0"
    "DocPosition\0pos\0slotSuggestionsCame\0"
    "SelectJob*\0slotUseSuggestion\0"
    "slotFileLoaded\0url\0displayFromCache\0"
    "slotBatchTranslate\0slotBatchTranslateFuzzy\0"
    "slotBatchSelectDone\0slotCacheSuggestions\0"
    "initLater\0contextMenu"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TM__TMView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   89,    2, 0x06 /* Public */,
       3,    1,   90,    2, 0x06 /* Public */,
       4,    3,   93,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,  100,    2, 0x0a /* Public */,
       8,    0,  103,    2, 0x2a /* Public | MethodCloned */,
      11,    1,  104,    2, 0x0a /* Public */,
      13,    1,  107,    2, 0x0a /* Public */,
      14,    1,  110,    2, 0x0a /* Public */,
      16,    0,  113,    2, 0x0a /* Public */,
      17,    0,  114,    2, 0x0a /* Public */,
      18,    0,  115,    2, 0x0a /* Public */,
      19,    0,  116,    2, 0x08 /* Private */,
      20,    1,  117,    2, 0x08 /* Private */,
      21,    0,  120,    2, 0x08 /* Private */,
      22,    1,  121,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    5,    6,    7,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 12,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 12,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   10,

       0        // eod
};

void TM::TMView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TMView *_t = static_cast<TMView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->refreshRequested(); break;
        case 1: _t->textInsertRequested((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->fileOpenRequested((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 3: _t->slotNewEntryDisplayed((*reinterpret_cast< const DocPosition(*)>(_a[1]))); break;
        case 4: _t->slotNewEntryDisplayed(); break;
        case 5: _t->slotSuggestionsCame((*reinterpret_cast< SelectJob*(*)>(_a[1]))); break;
        case 6: _t->slotUseSuggestion((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->slotFileLoaded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->displayFromCache(); break;
        case 9: _t->slotBatchTranslate(); break;
        case 10: _t->slotBatchTranslateFuzzy(); break;
        case 11: _t->slotBatchSelectDone(); break;
        case 12: _t->slotCacheSuggestions((*reinterpret_cast< SelectJob*(*)>(_a[1]))); break;
        case 13: _t->initLater(); break;
        case 14: _t->contextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DocPosition >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TMView::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TMView::refreshRequested)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TMView::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TMView::textInsertRequested)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TMView::*_t)(const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TMView::fileOpenRequested)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject TM::TMView::staticMetaObject = {
    { &QDockWidget::staticMetaObject, qt_meta_stringdata_TM__TMView.data,
      qt_meta_data_TM__TMView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *TM::TMView::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_TM__TMView.stringdata0))
        return static_cast<void*>(const_cast< TMView*>(this));
    return QDockWidget::qt_metacast(_clname);
}

int TM::TMView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDockWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void TM::TMView::refreshRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void TM::TMView::textInsertRequested(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void TM::TMView::fileOpenRequested(const QString & _t1, const QString & _t2, const QString & _t3)
{
    void *_a[] = { Q_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, 2, _a);
}
struct qt_meta_stringdata_TM__TextBrowser_t {
    QByteArrayData data[3];
    char stringdata0[37];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TM__TextBrowser_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TM__TextBrowser_t qt_meta_stringdata_TM__TextBrowser = {
    {
QT_MOC_LITERAL(0, 0, 15), // "TM::TextBrowser"
QT_MOC_LITERAL(1, 16, 19), // "textInsertRequested"
QT_MOC_LITERAL(2, 36, 0) // ""

    },
    "TM::TextBrowser\0textInsertRequested\0"
    ""
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TM__TextBrowser[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    2,

       0        // eod
};

void TM::TextBrowser::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TextBrowser *_t = static_cast<TextBrowser *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->textInsertRequested((*reinterpret_cast< const QString(*)>(_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 (TextBrowser::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TextBrowser::textInsertRequested)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject TM::TextBrowser::staticMetaObject = {
    { &QTextBrowser::staticMetaObject, qt_meta_stringdata_TM__TextBrowser.data,
      qt_meta_data_TM__TextBrowser,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *TM::TextBrowser::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_TM__TextBrowser.stringdata0))
        return static_cast<void*>(const_cast< TextBrowser*>(this));
    return QTextBrowser::qt_metacast(_clname);
}

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

// SIGNAL 0
void TM::TextBrowser::textInsertRequested(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
