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.)"
21 QT_BEGIN_MOC_NAMESPACE
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,
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,
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"
90 void TerminalModel::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
92 if (_c == QMetaObject::InvokeMetaMethod) {
93 Q_ASSERT(staticMetaObject.cast(_o));
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;
123 const QMetaObjectExtraData TerminalModel::staticMetaObjectExtraData = {
124 0, qt_static_metacall
127 const QMetaObject TerminalModel::staticMetaObject = {
132 #ifdef Q_NO_DATA_RELOCATION
133 const QMetaObject &TerminalModel::getStaticMetaObject() {
return staticMetaObject; }
134 #endif //Q_NO_DATA_RELOCATION
136 const QMetaObject *TerminalModel::metaObject()
const
138 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
141 void *TerminalModel::qt_metacast(
const char *_clname)
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);
149 int TerminalModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
151 _id = QObject::qt_metacall(_c, _id, _a);
154 if (_c == QMetaObject::InvokeMetaMethod) {
156 qt_static_metacall(
this, _c, _id, _a);
159 #ifndef QT_NO_PROPERTIES
160 else if (_c == QMetaObject::ReadProperty) {
163 case 0: *
reinterpret_cast< QString*
>(_v) =
keyBindings();
break;
164 case 1: *
reinterpret_cast< QSize*
>(_v) =
size();
break;
167 }
else if (_c == QMetaObject::WriteProperty) {
171 case 1:
setSize(*reinterpret_cast< QSize*>(_v));
break;
174 }
else if (_c == QMetaObject::ResetProperty) {
176 }
else if (_c == QMetaObject::QueryPropertyDesignable) {
178 }
else if (_c == QMetaObject::QueryPropertyScriptable) {
180 }
else if (_c == QMetaObject::QueryPropertyStored) {
182 }
else if (_c == QMetaObject::QueryPropertyEditable) {
184 }
else if (_c == QMetaObject::QueryPropertyUser) {
187 #endif // QT_NO_PROPERTIES
194 QMetaObject::activate(
this, &staticMetaObject, 0, 0);
200 QMetaObject::activate(
this, &staticMetaObject, 1, 0);
206 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
207 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
213 QMetaObject::activate(
this, &staticMetaObject, 3, 0);
219 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
220 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
226 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
227 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
233 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
234 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
240 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
241 QMetaObject::activate(
this, &staticMetaObject, 7, _a);
247 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
248 QMetaObject::activate(
this, &staticMetaObject, 8, _a);
254 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
255 QMetaObject::activate(
this, &staticMetaObject, 9, _a);
261 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
262 QMetaObject::activate(
this, &staticMetaObject, 10, _a);
268 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
269 QMetaObject::activate(
this, &staticMetaObject, 11, _a);
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.
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.