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-workspace-view.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 '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 
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  20, 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  114, 15, 15, 15, 0x0a,
42  134, 130, 15, 15, 0x09,
43  164, 15, 15, 15, 0x09,
44  190, 15, 15, 15, 0x09,
45  222, 15, 15, 15, 0x09,
46  250, 15, 15, 15, 0x09,
47  276, 15, 15, 15, 0x09,
48  302, 15, 15, 15, 0x09,
49  328, 15, 15, 15, 0x09,
50  361, 356, 15, 15, 0x09,
51  405, 398, 15, 15, 0x09,
52  424, 15, 15, 15, 0x09,
53  447, 15, 15, 15, 0x09,
54  463, 15, 15, 15, 0x09,
55  486, 475, 15, 15, 0x09,
56  516, 509, 15, 15, 0x09,
57  538, 15, 15, 15, 0x09,
58 
59  0 // eod
60 };
61 
62 static const char qt_meta_stringdata_workspace_view[] = {
63  "workspace_view\0\0cmd\0command_requested(QString)\0"
64  "notice_settings(const QSettings*)\0"
65  "model\0setModel(workspace_model*)\0"
66  "save_settings()\0pos\0contextmenu_requested(QPoint)\0"
67  "handle_contextmenu_copy()\0"
68  "handle_contextmenu_copy_value()\0"
69  "handle_contextmenu_rename()\0"
70  "handle_contextmenu_disp()\0"
71  "handle_contextmenu_plot()\0"
72  "handle_contextmenu_stem()\0"
73  "handle_contextmenu_filter()\0mpos\0"
74  "header_contextmenu_requested(QPoint)\0"
75  "column\0toggle_header(int)\0"
76  "handle_model_changed()\0copyClipboard()\0"
77  "selectAll()\0expression\0filter_update(QString)\0"
78  "enable\0filter_activate(bool)\0"
79  "update_filter_history()\0"
80 };
81 
82 void workspace_view::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
83 {
84  if (_c == QMetaObject::InvokeMetaMethod) {
85  Q_ASSERT(staticMetaObject.cast(_o));
86  workspace_view *_t = static_cast<workspace_view *>(_o);
87  switch (_id) {
88  case 0: _t->command_requested((*reinterpret_cast< const QString(*)>(_a[1]))); break;
89  case 1: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
90  case 2: _t->setModel((*reinterpret_cast< workspace_model*(*)>(_a[1]))); break;
91  case 3: _t->save_settings(); break;
92  case 4: _t->contextmenu_requested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
93  case 5: _t->handle_contextmenu_copy(); break;
94  case 6: _t->handle_contextmenu_copy_value(); break;
95  case 7: _t->handle_contextmenu_rename(); break;
96  case 8: _t->handle_contextmenu_disp(); break;
97  case 9: _t->handle_contextmenu_plot(); break;
98  case 10: _t->handle_contextmenu_stem(); break;
99  case 11: _t->handle_contextmenu_filter(); break;
100  case 12: _t->header_contextmenu_requested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
101  case 13: _t->toggle_header((*reinterpret_cast< int(*)>(_a[1]))); break;
102  case 14: _t->handle_model_changed(); break;
103  case 15: _t->copyClipboard(); break;
104  case 16: _t->selectAll(); break;
105  case 17: _t->filter_update((*reinterpret_cast< const QString(*)>(_a[1]))); break;
106  case 18: _t->filter_activate((*reinterpret_cast< bool(*)>(_a[1]))); break;
107  case 19: _t->update_filter_history(); break;
108  default: ;
109  }
110  }
111 }
112 
113 const QMetaObjectExtraData workspace_view::staticMetaObjectExtraData = {
114  0, qt_static_metacall
115 };
116 
117 const QMetaObject workspace_view::staticMetaObject = {
118  { &octave_dock_widget::staticMetaObject, qt_meta_stringdata_workspace_view,
119  qt_meta_data_workspace_view, &staticMetaObjectExtraData }
120 };
121 
122 #ifdef Q_NO_DATA_RELOCATION
123 const QMetaObject &workspace_view::getStaticMetaObject() { return staticMetaObject; }
124 #endif //Q_NO_DATA_RELOCATION
125 
126 const QMetaObject *workspace_view::metaObject() const
127 {
128  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
129 }
130 
131 void *workspace_view::qt_metacast(const char *_clname)
132 {
133  if (!_clname) return 0;
135  return static_cast<void*>(const_cast< workspace_view*>(this));
136  return octave_dock_widget::qt_metacast(_clname);
137 }
138 
139 int workspace_view::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
140 {
141  _id = octave_dock_widget::qt_metacall(_c, _id, _a);
142  if (_id < 0)
143  return _id;
144  if (_c == QMetaObject::InvokeMetaMethod) {
145  if (_id < 20)
146  qt_static_metacall(this, _c, _id, _a);
147  _id -= 20;
148  }
149  return _id;
150 }
151 
152 // SIGNAL 0
153 void workspace_view::command_requested(const QString & _t1)
154 {
155  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
156  QMetaObject::activate(this, &staticMetaObject, 0, _a);
157 }
158 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
bool strcmp(const T &str_a, const T &str_b)
True if strings are the same.
Definition: oct-string.cc:112
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_workspace_view[]