/****************************************************************************
** Meta object code from reading C++ file 'thumbnailitem.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/kde-workspace-4.11.21/kwin/thumbnailitem.h"
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'thumbnailitem.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_KWin__AbstractThumbnailItem[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       4,   59, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: signature, parameters, type, tag, flags
      37,   29,   28,   28, 0x05,
      55,   28,   28,   28, 0x05,
      75,   28,   28,   28, 0x05,

 // slots: signature, parameters, type, tag, flags
     106,   95,   28,   28, 0x0a,
     138,  127,   28,   28, 0x0a,
     161,  159,   28,   28, 0x09,
     190,   28,   28,   28, 0x08,
     197,   28,   28,   28, 0x08,
     217,   28,   28,   28, 0x08,

 // properties: name, type, flags
     243,  238, 0x01495103,
     259,  248, 0x05095103,
      95,  272, ((uint)QMetaType::QReal << 24) | 0x00495103,
     127,  272, ((uint)QMetaType::QReal << 24) | 0x00495103,

 // properties: notify_signal_id
       0,
       0,
       1,
       2,

       0        // eod
};

static const char qt_meta_stringdata_KWin__AbstractThumbnailItem[] = {
    "KWin::AbstractThumbnailItem\0\0clipped\0"
    "clipChanged(bool)\0brightnessChanged()\0"
    "saturationChanged()\0brightness\0"
    "setBrightness(qreal)\0saturation\0"
    "setSaturation(qreal)\0w\0"
    "repaint(KWin::EffectWindow*)\0init()\0"
    "effectWindowAdded()\0compositingToggled()\0"
    "bool\0clip\0qulonglong\0parentWindow\0"
    "qreal\0"
};

void KWin::AbstractThumbnailItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        AbstractThumbnailItem *_t = static_cast<AbstractThumbnailItem *>(_o);
        switch (_id) {
        case 0: _t->clipChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->brightnessChanged(); break;
        case 2: _t->saturationChanged(); break;
        case 3: _t->setBrightness((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 4: _t->setSaturation((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 5: _t->repaint((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        case 6: _t->init(); break;
        case 7: _t->effectWindowAdded(); break;
        case 8: _t->compositingToggled(); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData KWin::AbstractThumbnailItem::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KWin::AbstractThumbnailItem::staticMetaObject = {
    { &QDeclarativeItem::staticMetaObject, qt_meta_stringdata_KWin__AbstractThumbnailItem,
      qt_meta_data_KWin__AbstractThumbnailItem, &staticMetaObjectExtraData }
};

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

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

void *KWin::AbstractThumbnailItem::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__AbstractThumbnailItem))
        return static_cast<void*>(const_cast< AbstractThumbnailItem*>(this));
    return QDeclarativeItem::qt_metacast(_clname);
}

int KWin::AbstractThumbnailItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDeclarativeItem::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = isClip(); break;
        case 1: *reinterpret_cast< qulonglong*>(_v) = parentWindow(); break;
        case 2: *reinterpret_cast< qreal*>(_v) = brightness(); break;
        case 3: *reinterpret_cast< qreal*>(_v) = saturation(); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setClip(*reinterpret_cast< bool*>(_v)); break;
        case 1: setParentWindow(*reinterpret_cast< qulonglong*>(_v)); break;
        case 2: setBrightness(*reinterpret_cast< qreal*>(_v)); break;
        case 3: setSaturation(*reinterpret_cast< qreal*>(_v)); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KWin::AbstractThumbnailItem::clipChanged(bool _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KWin::AbstractThumbnailItem::brightnessChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void KWin::AbstractThumbnailItem::saturationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}
static const uint qt_meta_data_KWin__WindowThumbnailItem[] = {

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

 // signals: signature, parameters, type, tag, flags
      31,   27,   26,   26, 0x05,
      54,   26,   26,   26, 0x05,

 // slots: signature, parameters, type, tag, flags
      72,   70,   26,   26, 0x09,

 // properties: name, type, flags
     112,  101, 0x05495103,
     130,  116, 0x0049510b,

 // properties: notify_signal_id
       0,
       1,

       0        // eod
};

static const char qt_meta_stringdata_KWin__WindowThumbnailItem[] = {
    "KWin::WindowThumbnailItem\0\0wid\0"
    "wIdChanged(qulonglong)\0clientChanged()\0"
    "w\0repaint(KWin::EffectWindow*)\0"
    "qulonglong\0wId\0KWin::Client*\0client\0"
};

void KWin::WindowThumbnailItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        WindowThumbnailItem *_t = static_cast<WindowThumbnailItem *>(_o);
        switch (_id) {
        case 0: _t->wIdChanged((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 1: _t->clientChanged(); break;
        case 2: _t->repaint((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData KWin::WindowThumbnailItem::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KWin::WindowThumbnailItem::staticMetaObject = {
    { &AbstractThumbnailItem::staticMetaObject, qt_meta_stringdata_KWin__WindowThumbnailItem,
      qt_meta_data_KWin__WindowThumbnailItem, &staticMetaObjectExtraData }
};

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

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

void *KWin::WindowThumbnailItem::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__WindowThumbnailItem))
        return static_cast<void*>(const_cast< WindowThumbnailItem*>(this));
    return AbstractThumbnailItem::qt_metacast(_clname);
}

int KWin::WindowThumbnailItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractThumbnailItem::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;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< qulonglong*>(_v) = wId(); break;
        case 1: *reinterpret_cast< KWin::Client**>(_v) = client(); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setWId(*reinterpret_cast< qulonglong*>(_v)); break;
        case 1: setClient(*reinterpret_cast< KWin::Client**>(_v)); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KWin::WindowThumbnailItem::wIdChanged(qulonglong _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KWin::WindowThumbnailItem::clientChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}
static const uint qt_meta_data_KWin__DesktopThumbnailItem[] = {

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

 // signals: signature, parameters, type, tag, flags
      36,   28,   27,   27, 0x05,

 // slots: signature, parameters, type, tag, flags
      58,   56,   27,   27, 0x09,

 // properties: name, type, flags
      28,   87, 0x02495103,

 // properties: notify_signal_id
       0,

       0        // eod
};

static const char qt_meta_stringdata_KWin__DesktopThumbnailItem[] = {
    "KWin::DesktopThumbnailItem\0\0desktop\0"
    "desktopChanged(int)\0w\0"
    "repaint(KWin::EffectWindow*)\0int\0"
};

void KWin::DesktopThumbnailItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        DesktopThumbnailItem *_t = static_cast<DesktopThumbnailItem *>(_o);
        switch (_id) {
        case 0: _t->desktopChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->repaint((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData KWin::DesktopThumbnailItem::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KWin::DesktopThumbnailItem::staticMetaObject = {
    { &AbstractThumbnailItem::staticMetaObject, qt_meta_stringdata_KWin__DesktopThumbnailItem,
      qt_meta_data_KWin__DesktopThumbnailItem, &staticMetaObjectExtraData }
};

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

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

void *KWin::DesktopThumbnailItem::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__DesktopThumbnailItem))
        return static_cast<void*>(const_cast< DesktopThumbnailItem*>(this));
    return AbstractThumbnailItem::qt_metacast(_clname);
}

int KWin::DesktopThumbnailItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractThumbnailItem::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;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = desktop(); break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setDesktop(*reinterpret_cast< int*>(_v)); break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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