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.)"
21 QT_BEGIN_MOC_NAMESPACE
43 "QtHandles::ContextMenu\0\0aboutToShow()\0"
47 void QtHandles::ContextMenu::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
49 if (_c == QMetaObject::InvokeMetaMethod) {
50 Q_ASSERT(staticMetaObject.cast(_o));
53 case 0: _t->aboutToShow();
break;
54 case 1: _t->aboutToHide();
break;
61 const QMetaObjectExtraData QtHandles::ContextMenu::staticMetaObjectExtraData = {
65 const QMetaObject QtHandles::ContextMenu::staticMetaObject = {
70 #ifdef Q_NO_DATA_RELOCATION
71 const QMetaObject &QtHandles::ContextMenu::getStaticMetaObject() {
return staticMetaObject; }
72 #endif //Q_NO_DATA_RELOCATION
74 const QMetaObject *QtHandles::ContextMenu::metaObject()
const
76 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
79 void *QtHandles::ContextMenu::qt_metacast(
const char *_clname)
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);
89 int QtHandles::ContextMenu::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
91 _id = Object::qt_metacall(_c, _id, _a);
94 if (_c == QMetaObject::InvokeMetaMethod) {
96 qt_static_metacall(
this, _c, _id, _a);
ContextMenu(const graphics_object &go, QMenu *menu)