GNU Octave  4.2.1
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-QTerminal.cc
Go to the documentation of this file.
1 #if defined (HAVE_CONFIG_H)
2 # include "config.h"
3 #endif
4 /****************************************************************************
5 ** Meta object code from reading C++ file 'QTerminal.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 'QTerminal.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_QTerminal[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  12, 14, // methods
29  0, 0, // properties
30  0, 0, // enums/sets
31  0, 0, // constructors
32  0, // flags
33  3, // signalCount
34 
35  // signals: signature, parameters, type, tag, flags
36  11, 10, 10, 10, 0x05,
37  42, 10, 10, 10, 0x05,
38  63, 61, 10, 10, 0x05,
39 
40  // slots: signature, parameters, type, tag, flags
41  95, 10, 10, 10, 0x0a,
42  111, 10, 10, 10, 0x0a,
43  128, 10, 10, 10, 0x0a,
44  143, 140, 10, 10, 0x0a,
45  193, 184, 10, 10, 0x0a,
46  227, 10, 10, 10, 0x0a,
47  248, 10, 10, 10, 0x0a,
48  279, 269, 10, 10, 0x0a,
49  306, 10, 10, 10, 0x0a,
50 
51  0 // eod
52 };
53 
54 static const char qt_meta_stringdata_QTerminal[] = {
55  "QTerminal\0\0report_status_message(QString)\0"
56  "interrupt_signal()\0,\0"
57  "edit_mfile_request(QString,int)\0"
58  "copyClipboard()\0pasteClipboard()\0"
59  "selectAll()\0at\0handleCustomContextMenuRequested(QPoint)\0"
60  "settings\0notice_settings(const QSettings*)\0"
61  "init_terminal_size()\0terminal_interrupt()\0"
62  "focus_out\0set_global_shortcuts(bool)\0"
63  "edit_file()\0"
64 };
65 
66 void QTerminal::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
67 {
68  if (_c == QMetaObject::InvokeMetaMethod) {
69  Q_ASSERT(staticMetaObject.cast(_o));
70  QTerminal *_t = static_cast<QTerminal *>(_o);
71  switch (_id) {
72  case 0: _t->report_status_message((*reinterpret_cast< const QString(*)>(_a[1]))); break;
73  case 1: _t->interrupt_signal(); break;
74  case 2: _t->edit_mfile_request((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
75  case 3: _t->copyClipboard(); break;
76  case 4: _t->pasteClipboard(); break;
77  case 5: _t->selectAll(); break;
78  case 6: _t->handleCustomContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
79  case 7: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
80  case 8: _t->init_terminal_size(); break;
81  case 9: _t->terminal_interrupt(); break;
82  case 10: _t->set_global_shortcuts((*reinterpret_cast< bool(*)>(_a[1]))); break;
83  case 11: _t->edit_file(); break;
84  default: ;
85  }
86  }
87 }
88 
89 const QMetaObjectExtraData QTerminal::staticMetaObjectExtraData = {
90  0, qt_static_metacall
91 };
92 
93 const QMetaObject QTerminal::staticMetaObject = {
94  { &QWidget::staticMetaObject, qt_meta_stringdata_QTerminal,
95  qt_meta_data_QTerminal, &staticMetaObjectExtraData }
96 };
97 
98 #ifdef Q_NO_DATA_RELOCATION
99 const QMetaObject &QTerminal::getStaticMetaObject() { return staticMetaObject; }
100 #endif //Q_NO_DATA_RELOCATION
101 
102 const QMetaObject *QTerminal::metaObject() const
103 {
104  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
105 }
106 
107 void *QTerminal::qt_metacast(const char *_clname)
108 {
109  if (!_clname) return 0;
110  if (!strcmp(_clname, qt_meta_stringdata_QTerminal))
111  return static_cast<void*>(const_cast< QTerminal*>(this));
112  return QWidget::qt_metacast(_clname);
113 }
114 
115 int QTerminal::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
116 {
117  _id = QWidget::qt_metacall(_c, _id, _a);
118  if (_id < 0)
119  return _id;
120  if (_c == QMetaObject::InvokeMetaMethod) {
121  if (_id < 12)
122  qt_static_metacall(this, _c, _id, _a);
123  _id -= 12;
124  }
125  return _id;
126 }
127 
128 // SIGNAL 0
129 void QTerminal::report_status_message(const QString & _t1)
130 {
131  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
132  QMetaObject::activate(this, &staticMetaObject, 0, _a);
133 }
134 
135 // SIGNAL 1
137 {
138  QMetaObject::activate(this, &staticMetaObject, 1, 0);
139 }
140 
141 // SIGNAL 2
142 void QTerminal::edit_mfile_request(const QString & _t1, int _t2)
143 {
144  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
145  QMetaObject::activate(this, &staticMetaObject, 2, _a);
146 }
147 QT_END_MOC_NAMESPACE
void edit_mfile_request(const QString &, int)
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_QTerminal[]
void interrupt_signal(void)
void report_status_message(const QString &)
bool strcmp(const T &str_a, const T &str_b)
True if strings are the same.
Definition: oct-string.cc:112
static const char qt_meta_stringdata_QTerminal[]