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-TerminalView.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 'TerminalView.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 'TerminalView.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_TerminalView[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  25, 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  14, 13, 13, 13, 0x05,
37  35, 33, 13, 13, 0x05,
38  93, 64, 13, 13, 0x05,
39  135, 122, 13, 13, 0x05,
40  168, 122, 13, 13, 0x05,
41  218, 202, 13, 13, 0x05,
42  261, 13, 13, 13, 0x05,
43  283, 13, 13, 13, 0x05,
44  317, 312, 13, 13, 0x05,
45  340, 13, 13, 13, 0x05,
46 
47  // slots: signature, parameters, type, tag, flags
48  374, 13, 13, 13, 0x0a,
49  388, 13, 13, 13, 0x0a,
50  427, 411, 13, 13, 0x0a,
51  447, 13, 13, 13, 0x0a,
52  464, 13, 13, 13, 0x0a,
53  481, 13, 13, 13, 0x0a,
54  503, 493, 13, 13, 0x0a,
55  535, 525, 13, 13, 0x0a,
56  559, 13, 554, 13, 0x0a,
57  577, 571, 13, 13, 0x09,
58  607, 13, 13, 13, 0x09,
59  620, 13, 13, 13, 0x09,
60  639, 13, 13, 13, 0x09,
61  652, 13, 13, 13, 0x08,
62  669, 13, 13, 13, 0x08,
63 
64  0 // eod
65 };
66 
67 static const char qt_meta_stringdata_TerminalView[] = {
68  "TerminalView\0\0interrupt_signal()\0e\0"
69  "keyPressedSignal(QKeyEvent*)\0"
70  "button,column,line,eventType\0"
71  "mouseSignal(int,int,int,int)\0height,width\0"
72  "changedFontMetricSignal(int,int)\0"
73  "changedContentSizeSignal(int,int)\0"
74  ",state,position\0"
75  "configureRequest(TerminalView*,int,QPoint)\0"
76  "isBusySelecting(bool)\0"
77  "sendStringToEmu(const char*)\0text\0"
78  "tripleClicked(QString)\0"
79  "set_global_shortcuts_signal(bool)\0"
80  "updateImage()\0updateLineProperties()\0"
81  "extra_interrupt\0copyClipboard(bool)\0"
82  "pasteClipboard()\0pasteSelection()\0"
83  "selectAll()\0suspended\0outputSuspended(bool)\0"
84  "usesMouse\0setUsesMouse(bool)\0bool\0"
85  "usesMouse()\0value\0scrollBarPositionChanged(int)\0"
86  "blinkEvent()\0blinkCursorEvent()\0"
87  "enableBell()\0swapColorTable()\0"
88  "tripleClickTimeout()\0"
89 };
90 
91 void TerminalView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
92 {
93  if (_c == QMetaObject::InvokeMetaMethod) {
94  Q_ASSERT(staticMetaObject.cast(_o));
95  TerminalView *_t = static_cast<TerminalView *>(_o);
96  switch (_id) {
97  case 0: _t->interrupt_signal(); break;
98  case 1: _t->keyPressedSignal((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
99  case 2: _t->mouseSignal((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
100  case 3: _t->changedFontMetricSignal((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
101  case 4: _t->changedContentSizeSignal((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
102  case 5: _t->configureRequest((*reinterpret_cast< TerminalView*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QPoint(*)>(_a[3]))); break;
103  case 6: _t->isBusySelecting((*reinterpret_cast< bool(*)>(_a[1]))); break;
104  case 7: _t->sendStringToEmu((*reinterpret_cast< const char*(*)>(_a[1]))); break;
105  case 8: _t->tripleClicked((*reinterpret_cast< const QString(*)>(_a[1]))); break;
106  case 9: _t->set_global_shortcuts_signal((*reinterpret_cast< bool(*)>(_a[1]))); break;
107  case 10: _t->updateImage(); break;
108  case 11: _t->updateLineProperties(); break;
109  case 12: _t->copyClipboard((*reinterpret_cast< bool(*)>(_a[1]))); break;
110  case 13: _t->pasteClipboard(); break;
111  case 14: _t->pasteSelection(); break;
112  case 15: _t->selectAll(); break;
113  case 16: _t->outputSuspended((*reinterpret_cast< bool(*)>(_a[1]))); break;
114  case 17: _t->setUsesMouse((*reinterpret_cast< bool(*)>(_a[1]))); break;
115  case 18: { bool _r = _t->usesMouse();
116  if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
117  case 19: _t->scrollBarPositionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
118  case 20: _t->blinkEvent(); break;
119  case 21: _t->blinkCursorEvent(); break;
120  case 22: _t->enableBell(); break;
121  case 23: _t->swapColorTable(); break;
122  case 24: _t->tripleClickTimeout(); break;
123  default: ;
124  }
125  }
126 }
127 
128 const QMetaObjectExtraData TerminalView::staticMetaObjectExtraData = {
129  0, qt_static_metacall
130 };
131 
132 const QMetaObject TerminalView::staticMetaObject = {
133  { &QWidget::staticMetaObject, qt_meta_stringdata_TerminalView,
134  qt_meta_data_TerminalView, &staticMetaObjectExtraData }
135 };
136 
137 #ifdef Q_NO_DATA_RELOCATION
138 const QMetaObject &TerminalView::getStaticMetaObject() { return staticMetaObject; }
139 #endif //Q_NO_DATA_RELOCATION
140 
141 const QMetaObject *TerminalView::metaObject() const
142 {
143  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
144 }
145 
146 void *TerminalView::qt_metacast(const char *_clname)
147 {
148  if (!_clname) return 0;
149  if (!strcmp(_clname, qt_meta_stringdata_TerminalView))
150  return static_cast<void*>(const_cast< TerminalView*>(this));
151  return QWidget::qt_metacast(_clname);
152 }
153 
154 int TerminalView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
155 {
156  _id = QWidget::qt_metacall(_c, _id, _a);
157  if (_id < 0)
158  return _id;
159  if (_c == QMetaObject::InvokeMetaMethod) {
160  if (_id < 25)
161  qt_static_metacall(this, _c, _id, _a);
162  _id -= 25;
163  }
164  return _id;
165 }
166 
167 // SIGNAL 0
169 {
170  QMetaObject::activate(this, &staticMetaObject, 0, 0);
171 }
172 
173 // SIGNAL 1
174 void TerminalView::keyPressedSignal(QKeyEvent * _t1)
175 {
176  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
177  QMetaObject::activate(this, &staticMetaObject, 1, _a);
178 }
179 
180 // SIGNAL 2
181 void TerminalView::mouseSignal(int _t1, int _t2, int _t3, int _t4)
182 {
183  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
184  QMetaObject::activate(this, &staticMetaObject, 2, _a);
185 }
186 
187 // SIGNAL 3
189 {
190  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
191  QMetaObject::activate(this, &staticMetaObject, 3, _a);
192 }
193 
194 // SIGNAL 4
196 {
197  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
198  QMetaObject::activate(this, &staticMetaObject, 4, _a);
199 }
200 
201 // SIGNAL 5
202 void TerminalView::configureRequest(TerminalView * _t1, int _t2, const QPoint & _t3)
203 {
204  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
205  QMetaObject::activate(this, &staticMetaObject, 5, _a);
206 }
207 
208 // SIGNAL 6
210 {
211  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
212  QMetaObject::activate(this, &staticMetaObject, 6, _a);
213 }
214 
215 // SIGNAL 7
216 void TerminalView::sendStringToEmu(const char * _t1)
217 {
218  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
219  QMetaObject::activate(this, &staticMetaObject, 7, _a);
220 }
221 
222 // SIGNAL 8
223 void TerminalView::tripleClicked(const QString & _t1)
224 {
225  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
226  QMetaObject::activate(this, &staticMetaObject, 8, _a);
227 }
228 
229 // SIGNAL 9
231 {
232  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
233  QMetaObject::activate(this, &staticMetaObject, 9, _a);
234 }
235 QT_END_MOC_NAMESPACE
void keyPressedSignal(QKeyEvent *e)
Emitted when the user presses a key whilst the terminal widget has focus.
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_TerminalView[]
void mouseSignal(int button, int column, int line, int eventType)
A mouse event occurred.
void changedContentSizeSignal(int height, int width)
void changedFontMetricSignal(int height, int width)
void interrupt_signal(void)
void set_global_shortcuts_signal(bool)
Emitted when focus changes.
void tripleClicked(const QString &text)
static const char qt_meta_stringdata_TerminalView[]
void isBusySelecting(bool)
A widget which displays output from a terminal emulation and sends input keypresses and mouse activit...
Definition: TerminalView.h:63
void sendStringToEmu(const char *)
void configureRequest(TerminalView *, int state, const QPoint &position)
Emitted when the user right clicks on the display, or right-clicks with the Shift key held down if us...