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-ContextMenu.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 'ContextMenu.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/ContextMenu.h"
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'ContextMenu.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__ContextMenu[] = {
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  24, 23, 23, 23, 0x08,
37  38, 23, 23, 23, 0x08,
38 
39  0 // eod
40 };
41 
43  "QtHandles::ContextMenu\0\0aboutToShow()\0"
44  "aboutToHide()\0"
45 };
46 
47 void QtHandles::ContextMenu::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  ContextMenu *_t = static_cast<ContextMenu *>(_o);
52  switch (_id) {
53  case 0: _t->aboutToShow(); break;
54  case 1: _t->aboutToHide(); break;
55  default: ;
56  }
57  }
58  Q_UNUSED(_a);
59 }
60 
61 const QMetaObjectExtraData QtHandles::ContextMenu::staticMetaObjectExtraData = {
62  0, qt_static_metacall
63 };
64 
65 const QMetaObject QtHandles::ContextMenu::staticMetaObject = {
66  { &Object::staticMetaObject, qt_meta_stringdata_QtHandles__ContextMenu,
67  qt_meta_data_QtHandles__ContextMenu, &staticMetaObjectExtraData }
68 };
69 
70 #ifdef Q_NO_DATA_RELOCATION
71 const QMetaObject &QtHandles::ContextMenu::getStaticMetaObject() { return staticMetaObject; }
72 #endif //Q_NO_DATA_RELOCATION
73 
74 const QMetaObject *QtHandles::ContextMenu::metaObject() const
75 {
76  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
77 }
78 
79 void *QtHandles::ContextMenu::qt_metacast(const char *_clname)
80 {
81  if (!_clname) return 0;
82  if (!strcmp(_clname, qt_meta_stringdata_QtHandles__ContextMenu))
83  return static_cast<void*>(const_cast< ContextMenu*>(this));
84  if (!strcmp(_clname, "MenuContainer"))
85  return static_cast< MenuContainer*>(const_cast< ContextMenu*>(this));
86  return Object::qt_metacast(_clname);
87 }
88 
89 int QtHandles::ContextMenu::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
ContextMenu(const graphics_object &go, QMenu *menu)
Definition: ContextMenu.cc:51
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_QtHandles__ContextMenu[]
static const char qt_meta_stringdata_QtHandles__ContextMenu[]