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-color-picker.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 'color-picker.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 "src/color-picker.h"
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'color-picker.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_color_picker[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  1, 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  14, 13, 13, 13, 0x08,
37 
38  0 // eod
39 };
40 
41 static const char qt_meta_stringdata_color_picker[] = {
42  "color_picker\0\0select_color()\0"
43 };
44 
45 void color_picker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
46 {
47  if (_c == QMetaObject::InvokeMetaMethod) {
48  Q_ASSERT(staticMetaObject.cast(_o));
49  color_picker *_t = static_cast<color_picker *>(_o);
50  switch (_id) {
51  case 0: _t->select_color(); break;
52  default: ;
53  }
54  }
55  Q_UNUSED(_a);
56 }
57 
58 const QMetaObjectExtraData color_picker::staticMetaObjectExtraData = {
59  0, qt_static_metacall
60 };
61 
62 const QMetaObject color_picker::staticMetaObject = {
63  { &QPushButton::staticMetaObject, qt_meta_stringdata_color_picker,
64  qt_meta_data_color_picker, &staticMetaObjectExtraData }
65 };
66 
67 #ifdef Q_NO_DATA_RELOCATION
68 const QMetaObject &color_picker::getStaticMetaObject() { return staticMetaObject; }
69 #endif //Q_NO_DATA_RELOCATION
70 
71 const QMetaObject *color_picker::metaObject() const
72 {
73  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
74 }
75 
76 void *color_picker::qt_metacast(const char *_clname)
77 {
78  if (!_clname) return 0;
79  if (!strcmp(_clname, qt_meta_stringdata_color_picker))
80  return static_cast<void*>(const_cast< color_picker*>(this));
81  return QPushButton::qt_metacast(_clname);
82 }
83 
84 int color_picker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
85 {
86  _id = QPushButton::qt_metacall(_c, _id, _a);
87  if (_id < 0)
88  return _id;
89  if (_c == QMetaObject::InvokeMetaMethod) {
90  if (_id < 1)
91  qt_static_metacall(this, _c, _id, _a);
92  _id -= 1;
93  }
94  return _id;
95 }
96 QT_END_MOC_NAMESPACE
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_color_picker[]
void select_color()
Definition: color-picker.cc:45
static const char qt_meta_stringdata_color_picker[]