PageRenderTime 28ms CodeModel.GetById 21ms app.highlight 6ms RepoModel.GetById 0ms app.codeStats 0ms

/bin/MainApp/moc_checkproperty.cpp

https://bitbucket.org/flexcomputer/primitive
C++ | 105 lines | 78 code | 15 blank | 12 comment | 10 complexity | c92cb6b8a164039eeda4f1f8a8a10db3 MD5 | raw file
  1/****************************************************************************
  2** Meta object code from reading C++ file 'checkproperty.h'
  3**
  4** Created: Sun Dec 9 16:52:32 2012
  5**      by: The Qt Meta Object Compiler version 63 (Qt 4.8.1)
  6**
  7** WARNING! All changes made in this file will be lost!
  8*****************************************************************************/
  9
 10#include "../../Primitive/MainApp/propwidgets/checkproperty.h"
 11#if !defined(Q_MOC_OUTPUT_REVISION)
 12#error "The header file 'checkproperty.h' doesn't include <QObject>."
 13#elif Q_MOC_OUTPUT_REVISION != 63
 14#error "This file was generated using the moc from 4.8.1. It"
 15#error "cannot be used with the include files from this version of Qt."
 16#error "(The moc has changed too much.)"
 17#endif
 18
 19QT_BEGIN_MOC_NAMESPACE
 20static const uint qt_meta_data_CheckProperty[] = {
 21
 22 // content:
 23       6,       // revision
 24       0,       // classname
 25       0,    0, // classinfo
 26       2,   14, // methods
 27       0,    0, // properties
 28       0,    0, // enums/sets
 29       0,    0, // constructors
 30       0,       // flags
 31       1,       // signalCount
 32
 33 // signals: signature, parameters, type, tag, flags
 34      28,   15,   14,   14, 0x05,
 35
 36 // slots: signature, parameters, type, tag, flags
 37      53,   47,   14,   14, 0x0a,
 38
 39       0        // eod
 40};
 41
 42static const char qt_meta_stringdata_CheckProperty[] = {
 43    "CheckProperty\0\0currentState\0"
 44    "stateChanged(bool)\0state\0stateChangedSlot(int)\0"
 45};
 46
 47void CheckProperty::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
 48{
 49    if (_c == QMetaObject::InvokeMetaMethod) {
 50        Q_ASSERT(staticMetaObject.cast(_o));
 51        CheckProperty *_t = static_cast<CheckProperty *>(_o);
 52        switch (_id) {
 53        case 0: _t->stateChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
 54        case 1: _t->stateChangedSlot((*reinterpret_cast< int(*)>(_a[1]))); break;
 55        default: ;
 56        }
 57    }
 58}
 59
 60const QMetaObjectExtraData CheckProperty::staticMetaObjectExtraData = {
 61    0,  qt_static_metacall 
 62};
 63
 64const QMetaObject CheckProperty::staticMetaObject = {
 65    { &PropertyWidget::staticMetaObject, qt_meta_stringdata_CheckProperty,
 66      qt_meta_data_CheckProperty, &staticMetaObjectExtraData }
 67};
 68
 69#ifdef Q_NO_DATA_RELOCATION
 70const QMetaObject &CheckProperty::getStaticMetaObject() { return staticMetaObject; }
 71#endif //Q_NO_DATA_RELOCATION
 72
 73const QMetaObject *CheckProperty::metaObject() const
 74{
 75    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
 76}
 77
 78void *CheckProperty::qt_metacast(const char *_clname)
 79{
 80    if (!_clname) return 0;
 81    if (!strcmp(_clname, qt_meta_stringdata_CheckProperty))
 82        return static_cast<void*>(const_cast< CheckProperty*>(this));
 83    return PropertyWidget::qt_metacast(_clname);
 84}
 85
 86int CheckProperty::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
 87{
 88    _id = PropertyWidget::qt_metacall(_c, _id, _a);
 89    if (_id < 0)
 90        return _id;
 91    if (_c == QMetaObject::InvokeMetaMethod) {
 92        if (_id < 2)
 93            qt_static_metacall(this, _c, _id, _a);
 94        _id -= 2;
 95    }
 96    return _id;
 97}
 98
 99// SIGNAL 0
100void CheckProperty::stateChanged(bool _t1)
101{
102    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
103    QMetaObject::activate(this, &staticMetaObject, 0, _a);
104}
105QT_END_MOC_NAMESPACE