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-workspace-view.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 'workspace-view.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 
12 #include "src/workspace-view.h"
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'workspace-view.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_workspace_view[] = {
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  1, // signalCount
34 
35  // signals: signature, parameters, type, tag, flags
36  20, 16, 15, 15, 0x05,
37 
38  // slots: signature, parameters, type, tag, flags
39  47, 15, 15, 15, 0x0a,
40  87, 81, 15, 15, 0x0a,
41  118, 114, 15, 15, 0x09,
42  148, 15, 15, 15, 0x09,
43  174, 15, 15, 15, 0x09,
44  206, 15, 15, 15, 0x09,
45  234, 15, 15, 15, 0x09,
46  260, 15, 15, 15, 0x09,
47  286, 15, 15, 15, 0x09,
48  312, 15, 15, 15, 0x09,
49  335, 15, 15, 15, 0x09,
50  351, 15, 15, 15, 0x09,
51  374, 363, 15, 15, 0x09,
52  404, 397, 15, 15, 0x09,
53  426, 15, 15, 15, 0x09,
54 
55  0 // eod
56 };
57 
58 static const char qt_meta_stringdata_workspace_view[] = {
59  "workspace_view\0\0cmd\0command_requested(QString)\0"
60  "notice_settings(const QSettings*)\0"
61  "model\0setModel(workspace_model*)\0pos\0"
62  "contextmenu_requested(QPoint)\0"
63  "handle_contextmenu_copy()\0"
64  "handle_contextmenu_copy_value()\0"
65  "handle_contextmenu_rename()\0"
66  "handle_contextmenu_disp()\0"
67  "handle_contextmenu_plot()\0"
68  "handle_contextmenu_stem()\0"
69  "handle_model_changed()\0copyClipboard()\0"
70  "selectAll()\0expression\0filter_update(QString)\0"
71  "enable\0filter_activate(bool)\0"
72  "update_filter_history()\0"
73 };
74 
75 void workspace_view::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  workspace_view *_t = static_cast<workspace_view *>(_o);
80  switch (_id) {
81  case 0: _t->command_requested((*reinterpret_cast< const QString(*)>(_a[1]))); break;
82  case 1: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
83  case 2: _t->setModel((*reinterpret_cast< workspace_model*(*)>(_a[1]))); break;
84  case 3: _t->contextmenu_requested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
85  case 4: _t->handle_contextmenu_copy(); break;
86  case 5: _t->handle_contextmenu_copy_value(); break;
87  case 6: _t->handle_contextmenu_rename(); break;
88  case 7: _t->handle_contextmenu_disp(); break;
89  case 8: _t->handle_contextmenu_plot(); break;
90  case 9: _t->handle_contextmenu_stem(); break;
91  case 10: _t->handle_model_changed(); break;
92  case 11: _t->copyClipboard(); break;
93  case 12: _t->selectAll(); break;
94  case 13: _t->filter_update((*reinterpret_cast< const QString(*)>(_a[1]))); break;
95  case 14: _t->filter_activate((*reinterpret_cast< bool(*)>(_a[1]))); break;
96  case 15: _t->update_filter_history(); break;
97  default: ;
98  }
99  }
100 }
101 
102 const QMetaObjectExtraData workspace_view::staticMetaObjectExtraData = {
103  0, qt_static_metacall
104 };
105 
106 const QMetaObject workspace_view::staticMetaObject = {
107  { &octave_dock_widget::staticMetaObject, qt_meta_stringdata_workspace_view,
108  qt_meta_data_workspace_view, &staticMetaObjectExtraData }
109 };
110 
111 #ifdef Q_NO_DATA_RELOCATION
112 const QMetaObject &workspace_view::getStaticMetaObject() { return staticMetaObject; }
113 #endif //Q_NO_DATA_RELOCATION
114 
115 const QMetaObject *workspace_view::metaObject() const
116 {
117  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
118 }
119 
120 void *workspace_view::qt_metacast(const char *_clname)
121 {
122  if (!_clname) return 0;
123  if (!strcmp(_clname, qt_meta_stringdata_workspace_view))
124  return static_cast<void*>(const_cast< workspace_view*>(this));
125  return octave_dock_widget::qt_metacast(_clname);
126 }
127 
128 int workspace_view::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 workspace_view::command_requested(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 QT_END_MOC_NAMESPACE
static const char qt_meta_stringdata_workspace_view[]
void command_requested(const QString &cmd)
signal that user had requested a command on a variable
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_workspace_view[]