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-history-dock-widget.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 'history-dock-widget.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 'history-dock-widget.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_history_dock_widget[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  16, 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  29, 21, 20, 20, 0x05,
37  58, 50, 20, 20, 0x05,
38  99, 90, 20, 20, 0x05,
39 
40  // slots: signature, parameters, type, tag, flags
41  135, 130, 20, 20, 0x0a,
42  171, 160, 20, 20, 0x0a,
43  195, 20, 20, 20, 0x0a,
44  211, 20, 20, 20, 0x08,
45  242, 235, 20, 20, 0x08,
46  275, 264, 20, 20, 0x08,
47  313, 308, 20, 20, 0x08,
48  343, 308, 20, 20, 0x08,
49  377, 308, 20, 20, 0x08,
50  420, 416, 20, 20, 0x08,
51  436, 20, 20, 20, 0x08,
52  452, 20, 20, 20, 0x08,
53  469, 20, 20, 20, 0x08,
54 
55  0 // eod
56 };
57 
59  "history_dock_widget\0\0message\0"
60  "information(QString)\0command\0"
61  "command_double_clicked(QString)\0"
62  "commands\0command_create_script(QString)\0"
63  "hist\0set_history(QStringList)\0hist_entry\0"
64  "append_history(QString)\0clear_history()\0"
65  "update_filter_history()\0enable\0"
66  "filter_activate(bool)\0modelIndex\0"
67  "handle_double_click(QModelIndex)\0flag\0"
68  "handle_contextmenu_copy(bool)\0"
69  "handle_contextmenu_evaluate(bool)\0"
70  "handle_contextmenu_create_script(bool)\0"
71  "pos\0ctxMenu(QPoint)\0copyClipboard()\0"
72  "pasteClipboard()\0selectAll()\0"
73 };
74 
75 void history_dock_widget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
76 {
77  if (_c == QMetaObject::InvokeMetaMethod) {
78  Q_ASSERT(staticMetaObject.cast(_o));
79  history_dock_widget *_t = static_cast<history_dock_widget *>(_o);
80  switch (_id) {
81  case 0: _t->information((*reinterpret_cast< const QString(*)>(_a[1]))); break;
82  case 1: _t->command_double_clicked((*reinterpret_cast< const QString(*)>(_a[1]))); break;
83  case 2: _t->command_create_script((*reinterpret_cast< const QString(*)>(_a[1]))); break;
84  case 3: _t->set_history((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
85  case 4: _t->append_history((*reinterpret_cast< const QString(*)>(_a[1]))); break;
86  case 5: _t->clear_history(); break;
87  case 6: _t->update_filter_history(); break;
88  case 7: _t->filter_activate((*reinterpret_cast< bool(*)>(_a[1]))); break;
89  case 8: _t->handle_double_click((*reinterpret_cast< QModelIndex(*)>(_a[1]))); break;
90  case 9: _t->handle_contextmenu_copy((*reinterpret_cast< bool(*)>(_a[1]))); break;
91  case 10: _t->handle_contextmenu_evaluate((*reinterpret_cast< bool(*)>(_a[1]))); break;
92  case 11: _t->handle_contextmenu_create_script((*reinterpret_cast< bool(*)>(_a[1]))); break;
93  case 12: _t->ctxMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
94  case 13: _t->copyClipboard(); break;
95  case 14: _t->pasteClipboard(); break;
96  case 15: _t->selectAll(); break;
97  default: ;
98  }
99  }
100 }
101 
102 const QMetaObjectExtraData history_dock_widget::staticMetaObjectExtraData = {
103  0, qt_static_metacall
104 };
105 
106 const QMetaObject history_dock_widget::staticMetaObject = {
107  { &octave_dock_widget::staticMetaObject, qt_meta_stringdata_history_dock_widget,
108  qt_meta_data_history_dock_widget, &staticMetaObjectExtraData }
109 };
110 
111 #ifdef Q_NO_DATA_RELOCATION
112 const QMetaObject &history_dock_widget::getStaticMetaObject() { return staticMetaObject; }
113 #endif //Q_NO_DATA_RELOCATION
114 
115 const QMetaObject *history_dock_widget::metaObject() const
116 {
117  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
118 }
119 
120 void *history_dock_widget::qt_metacast(const char *_clname)
121 {
122  if (!_clname) return 0;
123  if (!strcmp(_clname, qt_meta_stringdata_history_dock_widget))
124  return static_cast<void*>(const_cast< history_dock_widget*>(this));
125  return octave_dock_widget::qt_metacast(_clname);
126 }
127 
128 int history_dock_widget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
129 {
130  _id = octave_dock_widget::qt_metacall(_c, _id, _a);
131  if (_id < 0)
132  return _id;
133  if (_c == QMetaObject::InvokeMetaMethod) {
134  if (_id < 16)
135  qt_static_metacall(this, _c, _id, _a);
136  _id -= 16;
137  }
138  return _id;
139 }
140 
141 // SIGNAL 0
142 void history_dock_widget::information(const QString & _t1)
143 {
144  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
145  QMetaObject::activate(this, &staticMetaObject, 0, _a);
146 }
147 
148 // SIGNAL 1
150 {
151  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
152  QMetaObject::activate(this, &staticMetaObject, 1, _a);
153 }
154 
155 // SIGNAL 2
157 {
158  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
159  QMetaObject::activate(this, &staticMetaObject, 2, _a);
160 }
161 QT_END_MOC_NAMESPACE
void information(const QString &message)
void command_double_clicked(const QString &command)
Emitted, whenever the user double-clicked a command in the history.
void command_create_script(const QString &commands)
Emitted whenever the user selects command and chooses Create script from popupmenu.
static const char qt_meta_stringdata_history_dock_widget[]
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_history_dock_widget[]