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-SelfListener.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 'SelfListener.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 'SelfListener.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_SelfListener[] = {
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  1, // signalCount
34 
35  // signals: signature, parameters, type, tag, flags
36  37, 14, 13, 13, 0x05,
37 
38  0 // eod
39 };
40 
41 static const char qt_meta_stringdata_SelfListener[] = {
42  "SelfListener\0\0stdOutBuffer,stdOutlen\0"
43  "recvData(const char*,int)\0"
44 };
45 
46 void SelfListener::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  SelfListener *_t = static_cast<SelfListener *>(_o);
51  switch (_id) {
52  case 0: _t->recvData((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
53  default: ;
54  }
55  }
56 }
57 
58 const QMetaObjectExtraData SelfListener::staticMetaObjectExtraData = {
59  0, qt_static_metacall
60 };
61 
62 const QMetaObject SelfListener::staticMetaObject = {
63  { &QThread::staticMetaObject, qt_meta_stringdata_SelfListener,
64  qt_meta_data_SelfListener, &staticMetaObjectExtraData }
65 };
66 
67 #ifdef Q_NO_DATA_RELOCATION
68 const QMetaObject &SelfListener::getStaticMetaObject() { return staticMetaObject; }
69 #endif //Q_NO_DATA_RELOCATION
70 
71 const QMetaObject *SelfListener::metaObject() const
72 {
73  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
74 }
75 
76 void *SelfListener::qt_metacast(const char *_clname)
77 {
78  if (!_clname) return 0;
80  return static_cast<void*>(const_cast< SelfListener*>(this));
81  return QThread::qt_metacast(_clname);
82 }
83 
84 int SelfListener::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
85 {
86  _id = QThread::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 
97 // SIGNAL 0
98 void SelfListener::recvData(const char * _t1, int _t2)
99 {
100  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
101  QMetaObject::activate(this, &staticMetaObject, 0, _a);
102 }
103 QT_END_MOC_NAMESPACE
void recvData(const char *stdOutBuffer, int stdOutlen)
bool strcmp(const T &str_a, const T &str_b)
True if strings are the same.
Definition: oct-string.cc:112
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_SelfListener[]
static const char qt_meta_stringdata_SelfListener[]