/****************************************************************************
** Meta object code from reading C++ file 'KPrViewAdaptor.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.7)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../src/calligra-2.9.11/stage/part/KPrViewAdaptor.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KPrViewAdaptor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_KPrViewAdaptor[] = {

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

 // classinfo: key, value
      50,   15,

 // signals: signature, parameters, type, tag, flags
      83,   67,   66,   66, 0x05,
     121,   66,   66,   66, 0x05,
     158,  148,   66,   66, 0x05,
     183,   66,   66,   66, 0x05,
     222,  205,   66,   66, 0x05,
     260,  255,   66,   66, 0x05,

 // slots: signature, parameters, type, tag, flags
     301,   66,  289,   66, 0x0a,
     328,   66,  320,   66, 0x0a,
     362,  357,  352,   66, 0x0a,
     400,   66,  396,   66, 0x0a,
     432,  427,  320,   66, 0x0a,
     458,  446,  320,   66, 0x0a,
     523,  481,  352,   66, 0x0a,
     576,   66,   66,   66, 0x0a,
     596,   66,   66,   66, 0x0a,
     625,   66,   66,   66, 0x0a,
     644,   66,   66,   66, 0x0a,
     663,   66,   66,   66, 0x0a,
     682,   66,   66,   66, 0x0a,
     706,   66,   66,   66, 0x0a,
     730,   66,   66,   66, 0x0a,
     750,   66,   66,   66, 0x0a,
     772,  769,   66,   66, 0x0a,
     798,   66,  352,   66, 0x0a,
     822,   66,  396,   66, 0x0a,
     848,   66,  396,   66, 0x0a,
     874,   66,  396,   66, 0x0a,
     903,   66,  396,   66, 0x0a,
     926,   66,   66,   66, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_KPrViewAdaptor[] = {
    "KPrViewAdaptor\0org.kde.calligra.presentation.view\0"
    "D-Bus Interface\0\0customSlideShow\0"
    "activeCustomSlideShowChanged(QString)\0"
    "customSlideShowsModified()\0numSlides\0"
    "presentationStarted(int)\0presentationStopped()\0"
    "page,stepsInPage\0presentationPageChanged(int,int)\0"
    "step\0presentationStepChanged(int)\0"
    "QStringList\0customSlideShows()\0QString\0"
    "activeCustomSlideShow()\0bool\0name\0"
    "setActiveCustomSlideShow(QString)\0int\0"
    "numCustomSlideShowSlides()\0page\0"
    "pageName(int)\0page,format\0"
    "pageNotes(int,QString)\0"
    "page,width,height,filename,format,quality\0"
    "exportPageThumbnail(int,int,int,QString,QString,int)\0"
    "presentationStart()\0presentationStartFromFirst()\0"
    "presentationStop()\0presentationPrev()\0"
    "presentationNext()\0presentationPrevSlide()\0"
    "presentationNextSlide()\0presentationFirst()\0"
    "presentationLast()\0pg\0gotoPresentationPage(int)\0"
    "isPresentationRunning()\0"
    "currentPresentationPage()\0"
    "currentPresentationStep()\0"
    "numStepsInPresentationPage()\0"
    "numPresentationPages()\0presentationActivated()\0"
};

void KPrViewAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        KPrViewAdaptor *_t = static_cast<KPrViewAdaptor *>(_o);
        switch (_id) {
        case 0: _t->activeCustomSlideShowChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->customSlideShowsModified(); break;
        case 2: _t->presentationStarted((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->presentationStopped(); break;
        case 4: _t->presentationPageChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->presentationStepChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: { QStringList _r = _t->customSlideShows();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 7: { QString _r = _t->activeCustomSlideShow();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 8: { bool _r = _t->setActiveCustomSlideShow((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 9: { int _r = _t->numCustomSlideShowSlides();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 10: { QString _r = _t->pageName((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 11: { QString _r = _t->pageNotes((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 12: { bool _r = _t->exportPageThumbnail((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5])),(*reinterpret_cast< int(*)>(_a[6])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 13: _t->presentationStart(); break;
        case 14: _t->presentationStartFromFirst(); break;
        case 15: _t->presentationStop(); break;
        case 16: _t->presentationPrev(); break;
        case 17: _t->presentationNext(); break;
        case 18: _t->presentationPrevSlide(); break;
        case 19: _t->presentationNextSlide(); break;
        case 20: _t->presentationFirst(); break;
        case 21: _t->presentationLast(); break;
        case 22: _t->gotoPresentationPage((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 23: { bool _r = _t->isPresentationRunning();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 24: { int _r = _t->currentPresentationPage();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 25: { int _r = _t->currentPresentationStep();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 26: { int _r = _t->numStepsInPresentationPage();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 27: { int _r = _t->numPresentationPages();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 28: _t->presentationActivated(); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData KPrViewAdaptor::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KPrViewAdaptor::staticMetaObject = {
    { &KoViewAdaptor::staticMetaObject, qt_meta_stringdata_KPrViewAdaptor,
      qt_meta_data_KPrViewAdaptor, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KPrViewAdaptor::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KPrViewAdaptor::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KPrViewAdaptor))
        return static_cast<void*>(const_cast< KPrViewAdaptor*>(this));
    return KoViewAdaptor::qt_metacast(_clname);
}

int KPrViewAdaptor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KoViewAdaptor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    }
    return _id;
}

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

// SIGNAL 1
void KPrViewAdaptor::customSlideShowsModified()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void KPrViewAdaptor::presentationStarted(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KPrViewAdaptor::presentationStopped()
{
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
}

// SIGNAL 4
void KPrViewAdaptor::presentationPageChanged(int _t1, int _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KPrViewAdaptor::presentationStepChanged(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_END_MOC_NAMESPACE
