OpenCVWidget
 All Classes Files Functions Variables
moc_opencvviewer.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'opencvviewer.h'
3 **
4 ** Created: Thu Sep 20 13:53:07 2012
5 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
9 
10 #include "../openCVViewer/opencvviewer.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'opencvviewer.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 63
14 #error "This file was generated using the moc from 4.8.1. It"
15 #error "cannot be used with the include files from this version of Qt."
16 #error "(The moc has changed too much.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_OpenCVViewer[] = {
21 
22  // content:
23  6, // revision
24  0, // classname
25  0, 0, // classinfo
26  3, 14, // methods
27  0, 0, // properties
28  0, 0, // enums/sets
29  0, 0, // constructors
30  0, // flags
31  2, // signalCount
32 
33  // signals: signature, parameters, type, tag, flags
34  20, 14, 13, 13, 0x05,
35  47, 14, 13, 13, 0x05,
36 
37  // slots: signature, parameters, type, tag, flags
38  81, 72, 13, 13, 0x0a,
39 
40  0 // eod
41 };
42 
43 static const char qt_meta_stringdata_OpenCVViewer[] = {
44  "OpenCVViewer\0\0event\0mouseClicked(QMouseEvent*)\0"
45  "mouseMoved(QMouseEvent*)\0newImage\0"
46  "setImage(cv::Mat)\0"
47 };
48 
49 void OpenCVViewer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
50 {
51  if (_c == QMetaObject::InvokeMetaMethod) {
52  Q_ASSERT(staticMetaObject.cast(_o));
53  OpenCVViewer *_t = static_cast<OpenCVViewer *>(_o);
54  switch (_id) {
55  case 0: _t->mouseClicked((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
56  case 1: _t->mouseMoved((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
57  case 2: _t->setImage((*reinterpret_cast< cv::Mat(*)>(_a[1]))); break;
58  default: ;
59  }
60  }
61 }
62 
63 const QMetaObjectExtraData OpenCVViewer::staticMetaObjectExtraData = {
64  0, qt_static_metacall
65 };
66 
67 const QMetaObject OpenCVViewer::staticMetaObject = {
68  { &QGLWidget::staticMetaObject, qt_meta_stringdata_OpenCVViewer,
69  qt_meta_data_OpenCVViewer, &staticMetaObjectExtraData }
70 };
71 
72 #ifdef Q_NO_DATA_RELOCATION
73 const QMetaObject &OpenCVViewer::getStaticMetaObject() { return staticMetaObject; }
74 #endif //Q_NO_DATA_RELOCATION
75 
76 const QMetaObject *OpenCVViewer::metaObject() const
77 {
78  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
79 }
80 
81 void *OpenCVViewer::qt_metacast(const char *_clname)
82 {
83  if (!_clname) return 0;
84  if (!strcmp(_clname, qt_meta_stringdata_OpenCVViewer))
85  return static_cast<void*>(const_cast< OpenCVViewer*>(this));
86  return QGLWidget::qt_metacast(_clname);
87 }
88 
89 int OpenCVViewer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
90 {
91  _id = QGLWidget::qt_metacall(_c, _id, _a);
92  if (_id < 0)
93  return _id;
94  if (_c == QMetaObject::InvokeMetaMethod) {
95  if (_id < 3)
96  qt_static_metacall(this, _c, _id, _a);
97  _id -= 3;
98  }
99  return _id;
100 }
101 
102 // SIGNAL 0
103 void OpenCVViewer::mouseClicked(QMouseEvent * _t1)
104 {
105  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
106  QMetaObject::activate(this, &staticMetaObject, 0, _a);
107 }
108 
109 // SIGNAL 1
110 void OpenCVViewer::mouseMoved(QMouseEvent * _t1)
111 {
112  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
113  QMetaObject::activate(this, &staticMetaObject, 1, _a);
114 }
115 QT_END_MOC_NAMESPACE