ckb-next  v0.2.8 at branch master
ckb-next driver for corsair devices
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
moc_fwupgradedialog.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'fwupgradedialog.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "../fwupgradedialog.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'fwupgradedialog.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.7.1. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
22  QByteArrayData data[10];
23  char stringdata0[133];
24 };
25 #define QT_MOC_LITERAL(idx, ofs, len) \
26  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27  qptrdiff(offsetof(qt_meta_stringdata_FwUpgradeDialog_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 15), // "FwUpgradeDialog"
33 QT_MOC_LITERAL(1, 16, 16), // "fwUpdateProgress"
34 QT_MOC_LITERAL(2, 33, 0), // ""
35 QT_MOC_LITERAL(3, 34, 7), // "current"
36 QT_MOC_LITERAL(4, 42, 5), // "total"
37 QT_MOC_LITERAL(5, 48, 16), // "fwUpdateFinished"
38 QT_MOC_LITERAL(6, 65, 9), // "succeeded"
39 QT_MOC_LITERAL(7, 75, 9), // "removeDev"
40 QT_MOC_LITERAL(8, 85, 23), // "on_cancelButton_clicked"
41 QT_MOC_LITERAL(9, 109, 23) // "on_actionButton_clicked"
42 
43  },
44  "FwUpgradeDialog\0fwUpdateProgress\0\0"
45  "current\0total\0fwUpdateFinished\0succeeded\0"
46  "removeDev\0on_cancelButton_clicked\0"
47  "on_actionButton_clicked"
48 };
49 #undef QT_MOC_LITERAL
50 
51 static const uint qt_meta_data_FwUpgradeDialog[] = {
52 
53  // content:
54  7, // revision
55  0, // classname
56  0, 0, // classinfo
57  5, 14, // methods
58  0, 0, // properties
59  0, 0, // enums/sets
60  0, 0, // constructors
61  0, // flags
62  0, // signalCount
63 
64  // slots: name, argc, parameters, tag, flags
65  1, 2, 39, 2, 0x08 /* Private */,
66  5, 1, 44, 2, 0x08 /* Private */,
67  7, 0, 47, 2, 0x08 /* Private */,
68  8, 0, 48, 2, 0x08 /* Private */,
69  9, 0, 49, 2, 0x08 /* Private */,
70 
71  // slots: parameters
72  QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
73  QMetaType::Void, QMetaType::Bool, 6,
74  QMetaType::Void,
75  QMetaType::Void,
76  QMetaType::Void,
77 
78  0 // eod
79 };
80 
81 void FwUpgradeDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
82 {
83  if (_c == QMetaObject::InvokeMetaMethod) {
84  FwUpgradeDialog *_t = static_cast<FwUpgradeDialog *>(_o);
85  Q_UNUSED(_t)
86  switch (_id) {
87  case 0: _t->fwUpdateProgress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
88  case 1: _t->fwUpdateFinished((*reinterpret_cast< bool(*)>(_a[1]))); break;
89  case 2: _t->removeDev(); break;
90  case 3: _t->on_cancelButton_clicked(); break;
91  case 4: _t->on_actionButton_clicked(); break;
92  default: ;
93  }
94  }
95 }
96 
97 const QMetaObject FwUpgradeDialog::staticMetaObject = {
98  { &QDialog::staticMetaObject, qt_meta_stringdata_FwUpgradeDialog.data,
99  qt_meta_data_FwUpgradeDialog, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
100 };
101 
102 
103 const QMetaObject *FwUpgradeDialog::metaObject() const
104 {
105  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
106 }
107 
108 void *FwUpgradeDialog::qt_metacast(const char *_clname)
109 {
110  if (!_clname) return Q_NULLPTR;
111  if (!strcmp(_clname, qt_meta_stringdata_FwUpgradeDialog.stringdata0))
112  return static_cast<void*>(const_cast< FwUpgradeDialog*>(this));
113  return QDialog::qt_metacast(_clname);
114 }
115 
116 int FwUpgradeDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
117 {
118  _id = QDialog::qt_metacall(_c, _id, _a);
119  if (_id < 0)
120  return _id;
121  if (_c == QMetaObject::InvokeMetaMethod) {
122  if (_id < 5)
123  qt_static_metacall(this, _c, _id, _a);
124  _id -= 5;
125  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
126  if (_id < 5)
127  *reinterpret_cast<int*>(_a[0]) = -1;
128  _id -= 5;
129  }
130  return _id;
131 }
132 QT_END_MOC_NAMESPACE
void fwUpdateFinished(bool succeeded)
#define QT_MOC_LITERAL(idx, ofs, len)
void on_cancelButton_clicked()
static const qt_meta_stringdata_FwUpgradeDialog_t qt_meta_stringdata_FwUpgradeDialog
void on_actionButton_clicked()
static const uint qt_meta_data_FwUpgradeDialog[]
void fwUpdateProgress(int current, int total)