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-ObjectProxy.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 'ObjectProxy.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 'ObjectProxy.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__ObjectProxy[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  4, 14, // methods
29  0, 0, // properties
30  0, 0, // enums/sets
31  0, 0, // constructors
32  0, // flags
33  4, // signalCount
34 
35  // signals: signature, parameters, type, tag, flags
36  28, 24, 23, 23, 0x05,
37  44, 23, 23, 23, 0x05,
38  59, 23, 23, 23, 0x05,
39  86, 72, 23, 23, 0x05,
40 
41  0 // eod
42 };
43 
45  "QtHandles::ObjectProxy\0\0pId\0sendUpdate(int)\0"
46  "sendFinalize()\0sendRedraw()\0file_cmd,term\0"
47  "sendPrint(QString,QString)\0"
48 };
49 
50 void QtHandles::ObjectProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
51 {
52  if (_c == QMetaObject::InvokeMetaMethod) {
53  Q_ASSERT(staticMetaObject.cast(_o));
54  ObjectProxy *_t = static_cast<ObjectProxy *>(_o);
55  switch (_id) {
56  case 0: _t->sendUpdate((*reinterpret_cast< int(*)>(_a[1]))); break;
57  case 1: _t->sendFinalize(); break;
58  case 2: _t->sendRedraw(); break;
59  case 3: _t->sendPrint((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
60  default: ;
61  }
62  }
63 }
64 
65 const QMetaObjectExtraData QtHandles::ObjectProxy::staticMetaObjectExtraData = {
66  0, qt_static_metacall
67 };
68 
69 const QMetaObject QtHandles::ObjectProxy::staticMetaObject = {
70  { &QObject::staticMetaObject, qt_meta_stringdata_QtHandles__ObjectProxy,
71  qt_meta_data_QtHandles__ObjectProxy, &staticMetaObjectExtraData }
72 };
73 
74 #ifdef Q_NO_DATA_RELOCATION
75 const QMetaObject &QtHandles::ObjectProxy::getStaticMetaObject() { return staticMetaObject; }
76 #endif //Q_NO_DATA_RELOCATION
77 
78 const QMetaObject *QtHandles::ObjectProxy::metaObject() const
79 {
80  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
81 }
82 
83 void *QtHandles::ObjectProxy::qt_metacast(const char *_clname)
84 {
85  if (!_clname) return 0;
87  return static_cast<void*>(const_cast< ObjectProxy*>(this));
88  return QObject::qt_metacast(_clname);
89 }
90 
91 int QtHandles::ObjectProxy::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
92 {
93  _id = QObject::qt_metacall(_c, _id, _a);
94  if (_id < 0)
95  return _id;
96  if (_c == QMetaObject::InvokeMetaMethod) {
97  if (_id < 4)
98  qt_static_metacall(this, _c, _id, _a);
99  _id -= 4;
100  }
101  return _id;
102 }
103 
104 // SIGNAL 0
106 {
107  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
108  QMetaObject::activate(this, &staticMetaObject, 0, _a);
109 }
110 
111 // SIGNAL 1
113 {
114  QMetaObject::activate(this, &staticMetaObject, 1, 0);
115 }
116 
117 // SIGNAL 2
119 {
120  QMetaObject::activate(this, &staticMetaObject, 2, 0);
121 }
122 
123 // SIGNAL 3
124 void QtHandles::ObjectProxy::sendPrint(const QString & _t1, const QString & _t2)
125 {
126  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
127  QMetaObject::activate(this, &staticMetaObject, 3, _a);
128 }
129 QT_END_MOC_NAMESPACE
void sendPrint(const QString &file_cmd, const QString &term)
static const char qt_meta_stringdata_QtHandles__ObjectProxy[]
bool strcmp(const T &str_a, const T &str_b)
True if strings are the same.
Definition: oct-string.cc:112
ObjectProxy(Object *obj=0)
Definition: ObjectProxy.cc:37
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_QtHandles__ObjectProxy[]