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-shortcut-manager.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 'shortcut-manager.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/shortcut-manager.h"
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'shortcut-manager.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_enter_shortcut[] = {
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  16, 15, 15, 15, 0x0a,
37 
38  0 // eod
39 };
40 
41 static const char qt_meta_stringdata_enter_shortcut[] = {
42  "enter_shortcut\0\0handle_direct_shortcut(int)\0"
43 };
44 
45 void enter_shortcut::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  enter_shortcut *_t = static_cast<enter_shortcut *>(_o);
50  switch (_id) {
51  case 0: _t->handle_direct_shortcut((*reinterpret_cast< int(*)>(_a[1]))); break;
52  default: ;
53  }
54  }
55 }
56 
57 const QMetaObjectExtraData enter_shortcut::staticMetaObjectExtraData = {
58  0, qt_static_metacall
59 };
60 
61 const QMetaObject enter_shortcut::staticMetaObject = {
62  { &QLineEdit::staticMetaObject, qt_meta_stringdata_enter_shortcut,
63  qt_meta_data_enter_shortcut, &staticMetaObjectExtraData }
64 };
65 
66 #ifdef Q_NO_DATA_RELOCATION
67 const QMetaObject &enter_shortcut::getStaticMetaObject() { return staticMetaObject; }
68 #endif //Q_NO_DATA_RELOCATION
69 
70 const QMetaObject *enter_shortcut::metaObject() const
71 {
72  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
73 }
74 
75 void *enter_shortcut::qt_metacast(const char *_clname)
76 {
77  if (!_clname) return 0;
78  if (!strcmp(_clname, qt_meta_stringdata_enter_shortcut))
79  return static_cast<void*>(const_cast< enter_shortcut*>(this));
80  return QLineEdit::qt_metacast(_clname);
81 }
82 
83 int enter_shortcut::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
84 {
85  _id = QLineEdit::qt_metacall(_c, _id, _a);
86  if (_id < 0)
87  return _id;
88  if (_c == QMetaObject::InvokeMetaMethod) {
89  if (_id < 1)
90  qt_static_metacall(this, _c, _id, _a);
91  _id -= 1;
92  }
93  return _id;
94 }
95 static const uint qt_meta_data_shortcut_manager[] = {
96 
97  // content:
98  6, // revision
99  0, // classname
100  0, 0, // classinfo
101  3, 14, // methods
102  0, 0, // properties
103  0, 0, // enums/sets
104  0, 0, // constructors
105  0, // flags
106  0, // signalCount
107 
108  // slots: signature, parameters, type, tag, flags
109  20, 18, 17, 17, 0x09,
110  64, 17, 17, 17, 0x09,
111  94, 17, 17, 17, 0x09,
112 
113  0 // eod
114 };
115 
116 static const char qt_meta_stringdata_shortcut_manager[] = {
117  "shortcut_manager\0\0,\0"
118  "handle_double_clicked(QTreeWidgetItem*,int)\0"
119  "shortcut_dialog_finished(int)\0"
120  "shortcut_dialog_set_default()\0"
121 };
122 
123 void shortcut_manager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
124 {
125  if (_c == QMetaObject::InvokeMetaMethod) {
126  Q_ASSERT(staticMetaObject.cast(_o));
127  shortcut_manager *_t = static_cast<shortcut_manager *>(_o);
128  switch (_id) {
129  case 0: _t->handle_double_clicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
130  case 1: _t->shortcut_dialog_finished((*reinterpret_cast< int(*)>(_a[1]))); break;
131  case 2: _t->shortcut_dialog_set_default(); break;
132  default: ;
133  }
134  }
135 }
136 
137 const QMetaObjectExtraData shortcut_manager::staticMetaObjectExtraData = {
138  0, qt_static_metacall
139 };
140 
141 const QMetaObject shortcut_manager::staticMetaObject = {
142  { &QWidget::staticMetaObject, qt_meta_stringdata_shortcut_manager,
143  qt_meta_data_shortcut_manager, &staticMetaObjectExtraData }
144 };
145 
146 #ifdef Q_NO_DATA_RELOCATION
147 const QMetaObject &shortcut_manager::getStaticMetaObject() { return staticMetaObject; }
148 #endif //Q_NO_DATA_RELOCATION
149 
150 const QMetaObject *shortcut_manager::metaObject() const
151 {
152  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
153 }
154 
155 void *shortcut_manager::qt_metacast(const char *_clname)
156 {
157  if (!_clname) return 0;
158  if (!strcmp(_clname, qt_meta_stringdata_shortcut_manager))
159  return static_cast<void*>(const_cast< shortcut_manager*>(this));
160  return QWidget::qt_metacast(_clname);
161 }
162 
163 int shortcut_manager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
164 {
165  _id = QWidget::qt_metacall(_c, _id, _a);
166  if (_id < 0)
167  return _id;
168  if (_c == QMetaObject::InvokeMetaMethod) {
169  if (_id < 3)
170  qt_static_metacall(this, _c, _id, _a);
171  _id -= 3;
172  }
173  return _id;
174 }
175 QT_END_MOC_NAMESPACE
static const uint qt_meta_data_shortcut_manager[]
static const char qt_meta_stringdata_enter_shortcut[]
void handle_double_clicked(QTreeWidgetItem *, int)
void handle_direct_shortcut(int)
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_enter_shortcut[]
static const char qt_meta_stringdata_shortcut_manager[]