GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
moc-ButtonControl.cc
Go to the documentation of this file.
1 #ifdef HAVE_CONFIG_H
2 #include <config.h>
3 #endif
4 /****************************************************************************
5 ** Meta object code from reading C++ file 'ButtonControl.h'
6 **
7 ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
8 **
9 ** WARNING! All changes made in this file will be lost!
10 *****************************************************************************/
11 
12 #include "graphics/ButtonControl.h"
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'ButtonControl.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 63
16 #error "This file was generated using the moc from 4.8.6. It"
17 #error "cannot be used with the include files from this version of Qt."
18 #error "(The moc has changed too much.)"
19 #endif
20 
21 QT_BEGIN_MOC_NAMESPACE
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  2, 14, // methods
29  0, 0, // properties
30  0, 0, // enums/sets
31  0, 0, // constructors
32  0, // flags
33  0, // signalCount
34 
35  // slots: signature, parameters, type, tag, flags
36  26, 25, 25, 25, 0x08,
37  44, 36, 25, 25, 0x08,
38 
39  0 // eod
40 };
41 
43  "QtHandles::ButtonControl\0\0clicked()\0"
44  "checked\0toggled(bool)\0"
45 };
46 
47 void QtHandles::ButtonControl::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  ButtonControl *_t = static_cast<ButtonControl *>(_o);
52  switch (_id) {
53  case 0: _t->clicked(); break;
54  case 1: _t->toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
55  default: ;
56  }
57  }
58 }
59 
60 const QMetaObjectExtraData QtHandles::ButtonControl::staticMetaObjectExtraData = {
61  0, qt_static_metacall
62 };
63 
64 const QMetaObject QtHandles::ButtonControl::staticMetaObject = {
65  { &BaseControl::staticMetaObject, qt_meta_stringdata_QtHandles__ButtonControl,
66  qt_meta_data_QtHandles__ButtonControl, &staticMetaObjectExtraData }
67 };
68 
69 #ifdef Q_NO_DATA_RELOCATION
70 const QMetaObject &QtHandles::ButtonControl::getStaticMetaObject() { return staticMetaObject; }
71 #endif //Q_NO_DATA_RELOCATION
72 
73 const QMetaObject *QtHandles::ButtonControl::metaObject() const
74 {
75  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
76 }
77 
78 void *QtHandles::ButtonControl::qt_metacast(const char *_clname)
79 {
80  if (!_clname) return 0;
81  if (!strcmp(_clname, qt_meta_stringdata_QtHandles__ButtonControl))
82  return static_cast<void*>(const_cast< ButtonControl*>(this));
83  return BaseControl::qt_metacast(_clname);
84 }
85 
86 int QtHandles::ButtonControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
87 {
88  _id = BaseControl::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 QT_END_MOC_NAMESPACE
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_QtHandles__ButtonControl[]
static const char qt_meta_stringdata_QtHandles__ButtonControl[]
ButtonControl(const graphics_object &go, QAbstractButton *btn)