/****************************************************************************
** Meta object code from reading C++ file 'konqtabs.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/konqueror-17.12.3/src/konqtabs.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'konqtabs.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_KonqFrameTabs_t {
    QByteArrayData data[25];
    char stringdata0[322];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KonqFrameTabs_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KonqFrameTabs_t qt_meta_stringdata_KonqFrameTabs = {
    {
QT_MOC_LITERAL(0, 0, 13), // "KonqFrameTabs"
QT_MOC_LITERAL(1, 14, 14), // "removeTabPopup"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 7), // "openUrl"
QT_MOC_LITERAL(4, 38, 9), // "KonqView*"
QT_MOC_LITERAL(5, 48, 4), // "view"
QT_MOC_LITERAL(6, 53, 3), // "url"
QT_MOC_LITERAL(7, 57, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(8, 76, 5), // "index"
QT_MOC_LITERAL(9, 82, 19), // "setAlwaysTabbedMode"
QT_MOC_LITERAL(10, 102, 15), // "slotContextMenu"
QT_MOC_LITERAL(11, 118, 8), // "QWidget*"
QT_MOC_LITERAL(12, 127, 16), // "slotCloseRequest"
QT_MOC_LITERAL(13, 144, 12), // "slotMovedTab"
QT_MOC_LITERAL(14, 157, 20), // "slotMouseMiddleClick"
QT_MOC_LITERAL(15, 178, 17), // "slotTestCanDecode"
QT_MOC_LITERAL(16, 196, 21), // "const QDragMoveEvent*"
QT_MOC_LITERAL(17, 218, 1), // "e"
QT_MOC_LITERAL(18, 220, 5), // "bool&"
QT_MOC_LITERAL(19, 226, 6), // "accept"
QT_MOC_LITERAL(20, 233, 21), // "slotReceivedDropEvent"
QT_MOC_LITERAL(21, 255, 11), // "QDropEvent*"
QT_MOC_LITERAL(22, 267, 16), // "slotInitiateDrag"
QT_MOC_LITERAL(23, 284, 28), // "slotSubPopupMenuTabActivated"
QT_MOC_LITERAL(24, 313, 8) // "QAction*"

    },
    "KonqFrameTabs\0removeTabPopup\0\0openUrl\0"
    "KonqView*\0view\0url\0slotCurrentChanged\0"
    "index\0setAlwaysTabbedMode\0slotContextMenu\0"
    "QWidget*\0slotCloseRequest\0slotMovedTab\0"
    "slotMouseMiddleClick\0slotTestCanDecode\0"
    "const QDragMoveEvent*\0e\0bool&\0accept\0"
    "slotReceivedDropEvent\0QDropEvent*\0"
    "slotInitiateDrag\0slotSubPopupMenuTabActivated\0"
    "QAction*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KonqFrameTabs[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       7,    1,   95,    2, 0x0a /* Public */,
       9,    1,   98,    2, 0x0a /* Public */,
      10,    1,  101,    2, 0x08 /* Private */,
      10,    2,  104,    2, 0x08 /* Private */,
      12,    1,  109,    2, 0x08 /* Private */,
      13,    2,  112,    2, 0x08 /* Private */,
      14,    0,  117,    2, 0x08 /* Private */,
      14,    1,  118,    2, 0x08 /* Private */,
      15,    2,  121,    2, 0x08 /* Private */,
      20,    1,  126,    2, 0x08 /* Private */,
      22,    1,  129,    2, 0x08 /* Private */,
      20,    2,  132,    2, 0x08 /* Private */,
      23,    1,  137,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4, QMetaType::QUrl,    5,    6,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QPoint,    2,
    QMetaType::Void, 0x80000000 | 11, QMetaType::QPoint,    2,    2,
    QMetaType::Void, 0x80000000 | 11,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,    2,
    QMetaType::Void, 0x80000000 | 16, 0x80000000 | 18,   17,   19,
    QMetaType::Void, 0x80000000 | 21,    2,
    QMetaType::Void, 0x80000000 | 11,    2,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 21,    2,    2,
    QMetaType::Void, 0x80000000 | 24,    2,

       0        // eod
};

void KonqFrameTabs::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KonqFrameTabs *_t = static_cast<KonqFrameTabs *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->removeTabPopup(); break;
        case 1: _t->openUrl((*reinterpret_cast< KonqView*(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;
        case 2: _t->slotCurrentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->setAlwaysTabbedMode((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->slotContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 5: _t->slotContextMenu((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 6: _t->slotCloseRequest((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 7: _t->slotMovedTab((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 8: _t->slotMouseMiddleClick(); break;
        case 9: _t->slotMouseMiddleClick((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 10: _t->slotTestCanDecode((*reinterpret_cast< const QDragMoveEvent*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 11: _t->slotReceivedDropEvent((*reinterpret_cast< QDropEvent*(*)>(_a[1]))); break;
        case 12: _t->slotInitiateDrag((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 13: _t->slotReceivedDropEvent((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< QDropEvent*(*)>(_a[2]))); break;
        case 14: _t->slotSubPopupMenuTabActivated((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KonqFrameTabs::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KonqFrameTabs::removeTabPopup)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KonqFrameTabs::*_t)(KonqView * , const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KonqFrameTabs::openUrl)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KonqFrameTabs::staticMetaObject = {
    { &KTabWidget::staticMetaObject, qt_meta_stringdata_KonqFrameTabs.data,
      qt_meta_data_KonqFrameTabs,  qt_static_metacall, nullptr, nullptr}
};


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

void *KonqFrameTabs::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KonqFrameTabs.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "KonqFrameContainerBase"))
        return static_cast< KonqFrameContainerBase*>(this);
    return KTabWidget::qt_metacast(_clname);
}

int KonqFrameTabs::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KTabWidget::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 KonqFrameTabs::removeTabPopup()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KonqFrameTabs::openUrl(KonqView * _t1, const QUrl & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
struct qt_meta_stringdata_NewTabToolButton_t {
    QByteArrayData data[9];
    char stringdata0[103];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_NewTabToolButton_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_NewTabToolButton_t qt_meta_stringdata_NewTabToolButton = {
    {
QT_MOC_LITERAL(0, 0, 16), // "NewTabToolButton"
QT_MOC_LITERAL(1, 17, 13), // "testCanDecode"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 21), // "const QDragMoveEvent*"
QT_MOC_LITERAL(4, 54, 5), // "event"
QT_MOC_LITERAL(5, 60, 5), // "bool&"
QT_MOC_LITERAL(6, 66, 6), // "accept"
QT_MOC_LITERAL(7, 73, 17), // "receivedDropEvent"
QT_MOC_LITERAL(8, 91, 11) // "QDropEvent*"

    },
    "NewTabToolButton\0testCanDecode\0\0"
    "const QDragMoveEvent*\0event\0bool&\0"
    "accept\0receivedDropEvent\0QDropEvent*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_NewTabToolButton[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   24,    2, 0x06 /* Public */,
       7,    1,   29,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, 0x80000000 | 8,    4,

       0        // eod
};

void NewTabToolButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        NewTabToolButton *_t = static_cast<NewTabToolButton *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->testCanDecode((*reinterpret_cast< const QDragMoveEvent*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 1: _t->receivedDropEvent((*reinterpret_cast< QDropEvent*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (NewTabToolButton::*_t)(const QDragMoveEvent * , bool & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NewTabToolButton::testCanDecode)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (NewTabToolButton::*_t)(QDropEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NewTabToolButton::receivedDropEvent)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject NewTabToolButton::staticMetaObject = {
    { &QToolButton::staticMetaObject, qt_meta_stringdata_NewTabToolButton.data,
      qt_meta_data_NewTabToolButton,  qt_static_metacall, nullptr, nullptr}
};


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

void *NewTabToolButton::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_NewTabToolButton.stringdata0))
        return static_cast<void*>(this);
    return QToolButton::qt_metacast(_clname);
}

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

// SIGNAL 0
void NewTabToolButton::testCanDecode(const QDragMoveEvent * _t1, bool & _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 NewTabToolButton::receivedDropEvent(QDropEvent * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
