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-Vt102Emulation.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 'Vt102Emulation.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 'Vt102Emulation.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_Vt102Emulation[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  6, 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  24, 16, 15, 15, 0x0a,
37  52, 15, 15, 15, 0x2a,
38  81, 76, 15, 15, 0x0a,
39  99, 15, 15, 15, 0x0a,
40  154, 124, 15, 15, 0x0a,
41  186, 15, 15, 15, 0x08,
42 
43  0 // eod
44 };
45 
46 static const char qt_meta_stringdata_Vt102Emulation[] = {
47  "Vt102Emulation\0\0,length\0"
48  "sendString(const char*,int)\0"
49  "sendString(const char*)\0text\0"
50  "sendText(QString)\0sendKeyEvent(QKeyEvent*)\0"
51  "buttons,column,line,eventType\0"
52  "sendMouseEvent(int,int,int,int)\0"
53  "updateTitle()\0"
54 };
55 
56 void Vt102Emulation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
57 {
58  if (_c == QMetaObject::InvokeMetaMethod) {
59  Q_ASSERT(staticMetaObject.cast(_o));
60  Vt102Emulation *_t = static_cast<Vt102Emulation *>(_o);
61  switch (_id) {
62  case 0: _t->sendString((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
63  case 1: _t->sendString((*reinterpret_cast< const char*(*)>(_a[1]))); break;
64  case 2: _t->sendText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
65  case 3: _t->sendKeyEvent((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
66  case 4: _t->sendMouseEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
67  case 5: _t->updateTitle(); break;
68  default: ;
69  }
70  }
71 }
72 
73 const QMetaObjectExtraData Vt102Emulation::staticMetaObjectExtraData = {
74  0, qt_static_metacall
75 };
76 
77 const QMetaObject Vt102Emulation::staticMetaObject = {
78  { &Emulation::staticMetaObject, qt_meta_stringdata_Vt102Emulation,
79  qt_meta_data_Vt102Emulation, &staticMetaObjectExtraData }
80 };
81 
82 #ifdef Q_NO_DATA_RELOCATION
83 const QMetaObject &Vt102Emulation::getStaticMetaObject() { return staticMetaObject; }
84 #endif //Q_NO_DATA_RELOCATION
85 
86 const QMetaObject *Vt102Emulation::metaObject() const
87 {
88  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
89 }
90 
91 void *Vt102Emulation::qt_metacast(const char *_clname)
92 {
93  if (!_clname) return 0;
94  if (!strcmp(_clname, qt_meta_stringdata_Vt102Emulation))
95  return static_cast<void*>(const_cast< Vt102Emulation*>(this));
96  return Emulation::qt_metacast(_clname);
97 }
98 
99 int Vt102Emulation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
100 {
101  _id = Emulation::qt_metacall(_c, _id, _a);
102  if (_id < 0)
103  return _id;
104  if (_c == QMetaObject::InvokeMetaMethod) {
105  if (_id < 6)
106  qt_static_metacall(this, _c, _id, _a);
107  _id -= 6;
108  }
109  return _id;
110 }
111 QT_END_MOC_NAMESPACE
static const char qt_meta_stringdata_Vt102Emulation[]
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_Vt102Emulation[]
virtual void sendString(const char *, int length=-1)
Provides an xterm compatible terminal emulation based on the DEC VT102 terminal.