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-octave-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 'octave-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 
12 #include "src/octave-dock-widget.h"
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'octave-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_octave_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  1, // signalCount
34 
35  // signals: signature, parameters, type, tag, flags
36  27, 20, 19, 19, 0x05,
37 
38  // slots: signature, parameters, type, tag, flags
39  48, 19, 19, 19, 0x0a,
40  64, 56, 19, 19, 0x0a,
41  88, 19, 19, 19, 0x0a,
42  122, 19, 19, 19, 0x0a,
43  158, 156, 19, 19, 0x0a,
44  239, 19, 226, 19, 0x0a,
45  250, 56, 19, 19, 0x09,
46  282, 19, 19, 19, 0x09,
47  298, 19, 19, 19, 0x09,
48  315, 19, 19, 19, 0x09,
49  327, 19, 19, 19, 0x09,
50  348, 342, 337, 19, 0x09,
51  390, 378, 19, 19, 0x09,
52  419, 19, 19, 19, 0x08,
53  441, 19, 19, 19, 0x08,
54 
55  0 // eod
56 };
57 
59  "octave_dock_widget\0\0active\0"
60  "active_changed(bool)\0focus()\0visible\0"
61  "handle_visibility(bool)\0"
62  "notice_settings(const QSettings*)\0"
63  "handle_settings(const QSettings*)\0,\0"
64  "handle_active_dock_changed(octave_dock_widget*,octave_dock_widget*)\0"
65  "QMainWindow*\0main_win()\0"
66  "handle_visibility_changed(bool)\0"
67  "copyClipboard()\0pasteClipboard()\0"
68  "selectAll()\0do_undo()\0bool\0obj,e\0"
69  "eventFilter(QObject*,QEvent*)\0action_list\0"
70  "add_actions(QList<QAction*>)\0"
71  "change_floating(bool)\0change_visibility(bool)\0"
72 };
73 
74 void octave_dock_widget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
75 {
76  if (_c == QMetaObject::InvokeMetaMethod) {
77  Q_ASSERT(staticMetaObject.cast(_o));
78  octave_dock_widget *_t = static_cast<octave_dock_widget *>(_o);
79  switch (_id) {
80  case 0: _t->active_changed((*reinterpret_cast< bool(*)>(_a[1]))); break;
81  case 1: _t->focus(); break;
82  case 2: _t->handle_visibility((*reinterpret_cast< bool(*)>(_a[1]))); break;
83  case 3: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
84  case 4: _t->handle_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
85  case 5: _t->handle_active_dock_changed((*reinterpret_cast< octave_dock_widget*(*)>(_a[1])),(*reinterpret_cast< octave_dock_widget*(*)>(_a[2]))); break;
86  case 6: { QMainWindow* _r = _t->main_win();
87  if (_a[0]) *reinterpret_cast< QMainWindow**>(_a[0]) = _r; } break;
88  case 7: _t->handle_visibility_changed((*reinterpret_cast< bool(*)>(_a[1]))); break;
89  case 8: _t->copyClipboard(); break;
90  case 9: _t->pasteClipboard(); break;
91  case 10: _t->selectAll(); break;
92  case 11: _t->do_undo(); break;
93  case 12: { bool _r = _t->eventFilter((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< QEvent*(*)>(_a[2])));
94  if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
95  case 13: _t->add_actions((*reinterpret_cast< QList<QAction*>(*)>(_a[1]))); break;
96  case 14: _t->change_floating((*reinterpret_cast< bool(*)>(_a[1]))); break;
97  case 15: _t->change_visibility((*reinterpret_cast< bool(*)>(_a[1]))); break;
98  default: ;
99  }
100  }
101 }
102 
103 const QMetaObjectExtraData octave_dock_widget::staticMetaObjectExtraData = {
104  0, qt_static_metacall
105 };
106 
107 const QMetaObject octave_dock_widget::staticMetaObject = {
108  { &QDockWidget::staticMetaObject, qt_meta_stringdata_octave_dock_widget,
109  qt_meta_data_octave_dock_widget, &staticMetaObjectExtraData }
110 };
111 
112 #ifdef Q_NO_DATA_RELOCATION
113 const QMetaObject &octave_dock_widget::getStaticMetaObject() { return staticMetaObject; }
114 #endif //Q_NO_DATA_RELOCATION
115 
116 const QMetaObject *octave_dock_widget::metaObject() const
117 {
118  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
119 }
120 
121 void *octave_dock_widget::qt_metacast(const char *_clname)
122 {
123  if (!_clname) return 0;
124  if (!strcmp(_clname, qt_meta_stringdata_octave_dock_widget))
125  return static_cast<void*>(const_cast< octave_dock_widget*>(this));
126  return QDockWidget::qt_metacast(_clname);
127 }
128 
129 int octave_dock_widget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
130 {
131  _id = QDockWidget::qt_metacall(_c, _id, _a);
132  if (_id < 0)
133  return _id;
134  if (_c == QMetaObject::InvokeMetaMethod) {
135  if (_id < 16)
136  qt_static_metacall(this, _c, _id, _a);
137  _id -= 16;
138  }
139  return _id;
140 }
141 
142 // SIGNAL 0
144 {
145  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
146  QMetaObject::activate(this, &staticMetaObject, 0, _a);
147 }
148 QT_END_MOC_NAMESPACE
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_octave_dock_widget[]
void active_changed(bool active)
Custom signal that tells whether a user has clicked away that dock widget, i.e the active dock widget...
static const char qt_meta_stringdata_octave_dock_widget[]