/****************************************************************************
** Meta object code from reading C++ file 'q3scrollview.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/qt-everywhere-opensource-src-4.8.7/src/qt3support/widgets/q3scrollview.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'q3scrollview.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_Q3ScrollView[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      23,   14, // methods
      10,  129, // properties
       2,  159, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: signature, parameters, type, tag, flags
      18,   14,   13,   13, 0x05,
      42,   13,   13,   13, 0x05,
      68,   13,   13,   13, 0x05,
      95,   13,   13,   13, 0x05,
     119,   13,   13,   13, 0x05,

 // slots: signature, parameters, type, tag, flags
     148,  144,   13,   13, 0x0a,
     178,  172,   13,   13, 0x0a,
     196,   14,   13,   13, 0x0a,
     220,   14,   13,   13, 0x0a,
     263,  243,   13,   13, 0x0a,
     294,   14,   13,   13, 0x0a,
     310,  243,   13,   13, 0x0a,
     338,   13,   13,   13, 0x0a,
     364,  357,   13,   13, 0x0a,
     381,   13,   13,   13, 0x08,
     393,   13,   13,   13, 0x08,
     405,   13,   13,   13, 0x08,
     421,   13,   13,   13, 0x08,
     438,   13,   13,   13, 0x08,
     454,   13,   13,   13, 0x08,
     471,   13,   13,   13, 0x08,
     490,   13,   13,   13, 0x08,
     512,   13,   13,   13, 0x08,

 // properties: name, type, flags
     546,  533, 0x0009510b,
     573,  559, 0x0009510b,
     588,  559, 0x0009510b,
     607,  603, 0x02095001,
     620,  603, 0x02095001,
     634,  603, 0x02095001,
     648,  603, 0x02095001,
     663,  603, 0x02095001,
     673,  603, 0x02095001,
     688,  683, 0x01095103,

 // enums: name, flags, count, data
     533, 0x0,    4,  167,
     559, 0x0,    3,  175,

 // enum data: key, value
     703, uint(Q3ScrollView::Default),
     711, uint(Q3ScrollView::Manual),
     718, uint(Q3ScrollView::AutoOne),
     726, uint(Q3ScrollView::AutoOneFit),
     737, uint(Q3ScrollView::Auto),
     742, uint(Q3ScrollView::AlwaysOff),
     752, uint(Q3ScrollView::AlwaysOn),

       0        // eod
};

static const char qt_meta_stringdata_Q3ScrollView[] = {
    "Q3ScrollView\0\0x,y\0contentsMoving(int,int)\0"
    "horizontalSliderPressed()\0"
    "horizontalSliderReleased()\0"
    "verticalSliderPressed()\0"
    "verticalSliderReleased()\0w,h\0"
    "resizeContents(int,int)\0dx,dy\0"
    "scrollBy(int,int)\0setContentsPos(int,int)\0"
    "ensureVisible(int,int)\0x,y,xmargin,ymargin\0"
    "ensureVisible(int,int,int,int)\0"
    "center(int,int)\0center(int,int,float,float)\0"
    "updateScrollBars()\0enable\0setEnabled(bool)\0"
    "hslide(int)\0vslide(int)\0hbarIsPressed()\0"
    "hbarIsReleased()\0vbarIsPressed()\0"
    "vbarIsReleased()\0doDragAutoScroll()\0"
    "startDragAutoScroll()\0stopDragAutoScroll()\0"
    "ResizePolicy\0resizePolicy\0ScrollBarMode\0"
    "vScrollBarMode\0hScrollBarMode\0int\0"
    "visibleWidth\0visibleHeight\0contentsWidth\0"
    "contentsHeight\0contentsX\0contentsY\0"
    "bool\0dragAutoScroll\0Default\0Manual\0"
    "AutoOne\0AutoOneFit\0Auto\0AlwaysOff\0"
    "AlwaysOn\0"
};

void Q3ScrollView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Q3ScrollView *_t = static_cast<Q3ScrollView *>(_o);
        switch (_id) {
        case 0: _t->contentsMoving((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->horizontalSliderPressed(); break;
        case 2: _t->horizontalSliderReleased(); break;
        case 3: _t->verticalSliderPressed(); break;
        case 4: _t->verticalSliderReleased(); break;
        case 5: _t->resizeContents((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->scrollBy((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->setContentsPos((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 8: _t->ensureVisible((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 9: _t->ensureVisible((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 10: _t->center((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 11: _t->center((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< float(*)>(_a[3])),(*reinterpret_cast< float(*)>(_a[4]))); break;
        case 12: _t->updateScrollBars(); break;
        case 13: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->hslide((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->vslide((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->hbarIsPressed(); break;
        case 17: _t->hbarIsReleased(); break;
        case 18: _t->vbarIsPressed(); break;
        case 19: _t->vbarIsReleased(); break;
        case 20: _t->doDragAutoScroll(); break;
        case 21: _t->startDragAutoScroll(); break;
        case 22: _t->stopDragAutoScroll(); break;
        default: ;
        }
    }
}

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

const QMetaObject Q3ScrollView::staticMetaObject = {
    { &Q3Frame::staticMetaObject, qt_meta_stringdata_Q3ScrollView,
      qt_meta_data_Q3ScrollView, &staticMetaObjectExtraData }
};

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

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

void *Q3ScrollView::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Q3ScrollView))
        return static_cast<void*>(const_cast< Q3ScrollView*>(this));
    return Q3Frame::qt_metacast(_clname);
}

int Q3ScrollView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Q3Frame::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< ResizePolicy*>(_v) = resizePolicy(); break;
        case 1: *reinterpret_cast< ScrollBarMode*>(_v) = vScrollBarMode(); break;
        case 2: *reinterpret_cast< ScrollBarMode*>(_v) = hScrollBarMode(); break;
        case 3: *reinterpret_cast< int*>(_v) = visibleWidth(); break;
        case 4: *reinterpret_cast< int*>(_v) = visibleHeight(); break;
        case 5: *reinterpret_cast< int*>(_v) = contentsWidth(); break;
        case 6: *reinterpret_cast< int*>(_v) = contentsHeight(); break;
        case 7: *reinterpret_cast< int*>(_v) = contentsX(); break;
        case 8: *reinterpret_cast< int*>(_v) = contentsY(); break;
        case 9: *reinterpret_cast< bool*>(_v) = dragAutoScroll(); break;
        }
        _id -= 10;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setResizePolicy(*reinterpret_cast< ResizePolicy*>(_v)); break;
        case 1: setVScrollBarMode(*reinterpret_cast< ScrollBarMode*>(_v)); break;
        case 2: setHScrollBarMode(*reinterpret_cast< ScrollBarMode*>(_v)); break;
        case 9: setDragAutoScroll(*reinterpret_cast< bool*>(_v)); break;
        }
        _id -= 10;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 10;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Q3ScrollView::contentsMoving(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, 0, _a);
}

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

// SIGNAL 2
void Q3ScrollView::horizontalSliderReleased()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}

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

// SIGNAL 4
void Q3ScrollView::verticalSliderReleased()
{
    QMetaObject::activate(this, &staticMetaObject, 4, 0);
}
QT_END_MOC_NAMESPACE
