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-octave-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 '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 
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, 19, 19, 19, 0x0a,
46  266, 56, 19, 19, 0x09,
47  298, 19, 19, 19, 0x09,
48  314, 19, 19, 19, 0x09,
49  331, 19, 19, 19, 0x09,
50  343, 19, 19, 19, 0x09,
51  364, 358, 353, 19, 0x09,
52  394, 19, 19, 19, 0x08,
53  416, 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()\0save_settings()\0"
66  "handle_visibility_changed(bool)\0"
67  "copyClipboard()\0pasteClipboard()\0"
68  "selectAll()\0do_undo()\0bool\0obj,e\0"
69  "eventFilter(QObject*,QEvent*)\0"
70  "change_floating(bool)\0change_visibility(bool)\0"
71 };
72 
73 void octave_dock_widget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
74 {
75  if (_c == QMetaObject::InvokeMetaMethod) {
76  Q_ASSERT(staticMetaObject.cast(_o));
77  octave_dock_widget *_t = static_cast<octave_dock_widget *>(_o);
78  switch (_id) {
79  case 0: _t->active_changed((*reinterpret_cast< bool(*)>(_a[1]))); break;
80  case 1: _t->focus(); break;
81  case 2: _t->handle_visibility((*reinterpret_cast< bool(*)>(_a[1]))); break;
82  case 3: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
83  case 4: _t->handle_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
84  case 5: _t->handle_active_dock_changed((*reinterpret_cast< octave_dock_widget*(*)>(_a[1])),(*reinterpret_cast< octave_dock_widget*(*)>(_a[2]))); break;
85  case 6: { QMainWindow* _r = _t->main_win();
86  if (_a[0]) *reinterpret_cast< QMainWindow**>(_a[0]) = _r; } break;
87  case 7: _t->save_settings(); break;
88  case 8: _t->handle_visibility_changed((*reinterpret_cast< bool(*)>(_a[1]))); break;
89  case 9: _t->copyClipboard(); break;
90  case 10: _t->pasteClipboard(); break;
91  case 11: _t->selectAll(); break;
92  case 12: _t->do_undo(); break;
93  case 13: { 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 14: _t->change_floating((*reinterpret_cast< bool(*)>(_a[1]))); break;
96  case 15: _t->change_visibility((*reinterpret_cast< bool(*)>(_a[1]))); break;
97  default: ;
98  }
99  }
100 }
101 
102 const QMetaObjectExtraData octave_dock_widget::staticMetaObjectExtraData = {
103  0, qt_static_metacall
104 };
105 
106 const QMetaObject octave_dock_widget::staticMetaObject = {
107  { &QDockWidget::staticMetaObject, qt_meta_stringdata_octave_dock_widget,
108  qt_meta_data_octave_dock_widget, &staticMetaObjectExtraData }
109 };
110 
111 #ifdef Q_NO_DATA_RELOCATION
112 const QMetaObject &octave_dock_widget::getStaticMetaObject() { return staticMetaObject; }
113 #endif //Q_NO_DATA_RELOCATION
114 
115 const QMetaObject *octave_dock_widget::metaObject() const
116 {
117  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
118 }
119 
120 void *octave_dock_widget::qt_metacast(const char *_clname)
121 {
122  if (!_clname) return 0;
124  return static_cast<void*>(const_cast< octave_dock_widget*>(this));
125  return QDockWidget::qt_metacast(_clname);
126 }
127 
128 int octave_dock_widget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
129 {
130  _id = QDockWidget::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
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 QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_octave_dock_widget[]
bool strcmp(const T &str_a, const T &str_b)
True if strings are the same.
Definition: oct-string.cc:112
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[]