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-Figure.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 'Figure.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/Figure.h"
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'Figure.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__Figure[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  14, 14, // methods
29  0, 0, // properties
30  0, 0, // enums/sets
31  0, 0, // constructors
32  0, // flags
33  1, // signalCount
34 
35  // signals: signature, parameters, type, tag, flags
36  19, 18, 18, 18, 0x05,
37 
38  // slots: signature, parameters, type, tag, flags
39  38, 33, 18, 18, 0x08,
40  69, 62, 18, 18, 0x08,
41  90, 18, 18, 18, 0x28,
42  107, 18, 18, 18, 0x08,
43  126, 18, 18, 18, 0x08,
44  158, 144, 18, 18, 0x08,
45  173, 18, 18, 18, 0x28,
46  184, 18, 18, 18, 0x08,
47  205, 18, 18, 18, 0x08,
48  221, 18, 18, 18, 0x08,
49  239, 18, 18, 18, 0x08,
50  252, 18, 18, 18, 0x08,
51  265, 18, 18, 18, 0x08,
52 
53  0 // eod
54 };
55 
56 static const char qt_meta_stringdata_QtHandles__Figure[] = {
57  "QtHandles::Figure\0\0asyncUpdate()\0mode\0"
58  "setMouseMode(MouseMode)\0prompt\0"
59  "fileSaveFigure(bool)\0fileSaveFigure()\0"
60  "fileSaveFigureAs()\0fileCloseFigure()\0"
61  "choose_format\0editCopy(bool)\0editCopy()\0"
62  "helpAboutQtHandles()\0updateMenuBar()\0"
63  "updateContainer()\0toggleAxes()\0"
64  "toggleGrid()\0autoAxes()\0"
65 };
66 
67 void QtHandles::Figure::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68 {
69  if (_c == QMetaObject::InvokeMetaMethod) {
70  Q_ASSERT(staticMetaObject.cast(_o));
71  Figure *_t = static_cast<Figure *>(_o);
72  switch (_id) {
73  case 0: _t->asyncUpdate(); break;
74  case 1: _t->setMouseMode((*reinterpret_cast< MouseMode(*)>(_a[1]))); break;
75  case 2: _t->fileSaveFigure((*reinterpret_cast< bool(*)>(_a[1]))); break;
76  case 3: _t->fileSaveFigure(); break;
77  case 4: _t->fileSaveFigureAs(); break;
78  case 5: _t->fileCloseFigure(); break;
79  case 6: _t->editCopy((*reinterpret_cast< bool(*)>(_a[1]))); break;
80  case 7: _t->editCopy(); break;
81  case 8: _t->helpAboutQtHandles(); break;
82  case 9: _t->updateMenuBar(); break;
83  case 10: _t->updateContainer(); break;
84  case 11: _t->toggleAxes(); break;
85  case 12: _t->toggleGrid(); break;
86  case 13: _t->autoAxes(); break;
87  default: ;
88  }
89  }
90 }
91 
92 const QMetaObjectExtraData QtHandles::Figure::staticMetaObjectExtraData = {
93  0, qt_static_metacall
94 };
95 
96 const QMetaObject QtHandles::Figure::staticMetaObject = {
97  { &Object::staticMetaObject, qt_meta_stringdata_QtHandles__Figure,
98  qt_meta_data_QtHandles__Figure, &staticMetaObjectExtraData }
99 };
100 
101 #ifdef Q_NO_DATA_RELOCATION
102 const QMetaObject &QtHandles::Figure::getStaticMetaObject() { return staticMetaObject; }
103 #endif //Q_NO_DATA_RELOCATION
104 
105 const QMetaObject *QtHandles::Figure::metaObject() const
106 {
107  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
108 }
109 
110 void *QtHandles::Figure::qt_metacast(const char *_clname)
111 {
112  if (!_clname) return 0;
113  if (!strcmp(_clname, qt_meta_stringdata_QtHandles__Figure))
114  return static_cast<void*>(const_cast< Figure*>(this));
115  if (!strcmp(_clname, "MenuContainer"))
116  return static_cast< MenuContainer*>(const_cast< Figure*>(this));
117  if (!strcmp(_clname, "GenericEventNotifyReceiver"))
118  return static_cast< GenericEventNotifyReceiver*>(const_cast< Figure*>(this));
119  return Object::qt_metacast(_clname);
120 }
121 
122 int QtHandles::Figure::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
123 {
124  _id = Object::qt_metacall(_c, _id, _a);
125  if (_id < 0)
126  return _id;
127  if (_c == QMetaObject::InvokeMetaMethod) {
128  if (_id < 14)
129  qt_static_metacall(this, _c, _id, _a);
130  _id -= 14;
131  }
132  return _id;
133 }
134 
135 // SIGNAL 0
137 {
138  QMetaObject::activate(this, &staticMetaObject, 0, 0);
139 }
140 QT_END_MOC_NAMESPACE
MouseMode
Definition: Figure.h:38
Figure(const graphics_object &go, FigureWindow *win)
Definition: Figure.cc:126
void asyncUpdate(void)
Definition: moc-Figure.cc:136
static const char qt_meta_stringdata_QtHandles__Figure[]
Definition: moc-Figure.cc:56
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_QtHandles__Figure[]
Definition: moc-Figure.cc:22