/****************************************************************************
** Meta object code from reading C++ file 'streamspage.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/cantata-2.0.1/streams/streamspage.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'streamspage.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_StreamsBrowsePage_t {
    QByteArrayData data[30];
    char stringdata0[339];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_StreamsBrowsePage_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_StreamsBrowsePage_t qt_meta_stringdata_StreamsBrowsePage = {
    {
QT_MOC_LITERAL(0, 0, 17), // "StreamsBrowsePage"
QT_MOC_LITERAL(1, 18, 5), // "error"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 3), // "str"
QT_MOC_LITERAL(4, 29, 19), // "showPreferencesPage"
QT_MOC_LITERAL(5, 49, 4), // "page"
QT_MOC_LITERAL(6, 54, 16), // "searchForStreams"
QT_MOC_LITERAL(7, 71, 11), // "removeItems"
QT_MOC_LITERAL(8, 83, 14), // "controlActions"
QT_MOC_LITERAL(9, 98, 15), // "addToFavourites"
QT_MOC_LITERAL(10, 114, 17), // "QList<StreamItem>"
QT_MOC_LITERAL(11, 132, 5), // "items"
QT_MOC_LITERAL(12, 138, 9), // "configure"
QT_MOC_LITERAL(13, 148, 11), // "configureDi"
QT_MOC_LITERAL(14, 160, 10), // "diSettings"
QT_MOC_LITERAL(15, 171, 9), // "importXml"
QT_MOC_LITERAL(16, 181, 9), // "exportXml"
QT_MOC_LITERAL(17, 191, 9), // "addStream"
QT_MOC_LITERAL(18, 201, 11), // "addBookmark"
QT_MOC_LITERAL(19, 213, 6), // "reload"
QT_MOC_LITERAL(20, 220, 4), // "edit"
QT_MOC_LITERAL(21, 225, 17), // "itemDoubleClicked"
QT_MOC_LITERAL(22, 243, 5), // "index"
QT_MOC_LITERAL(23, 249, 14), // "updateDiStatus"
QT_MOC_LITERAL(24, 264, 16), // "expandFavourites"
QT_MOC_LITERAL(25, 281, 17), // "addedToFavourites"
QT_MOC_LITERAL(26, 299, 4), // "name"
QT_MOC_LITERAL(27, 304, 14), // "tuneInResolved"
QT_MOC_LITERAL(28, 319, 13), // "headerClicked"
QT_MOC_LITERAL(29, 333, 5) // "level"

    },
    "StreamsBrowsePage\0error\0\0str\0"
    "showPreferencesPage\0page\0searchForStreams\0"
    "removeItems\0controlActions\0addToFavourites\0"
    "QList<StreamItem>\0items\0configure\0"
    "configureDi\0diSettings\0importXml\0"
    "exportXml\0addStream\0addBookmark\0reload\0"
    "edit\0itemDoubleClicked\0index\0"
    "updateDiStatus\0expandFavourites\0"
    "addedToFavourites\0name\0tuneInResolved\0"
    "headerClicked\0level"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_StreamsBrowsePage[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  119,    2, 0x06 /* Public */,
       4,    1,  122,    2, 0x06 /* Public */,
       6,    0,  125,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,  126,    2, 0x0a /* Public */,
       8,    0,  127,    2, 0x0a /* Public */,
       9,    1,  128,    2, 0x0a /* Public */,
      12,    0,  131,    2, 0x08 /* Private */,
      13,    0,  132,    2, 0x08 /* Private */,
      14,    0,  133,    2, 0x08 /* Private */,
      15,    0,  134,    2, 0x08 /* Private */,
      16,    0,  135,    2, 0x08 /* Private */,
      17,    0,  136,    2, 0x08 /* Private */,
      18,    0,  137,    2, 0x08 /* Private */,
      19,    0,  138,    2, 0x08 /* Private */,
      20,    0,  139,    2, 0x08 /* Private */,
      21,    1,  140,    2, 0x08 /* Private */,
      23,    0,  143,    2, 0x08 /* Private */,
      24,    0,  144,    2, 0x08 /* Private */,
      25,    1,  145,    2, 0x08 /* Private */,
      27,    0,  148,    2, 0x08 /* Private */,
      28,    1,  149,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   26,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   29,

       0        // eod
};

void StreamsBrowsePage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        StreamsBrowsePage *_t = static_cast<StreamsBrowsePage *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->error((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->showPreferencesPage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->searchForStreams(); break;
        case 3: _t->removeItems(); break;
        case 4: _t->controlActions(); break;
        case 5: _t->addToFavourites((*reinterpret_cast< const QList<StreamItem>(*)>(_a[1]))); break;
        case 6: _t->configure(); break;
        case 7: _t->configureDi(); break;
        case 8: _t->diSettings(); break;
        case 9: _t->importXml(); break;
        case 10: _t->exportXml(); break;
        case 11: _t->addStream(); break;
        case 12: _t->addBookmark(); break;
        case 13: _t->reload(); break;
        case 14: _t->edit(); break;
        case 15: _t->itemDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 16: _t->updateDiStatus(); break;
        case 17: _t->expandFavourites(); break;
        case 18: _t->addedToFavourites((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->tuneInResolved(); break;
        case 20: _t->headerClicked((*reinterpret_cast< int(*)>(_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 (StreamsBrowsePage::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamsBrowsePage::error)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (StreamsBrowsePage::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamsBrowsePage::showPreferencesPage)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (StreamsBrowsePage::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamsBrowsePage::searchForStreams)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject StreamsBrowsePage::staticMetaObject = {
    { &SinglePageWidget::staticMetaObject, qt_meta_stringdata_StreamsBrowsePage.data,
      qt_meta_data_StreamsBrowsePage,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

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

// SIGNAL 2
void StreamsBrowsePage::searchForStreams()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}
struct qt_meta_stringdata_StreamSearchPage_t {
    QByteArrayData data[9];
    char stringdata0[101];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_StreamSearchPage_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_StreamSearchPage_t qt_meta_stringdata_StreamSearchPage = {
    {
QT_MOC_LITERAL(0, 0, 16), // "StreamSearchPage"
QT_MOC_LITERAL(1, 17, 15), // "addToFavourites"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 17), // "QList<StreamItem>"
QT_MOC_LITERAL(4, 52, 5), // "items"
QT_MOC_LITERAL(5, 58, 13), // "headerClicked"
QT_MOC_LITERAL(6, 72, 5), // "level"
QT_MOC_LITERAL(7, 78, 17), // "addedToFavourites"
QT_MOC_LITERAL(8, 96, 4) // "name"

    },
    "StreamSearchPage\0addToFavourites\0\0"
    "QList<StreamItem>\0items\0headerClicked\0"
    "level\0addedToFavourites\0name"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_StreamSearchPage[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       5,    1,   32,    2, 0x08 /* Private */,
       7,    1,   35,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::QString,    8,

       0        // eod
};

void StreamSearchPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        StreamSearchPage *_t = static_cast<StreamSearchPage *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->addToFavourites((*reinterpret_cast< const QList<StreamItem>(*)>(_a[1]))); break;
        case 1: _t->headerClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->addedToFavourites((*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 (StreamSearchPage::*_t)(const QList<StreamItem> & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamSearchPage::addToFavourites)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject StreamSearchPage::staticMetaObject = {
    { &SinglePageWidget::staticMetaObject, qt_meta_stringdata_StreamSearchPage.data,
      qt_meta_data_StreamSearchPage,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void StreamSearchPage::addToFavourites(const QList<StreamItem> & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_StreamsPage_t {
    QByteArrayData data[5];
    char stringdata0[58];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_StreamsPage_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_StreamsPage_t qt_meta_stringdata_StreamsPage = {
    {
QT_MOC_LITERAL(0, 0, 11), // "StreamsPage"
QT_MOC_LITERAL(1, 12, 16), // "searchForStreams"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 11), // "closeSearch"
QT_MOC_LITERAL(4, 42, 15) // "addToFavourites"

    },
    "StreamsPage\0searchForStreams\0\0closeSearch\0"
    "addToFavourites"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_StreamsPage[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   29,    2, 0x08 /* Private */,
       3,    0,   30,    2, 0x08 /* Private */,
       4,    0,   31,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void StreamsPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        StreamsPage *_t = static_cast<StreamsPage *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->searchForStreams(); break;
        case 1: _t->closeSearch(); break;
        case 2: _t->addToFavourites(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject StreamsPage::staticMetaObject = {
    { &StackedPageWidget::staticMetaObject, qt_meta_stringdata_StreamsPage.data,
      qt_meta_data_StreamsPage,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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