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-history-dock-widget.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 '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  19, 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, 0x0a,
45  227, 20, 20, 20, 0x08,
46  258, 251, 20, 20, 0x08,
47  291, 280, 20, 20, 0x08,
48  329, 324, 20, 20, 0x08,
49  359, 324, 20, 20, 0x08,
50  393, 324, 20, 20, 0x08,
51  432, 20, 20, 20, 0x08,
52  464, 460, 20, 20, 0x08,
53  480, 20, 20, 20, 0x08,
54  496, 20, 20, 20, 0x08,
55  513, 20, 20, 20, 0x08,
56  533, 525, 20, 20, 0x08,
57 
58  0 // eod
59 };
60 
62  "history_dock_widget\0\0message\0"
63  "information(QString)\0command\0"
64  "command_double_clicked(QString)\0"
65  "commands\0command_create_script(QString)\0"
66  "hist\0set_history(QStringList)\0hist_entry\0"
67  "append_history(QString)\0clear_history()\0"
68  "save_settings()\0update_filter_history()\0"
69  "enable\0filter_activate(bool)\0modelIndex\0"
70  "handle_double_click(QModelIndex)\0flag\0"
71  "handle_contextmenu_copy(bool)\0"
72  "handle_contextmenu_evaluate(bool)\0"
73  "handle_contextmenu_create_script(bool)\0"
74  "handle_contextmenu_filter()\0pos\0"
75  "ctxMenu(QPoint)\0copyClipboard()\0"
76  "pasteClipboard()\0selectAll()\0visible\0"
77  "handle_visibility(bool)\0"
78 };
79 
80 void history_dock_widget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
81 {
82  if (_c == QMetaObject::InvokeMetaMethod) {
83  Q_ASSERT(staticMetaObject.cast(_o));
84  history_dock_widget *_t = static_cast<history_dock_widget *>(_o);
85  switch (_id) {
86  case 0: _t->information((*reinterpret_cast< const QString(*)>(_a[1]))); break;
87  case 1: _t->command_double_clicked((*reinterpret_cast< const QString(*)>(_a[1]))); break;
88  case 2: _t->command_create_script((*reinterpret_cast< const QString(*)>(_a[1]))); break;
89  case 3: _t->set_history((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
90  case 4: _t->append_history((*reinterpret_cast< const QString(*)>(_a[1]))); break;
91  case 5: _t->clear_history(); break;
92  case 6: _t->save_settings(); break;
93  case 7: _t->update_filter_history(); break;
94  case 8: _t->filter_activate((*reinterpret_cast< bool(*)>(_a[1]))); break;
95  case 9: _t->handle_double_click((*reinterpret_cast< QModelIndex(*)>(_a[1]))); break;
96  case 10: _t->handle_contextmenu_copy((*reinterpret_cast< bool(*)>(_a[1]))); break;
97  case 11: _t->handle_contextmenu_evaluate((*reinterpret_cast< bool(*)>(_a[1]))); break;
98  case 12: _t->handle_contextmenu_create_script((*reinterpret_cast< bool(*)>(_a[1]))); break;
99  case 13: _t->handle_contextmenu_filter(); break;
100  case 14: _t->ctxMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
101  case 15: _t->copyClipboard(); break;
102  case 16: _t->pasteClipboard(); break;
103  case 17: _t->selectAll(); break;
104  case 18: _t->handle_visibility((*reinterpret_cast< bool(*)>(_a[1]))); break;
105  default: ;
106  }
107  }
108 }
109 
110 const QMetaObjectExtraData history_dock_widget::staticMetaObjectExtraData = {
111  0, qt_static_metacall
112 };
113 
114 const QMetaObject history_dock_widget::staticMetaObject = {
115  { &octave_dock_widget::staticMetaObject, qt_meta_stringdata_history_dock_widget,
116  qt_meta_data_history_dock_widget, &staticMetaObjectExtraData }
117 };
118 
119 #ifdef Q_NO_DATA_RELOCATION
120 const QMetaObject &history_dock_widget::getStaticMetaObject() { return staticMetaObject; }
121 #endif //Q_NO_DATA_RELOCATION
122 
123 const QMetaObject *history_dock_widget::metaObject() const
124 {
125  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
126 }
127 
128 void *history_dock_widget::qt_metacast(const char *_clname)
129 {
130  if (!_clname) return 0;
132  return static_cast<void*>(const_cast< history_dock_widget*>(this));
133  return octave_dock_widget::qt_metacast(_clname);
134 }
135 
136 int history_dock_widget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
137 {
138  _id = octave_dock_widget::qt_metacall(_c, _id, _a);
139  if (_id < 0)
140  return _id;
141  if (_c == QMetaObject::InvokeMetaMethod) {
142  if (_id < 19)
143  qt_static_metacall(this, _c, _id, _a);
144  _id -= 19;
145  }
146  return _id;
147 }
148 
149 // SIGNAL 0
150 void history_dock_widget::information(const QString & _t1)
151 {
152  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
153  QMetaObject::activate(this, &staticMetaObject, 0, _a);
154 }
155 
156 // SIGNAL 1
158 {
159  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
160  QMetaObject::activate(this, &staticMetaObject, 1, _a);
161 }
162 
163 // SIGNAL 2
165 {
166  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
167  QMetaObject::activate(this, &staticMetaObject, 2, _a);
168 }
169 QT_END_MOC_NAMESPACE
void information(const QString &message)
bool strcmp(const T &str_a, const T &str_b)
True if strings are the same.
Definition: oct-string.cc:112
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[]