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.)"
21 QT_BEGIN_MOC_NAMESPACE
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,
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,
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"
83 void Emulation::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
85 if (_c == QMetaObject::InvokeMetaMethod) {
86 Q_ASSERT(staticMetaObject.cast(_o));
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;
114 const QMetaObjectExtraData Emulation::staticMetaObjectExtraData = {
115 0, qt_static_metacall
118 const QMetaObject Emulation::staticMetaObject = {
123 #ifdef Q_NO_DATA_RELOCATION
124 const QMetaObject &Emulation::getStaticMetaObject() {
return staticMetaObject; }
125 #endif //Q_NO_DATA_RELOCATION
127 const QMetaObject *Emulation::metaObject()
const
129 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
132 void *Emulation::qt_metacast(
const char *_clname)
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);
140 int Emulation::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
142 _id = QObject::qt_metacall(_c, _id, _a);
145 if (_c == QMetaObject::InvokeMetaMethod) {
147 qt_static_metacall(
this, _c, _id, _a);
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);
163 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
164 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
170 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
171 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
177 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
178 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
184 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
185 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
191 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
192 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
198 QMetaObject::activate(
this, &staticMetaObject, 6, 0);
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);
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);
218 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
219 QMetaObject::activate(
this, &staticMetaObject, 9, _a);
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.
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...