GNU Octave  4.2.1
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-ToggleTool.cc
Go to the documentation of this file.
1 #if defined (HAVE_CONFIG_H)
2 # include "config.h"
3 #endif
4 /****************************************************************************
5 ** Meta object code from reading C++ file 'ToggleTool.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 
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'ToggleTool.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
22 static const uint qt_meta_data_QtHandles__ToggleTool[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  1, 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  31, 23, 22, 22, 0x08,
37 
38  0 // eod
39 };
40 
42  "QtHandles::ToggleTool\0\0checked\0"
43  "triggered(bool)\0"
44 };
45 
46 void QtHandles::ToggleTool::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
47 {
48  if (_c == QMetaObject::InvokeMetaMethod) {
49  Q_ASSERT(staticMetaObject.cast(_o));
50  ToggleTool *_t = static_cast<ToggleTool *>(_o);
51  switch (_id) {
52  case 0: _t->triggered((*reinterpret_cast< bool(*)>(_a[1]))); break;
53  default: ;
54  }
55  }
56 }
57 
58 const QMetaObjectExtraData QtHandles::ToggleTool::staticMetaObjectExtraData = {
59  0, qt_static_metacall
60 };
61 
62 const QMetaObject QtHandles::ToggleTool::staticMetaObject = {
63  { &ToolBarButton<uitoggletool>::staticMetaObject, qt_meta_stringdata_QtHandles__ToggleTool,
64  qt_meta_data_QtHandles__ToggleTool, &staticMetaObjectExtraData }
65 };
66 
67 #ifdef Q_NO_DATA_RELOCATION
68 const QMetaObject &QtHandles::ToggleTool::getStaticMetaObject() { return staticMetaObject; }
69 #endif //Q_NO_DATA_RELOCATION
70 
71 const QMetaObject *QtHandles::ToggleTool::metaObject() const
72 {
73  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
74 }
75 
76 void *QtHandles::ToggleTool::qt_metacast(const char *_clname)
77 {
78  if (!_clname) return 0;
80  return static_cast<void*>(const_cast< ToggleTool*>(this));
81  return ToolBarButton<uitoggletool>::qt_metacast(_clname);
82 }
83 
84 int QtHandles::ToggleTool::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
85 {
86  _id = ToolBarButton<uitoggletool>::qt_metacall(_c, _id, _a);
87  if (_id < 0)
88  return _id;
89  if (_c == QMetaObject::InvokeMetaMethod) {
90  if (_id < 1)
91  qt_static_metacall(this, _c, _id, _a);
92  _id -= 1;
93  }
94  return _id;
95 }
96 QT_END_MOC_NAMESPACE
static const char qt_meta_stringdata_QtHandles__ToggleTool[]
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_QtHandles__ToggleTool[]
bool strcmp(const T &str_a, const T &str_b)
True if strings are the same.
Definition: oct-string.cc:112
ToggleTool(const graphics_object &go, QAction *action)
Definition: ToggleTool.cc:50