9 #include "../mainwindow.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'mainwindow.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.)"
20 QT_BEGIN_MOC_NAMESPACE
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_MainWindow_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
56 "MainWindow\0showWindow\0\0stateChange\0"
57 "Qt::ApplicationState\0state\0quitApp\0"
58 "addDevice\0Kb*\0device\0removeDevice\0"
59 "updateVersion\0checkFwUpdates\0timerTick\0"
60 "iconClicked\0QSystemTrayIcon::ActivationReason\0"
61 "reason\0cleanup\0showFwUpdateNotification\0"
62 "QWidget*\0widget\0version"
94 QMetaType::Void, 0x80000000 | 4, 5,
96 QMetaType::Void, 0x80000000 | 8, 9,
97 QMetaType::Void, 0x80000000 | 8, 9,
101 QMetaType::Void, 0x80000000 | 15, 16,
103 QMetaType::Void, 0x80000000 | 19, QMetaType::Float, 20, 21,
108 void MainWindow::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
110 if (_c == QMetaObject::InvokeMetaMethod) {
115 case 1: _t->
stateChange((*
reinterpret_cast< Qt::ApplicationState(*)
>(_a[1])));
break;
117 case 3: _t->
addDevice((*
reinterpret_cast< Kb*(*)
>(_a[1])));
break;
118 case 4: _t->
removeDevice((*
reinterpret_cast< Kb*(*)
>(_a[1])));
break;
122 case 8: _t->
iconClicked((*
reinterpret_cast< QSystemTrayIcon::ActivationReason(*)
>(_a[1])));
break;
127 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
129 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
131 switch (*reinterpret_cast<int*>(_a[1])) {
132 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
134 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< Kb* >();
break;
138 switch (*reinterpret_cast<int*>(_a[1])) {
139 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
141 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< Kb* >();
break;
145 switch (*reinterpret_cast<int*>(_a[1])) {
146 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
148 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QWidget* >();
break;
155 const QMetaObject MainWindow::staticMetaObject = {
156 { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow.
data,
161 const QMetaObject *MainWindow::metaObject()
const
163 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
166 void *MainWindow::qt_metacast(
const char *_clname)
168 if (!_clname)
return Q_NULLPTR;
169 if (!strcmp(_clname, qt_meta_stringdata_MainWindow.
stringdata0))
170 return static_cast<void*
>(
const_cast< MainWindow*
>(
this));
171 return QMainWindow::qt_metacast(_clname);
174 int MainWindow::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
176 _id = QMainWindow::qt_metacall(_c, _id, _a);
179 if (_c == QMetaObject::InvokeMetaMethod) {
181 qt_static_metacall(
this, _c, _id, _a);
183 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
185 qt_static_metacall(
this, _c, _id, _a);
void stateChange(Qt::ApplicationState state)
void showFwUpdateNotification(QWidget *widget, float version)
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow
void removeDevice(Kb *device)
#define QT_MOC_LITERAL(idx, ofs, len)
void iconClicked(QSystemTrayIcon::ActivationReason reason)
void addDevice(Kb *device)
static const uint qt_meta_data_MainWindow[]