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-TerminalModel.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 'TerminalModel.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 'TerminalModel.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_TerminalModel[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  22, 14, // methods
29  2, 124, // properties
30  0, 0, // enums/sets
31  0, 0, // constructors
32  0, // flags
33  12, // signalCount
34 
35  // signals: signature, parameters, type, tag, flags
36  15, 14, 14, 14, 0x05,
37  25, 14, 14, 14, 0x05,
38  41, 36, 14, 14, 0x05,
39  63, 14, 14, 14, 0x05,
40  86, 78, 14, 14, 0x05,
41  116, 110, 14, 14, 0x05,
42  142, 134, 14, 14, 0x05,
43  163, 14, 14, 14, 0x05,
44  194, 14, 14, 14, 0x05,
45  235, 231, 14, 14, 0x05,
46  264, 259, 14, 14, 0x05,
47  285, 36, 14, 14, 0x05,
48 
49  // slots: signature, parameters, type, tag, flags
50  323, 14, 14, 14, 0x0a,
51  329, 14, 14, 14, 0x0a,
52  337, 14, 14, 14, 0x08,
53  358, 347, 14, 14, 0x08,
54  390, 14, 14, 14, 0x08,
55  422, 409, 14, 14, 0x08,
56  462, 448, 14, 14, 0x08,
57  493, 14, 14, 14, 0x08,
58  520, 515, 14, 14, 0x08,
59  552, 544, 14, 14, 0x08,
60 
61  // properties: name, type, flags
62  586, 578, 0x0a095103,
63  259, 598, 0x15095103,
64 
65  0 // eod
66 };
67 
68 static const char qt_meta_stringdata_TerminalModel[] = {
69  "TerminalModel\0\0started()\0finished()\0"
70  "text\0receivedData(QString)\0titleChanged()\0"
71  "profile\0profileChanged(QString)\0state\0"
72  "stateChanged(int)\0message\0"
73  "bellRequest(QString)\0"
74  "changeTabTextColorRequest(int)\0"
75  "changeBackgroundColorRequest(QColor)\0"
76  "url\0openUrlRequest(QString)\0size\0"
77  "resizeRequest(QSize)\0"
78  "profileChangeCommandReceived(QString)\0"
79  "run()\0close()\0done(int)\0buffer,len\0"
80  "onReceiveBlock(const char*,int)\0"
81  "monitorTimerDone()\0height,width\0"
82  "onViewSizeChange(int,int)\0lines,columns\0"
83  "onEmulationSizeChange(int,int)\0"
84  "activityStateSet(int)\0view\0"
85  "viewDestroyed(QObject*)\0buf,len\0"
86  "sendData(const char*,int)\0QString\0"
87  "keyBindings\0QSize\0"
88 };
89 
90 void TerminalModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
91 {
92  if (_c == QMetaObject::InvokeMetaMethod) {
93  Q_ASSERT(staticMetaObject.cast(_o));
94  TerminalModel *_t = static_cast<TerminalModel *>(_o);
95  switch (_id) {
96  case 0: _t->started(); break;
97  case 1: _t->finished(); break;
98  case 2: _t->receivedData((*reinterpret_cast< const QString(*)>(_a[1]))); break;
99  case 3: _t->titleChanged(); break;
100  case 4: _t->profileChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
101  case 5: _t->stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
102  case 6: _t->bellRequest((*reinterpret_cast< const QString(*)>(_a[1]))); break;
103  case 7: _t->changeTabTextColorRequest((*reinterpret_cast< int(*)>(_a[1]))); break;
104  case 8: _t->changeBackgroundColorRequest((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
105  case 9: _t->openUrlRequest((*reinterpret_cast< const QString(*)>(_a[1]))); break;
106  case 10: _t->resizeRequest((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
107  case 11: _t->profileChangeCommandReceived((*reinterpret_cast< const QString(*)>(_a[1]))); break;
108  case 12: _t->run(); break;
109  case 13: _t->close(); break;
110  case 14: _t->done((*reinterpret_cast< int(*)>(_a[1]))); break;
111  case 15: _t->onReceiveBlock((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
112  case 16: _t->monitorTimerDone(); break;
113  case 17: _t->onViewSizeChange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
114  case 18: _t->onEmulationSizeChange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
115  case 19: _t->activityStateSet((*reinterpret_cast< int(*)>(_a[1]))); break;
116  case 20: _t->viewDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
117  case 21: _t->sendData((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
118  default: ;
119  }
120  }
121 }
122 
123 const QMetaObjectExtraData TerminalModel::staticMetaObjectExtraData = {
124  0, qt_static_metacall
125 };
126 
127 const QMetaObject TerminalModel::staticMetaObject = {
128  { &QObject::staticMetaObject, qt_meta_stringdata_TerminalModel,
129  qt_meta_data_TerminalModel, &staticMetaObjectExtraData }
130 };
131 
132 #ifdef Q_NO_DATA_RELOCATION
133 const QMetaObject &TerminalModel::getStaticMetaObject() { return staticMetaObject; }
134 #endif //Q_NO_DATA_RELOCATION
135 
136 const QMetaObject *TerminalModel::metaObject() const
137 {
138  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
139 }
140 
141 void *TerminalModel::qt_metacast(const char *_clname)
142 {
143  if (!_clname) return 0;
144  if (!strcmp(_clname, qt_meta_stringdata_TerminalModel))
145  return static_cast<void*>(const_cast< TerminalModel*>(this));
146  return QObject::qt_metacast(_clname);
147 }
148 
149 int TerminalModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
150 {
151  _id = QObject::qt_metacall(_c, _id, _a);
152  if (_id < 0)
153  return _id;
154  if (_c == QMetaObject::InvokeMetaMethod) {
155  if (_id < 22)
156  qt_static_metacall(this, _c, _id, _a);
157  _id -= 22;
158  }
159 #ifndef QT_NO_PROPERTIES
160  else if (_c == QMetaObject::ReadProperty) {
161  void *_v = _a[0];
162  switch (_id) {
163  case 0: *reinterpret_cast< QString*>(_v) = keyBindings(); break;
164  case 1: *reinterpret_cast< QSize*>(_v) = size(); break;
165  }
166  _id -= 2;
167  } else if (_c == QMetaObject::WriteProperty) {
168  void *_v = _a[0];
169  switch (_id) {
170  case 0: setKeyBindings(*reinterpret_cast< QString*>(_v)); break;
171  case 1: setSize(*reinterpret_cast< QSize*>(_v)); break;
172  }
173  _id -= 2;
174  } else if (_c == QMetaObject::ResetProperty) {
175  _id -= 2;
176  } else if (_c == QMetaObject::QueryPropertyDesignable) {
177  _id -= 2;
178  } else if (_c == QMetaObject::QueryPropertyScriptable) {
179  _id -= 2;
180  } else if (_c == QMetaObject::QueryPropertyStored) {
181  _id -= 2;
182  } else if (_c == QMetaObject::QueryPropertyEditable) {
183  _id -= 2;
184  } else if (_c == QMetaObject::QueryPropertyUser) {
185  _id -= 2;
186  }
187 #endif // QT_NO_PROPERTIES
188  return _id;
189 }
190 
191 // SIGNAL 0
193 {
194  QMetaObject::activate(this, &staticMetaObject, 0, 0);
195 }
196 
197 // SIGNAL 1
199 {
200  QMetaObject::activate(this, &staticMetaObject, 1, 0);
201 }
202 
203 // SIGNAL 2
204 void TerminalModel::receivedData(const QString & _t1)
205 {
206  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
207  QMetaObject::activate(this, &staticMetaObject, 2, _a);
208 }
209 
210 // SIGNAL 3
212 {
213  QMetaObject::activate(this, &staticMetaObject, 3, 0);
214 }
215 
216 // SIGNAL 4
217 void TerminalModel::profileChanged(const QString & _t1)
218 {
219  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
220  QMetaObject::activate(this, &staticMetaObject, 4, _a);
221 }
222 
223 // SIGNAL 5
225 {
226  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
227  QMetaObject::activate(this, &staticMetaObject, 5, _a);
228 }
229 
230 // SIGNAL 6
231 void TerminalModel::bellRequest(const QString & _t1)
232 {
233  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
234  QMetaObject::activate(this, &staticMetaObject, 6, _a);
235 }
236 
237 // SIGNAL 7
239 {
240  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
241  QMetaObject::activate(this, &staticMetaObject, 7, _a);
242 }
243 
244 // SIGNAL 8
246 {
247  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
248  QMetaObject::activate(this, &staticMetaObject, 8, _a);
249 }
250 
251 // SIGNAL 9
252 void TerminalModel::openUrlRequest(const QString & _t1)
253 {
254  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
255  QMetaObject::activate(this, &staticMetaObject, 9, _a);
256 }
257 
258 // SIGNAL 10
259 void TerminalModel::resizeRequest(const QSize & _t1)
260 {
261  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
262  QMetaObject::activate(this, &staticMetaObject, 10, _a);
263 }
264 
265 // SIGNAL 11
267 {
268  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
269  QMetaObject::activate(this, &staticMetaObject, 11, _a);
270 }
271 QT_END_MOC_NAMESPACE
void stateChanged(int state)
Emitted when the activity state of this session changes.
void resizeRequest(const QSize &size)
Emitted when the terminal process requests a change in the size of the terminal window.
Represents a terminal session consisting of a pseudo-teletype and a terminal emulation.
Definition: TerminalModel.h:57
void titleChanged()
Emitted when the session's title has changed.
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_TerminalModel[]
void profileChanged(const QString &profile)
Emitted when the session's profile has changed.
void receivedData(const QString &text)
Emitted when output is received from the terminal process.
void setKeyBindings(const QString &id)
Sets the key bindings used by this session.
void bellRequest(const QString &message)
Emitted when a bell event occurs in the session.
void finished()
Emitted when the terminal process exits.
static const char qt_meta_stringdata_TerminalModel[]
void changeBackgroundColorRequest(const QColor &)
Requests that the background color of views on this session should be changed.
void profileChangeCommandReceived(const QString &text)
Emitted when a profile change command is received from the terminal.
void setSize(const QSize &size)
Emits a request to resize the session to accommodate the specified window size.
QString keyBindings() const
Returns the name of the key bindings used by this session.
void started()
Emitted when the terminal process starts.
void changeTabTextColorRequest(int)
Requests that the color the text for any tabs associated with this session should be changed;...
void openUrlRequest(const QString &url)
TODO: Document me.
QSize size()
Returns the terminal session's window size in lines and columns.