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-Menu.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 'Menu.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 "graphics/Menu.h"
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'Menu.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_QtHandles__Menu[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  2, 14, // methods
29  0, 0, // properties
30  0, 0, // enums/sets
31  0, 0, // constructors
32  0, // flags
33  0, // signalCount
34 
35  // slots: signature, parameters, type, tag, flags
36  17, 16, 16, 16, 0x08,
37  35, 16, 16, 16, 0x08,
38 
39  0 // eod
40 };
41 
42 static const char qt_meta_stringdata_QtHandles__Menu[] = {
43  "QtHandles::Menu\0\0actionTriggered()\0"
44  "actionHovered()\0"
45 };
46 
47 void QtHandles::Menu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
48 {
49  if (_c == QMetaObject::InvokeMetaMethod) {
50  Q_ASSERT(staticMetaObject.cast(_o));
51  Menu *_t = static_cast<Menu *>(_o);
52  switch (_id) {
53  case 0: _t->actionTriggered(); break;
54  case 1: _t->actionHovered(); break;
55  default: ;
56  }
57  }
58  Q_UNUSED(_a);
59 }
60 
61 const QMetaObjectExtraData QtHandles::Menu::staticMetaObjectExtraData = {
62  0, qt_static_metacall
63 };
64 
65 const QMetaObject QtHandles::Menu::staticMetaObject = {
66  { &Object::staticMetaObject, qt_meta_stringdata_QtHandles__Menu,
67  qt_meta_data_QtHandles__Menu, &staticMetaObjectExtraData }
68 };
69 
70 #ifdef Q_NO_DATA_RELOCATION
71 const QMetaObject &QtHandles::Menu::getStaticMetaObject() { return staticMetaObject; }
72 #endif //Q_NO_DATA_RELOCATION
73 
74 const QMetaObject *QtHandles::Menu::metaObject() const
75 {
76  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
77 }
78 
79 void *QtHandles::Menu::qt_metacast(const char *_clname)
80 {
81  if (!_clname) return 0;
82  if (!strcmp(_clname, qt_meta_stringdata_QtHandles__Menu))
83  return static_cast<void*>(const_cast< Menu*>(this));
84  if (!strcmp(_clname, "MenuContainer"))
85  return static_cast< MenuContainer*>(const_cast< Menu*>(this));
86  return Object::qt_metacast(_clname);
87 }
88 
89 int QtHandles::Menu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
90 {
91  _id = Object::qt_metacall(_c, _id, _a);
92  if (_id < 0)
93  return _id;
94  if (_c == QMetaObject::InvokeMetaMethod) {
95  if (_id < 2)
96  qt_static_metacall(this, _c, _id, _a);
97  _id -= 2;
98  }
99  return _id;
100 }
101 QT_END_MOC_NAMESPACE
static const char qt_meta_stringdata_QtHandles__Menu[]
Definition: moc-Menu.cc:42
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_QtHandles__Menu[]
Definition: moc-Menu.cc:22
Menu(const graphics_object &go, QAction *action, Object *parent)
Definition: Menu.cc:76