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-Emulation.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 'Emulation.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 'Emulation.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_Emulation[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  20, 14, // methods
29  0, 0, // properties
30  0, 0, // enums/sets
31  0, 0, // constructors
32  0, // flags
33  10, // signalCount
34 
35  // signals: signature, parameters, type, tag, flags
36  20, 11, 10, 10, 0x05,
37  54, 46, 10, 10, 0x05,
38  75, 10, 10, 10, 0x05,
39  102, 96, 10, 10, 0x05,
40  122, 116, 10, 10, 0x05,
41  163, 153, 10, 10, 0x05,
42  193, 10, 10, 10, 0x05,
43  224, 209, 10, 10, 0x05,
44  272, 250, 10, 10, 0x05,
45  303, 298, 10, 10, 0x05,
46 
47  // slots: signature, parameters, type, tag, flags
48  355, 341, 10, 10, 0x0a,
49  377, 298, 10, 10, 0x0a,
50  395, 10, 10, 10, 0x0a,
51  450, 420, 10, 10, 0x0a,
52  496, 482, 10, 10, 0x0a,
53  531, 524, 10, 10, 0x2a,
54  566, 555, 10, 10, 0x0a,
55  595, 10, 10, 10, 0x09,
56  612, 10, 10, 10, 0x08,
57  623, 153, 10, 10, 0x08,
58 
59  0 // eod
60 };
61 
62 static const char qt_meta_stringdata_Emulation[] = {
63  "Emulation\0\0data,len\0sendData(const char*,int)\0"
64  "suspend\0lockPtyRequest(bool)\0"
65  "useUtf8Request(bool)\0state\0stateSet(int)\0"
66  "color\0changeTabTextColorRequest(int)\0"
67  "usesMouse\0programUsesMouseChanged(bool)\0"
68  "outputChanged()\0title,newTitle\0"
69  "titleChanged(int,QString)\0"
70  "lineCount,columnCount\0imageSizeChanged(int,int)\0"
71  "text\0profileChangeCommandReceived(QString)\0"
72  "lines,columns\0setImageSize(int,int)\0"
73  "sendText(QString)\0sendKeyEvent(QKeyEvent*)\0"
74  "buttons,column,line,eventType\0"
75  "sendMouseEvent(int,int,int,int)\0"
76  "string,length\0sendString(const char*,int)\0"
77  "string\0sendString(const char*)\0"
78  "buffer,len\0receiveData(const char*,int)\0"
79  "bufferedUpdate()\0showBulk()\0"
80  "usesMouseChanged(bool)\0"
81 };
82 
83 void Emulation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
84 {
85  if (_c == QMetaObject::InvokeMetaMethod) {
86  Q_ASSERT(staticMetaObject.cast(_o));
87  Emulation *_t = static_cast<Emulation *>(_o);
88  switch (_id) {
89  case 0: _t->sendData((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
90  case 1: _t->lockPtyRequest((*reinterpret_cast< bool(*)>(_a[1]))); break;
91  case 2: _t->useUtf8Request((*reinterpret_cast< bool(*)>(_a[1]))); break;
92  case 3: _t->stateSet((*reinterpret_cast< int(*)>(_a[1]))); break;
93  case 4: _t->changeTabTextColorRequest((*reinterpret_cast< int(*)>(_a[1]))); break;
94  case 5: _t->programUsesMouseChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
95  case 6: _t->outputChanged(); break;
96  case 7: _t->titleChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
97  case 8: _t->imageSizeChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
98  case 9: _t->profileChangeCommandReceived((*reinterpret_cast< const QString(*)>(_a[1]))); break;
99  case 10: _t->setImageSize((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
100  case 11: _t->sendText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
101  case 12: _t->sendKeyEvent((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
102  case 13: _t->sendMouseEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
103  case 14: _t->sendString((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
104  case 15: _t->sendString((*reinterpret_cast< const char*(*)>(_a[1]))); break;
105  case 16: _t->receiveData((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
106  case 17: _t->bufferedUpdate(); break;
107  case 18: _t->showBulk(); break;
108  case 19: _t->usesMouseChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
109  default: ;
110  }
111  }
112 }
113 
114 const QMetaObjectExtraData Emulation::staticMetaObjectExtraData = {
115  0, qt_static_metacall
116 };
117 
118 const QMetaObject Emulation::staticMetaObject = {
119  { &QObject::staticMetaObject, qt_meta_stringdata_Emulation,
120  qt_meta_data_Emulation, &staticMetaObjectExtraData }
121 };
122 
123 #ifdef Q_NO_DATA_RELOCATION
124 const QMetaObject &Emulation::getStaticMetaObject() { return staticMetaObject; }
125 #endif //Q_NO_DATA_RELOCATION
126 
127 const QMetaObject *Emulation::metaObject() const
128 {
129  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
130 }
131 
132 void *Emulation::qt_metacast(const char *_clname)
133 {
134  if (!_clname) return 0;
135  if (!strcmp(_clname, qt_meta_stringdata_Emulation))
136  return static_cast<void*>(const_cast< Emulation*>(this));
137  return QObject::qt_metacast(_clname);
138 }
139 
140 int Emulation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
141 {
142  _id = QObject::qt_metacall(_c, _id, _a);
143  if (_id < 0)
144  return _id;
145  if (_c == QMetaObject::InvokeMetaMethod) {
146  if (_id < 20)
147  qt_static_metacall(this, _c, _id, _a);
148  _id -= 20;
149  }
150  return _id;
151 }
152 
153 // SIGNAL 0
154 void Emulation::sendData(const char * _t1, int _t2)
155 {
156  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
157  QMetaObject::activate(this, &staticMetaObject, 0, _a);
158 }
159 
160 // SIGNAL 1
162 {
163  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
164  QMetaObject::activate(this, &staticMetaObject, 1, _a);
165 }
166 
167 // SIGNAL 2
169 {
170  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
171  QMetaObject::activate(this, &staticMetaObject, 2, _a);
172 }
173 
174 // SIGNAL 3
175 void Emulation::stateSet(int _t1)
176 {
177  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
178  QMetaObject::activate(this, &staticMetaObject, 3, _a);
179 }
180 
181 // SIGNAL 4
183 {
184  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
185  QMetaObject::activate(this, &staticMetaObject, 4, _a);
186 }
187 
188 // SIGNAL 5
190 {
191  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
192  QMetaObject::activate(this, &staticMetaObject, 5, _a);
193 }
194 
195 // SIGNAL 6
197 {
198  QMetaObject::activate(this, &staticMetaObject, 6, 0);
199 }
200 
201 // SIGNAL 7
202 void Emulation::titleChanged(int _t1, const QString & _t2)
203 {
204  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
205  QMetaObject::activate(this, &staticMetaObject, 7, _a);
206 }
207 
208 // SIGNAL 8
209 void Emulation::imageSizeChanged(int _t1, int _t2)
210 {
211  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
212  QMetaObject::activate(this, &staticMetaObject, 8, _a);
213 }
214 
215 // SIGNAL 9
217 {
218  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
219  QMetaObject::activate(this, &staticMetaObject, 9, _a);
220 }
221 QT_END_MOC_NAMESPACE
static const char qt_meta_stringdata_Emulation[]
void outputChanged()
Emitted when the contents of the screen image change.
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_Emulation[]
Base class for terminal emulation back-ends.
Definition: Emulation.h:118
void sendData(const char *data, int len)
Emitted when a buffer of data is ready to send to the standard input of the terminal.
void programUsesMouseChanged(bool usesMouse)
This is emitted when the program running in the shell indicates whether or not it is interested in mo...
void useUtf8Request(bool)
Requests that the pty used by the terminal process be set to UTF 8 mode.
void stateSet(int state)
Emitted when the activity state of the emulation is set.
void titleChanged(int title, const QString &newTitle)
Emitted when the program running in the terminal wishes to update the session's title.
void changeTabTextColorRequest(int color)
Requests that the color of the text used to represent the tabs associated with this emulation be chan...
void imageSizeChanged(int lineCount, int columnCount)
Emitted when the program running in the terminal changes the screen size.
void lockPtyRequest(bool suspend)
Requests that sending of input to the emulation from the terminal process be suspended or resumed...
void profileChangeCommandReceived(const QString &text)
Emitted when the terminal program requests to change various properties of the terminal display...