Bitcoin Core  27.1.0
P2P Digital Currency
moc_notificator.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'notificator.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.7)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "qt/notificator.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'notificator.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.12.7. 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
21 QT_WARNING_PUSH
22 QT_WARNING_DISABLE_DEPRECATED
24  QByteArrayData data[9];
25  char stringdata0[60];
26 };
27 #define QT_MOC_LITERAL(idx, ofs, len) \
28  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29  qptrdiff(offsetof(qt_meta_stringdata_Notificator_t, stringdata0) + ofs \
30  - idx * sizeof(QByteArrayData)) \
31  )
33  {
34 QT_MOC_LITERAL(0, 0, 11), // "Notificator"
35 QT_MOC_LITERAL(1, 12, 6), // "notify"
36 QT_MOC_LITERAL(2, 19, 0), // ""
37 QT_MOC_LITERAL(3, 20, 5), // "Class"
38 QT_MOC_LITERAL(4, 26, 3), // "cls"
39 QT_MOC_LITERAL(5, 30, 5), // "title"
40 QT_MOC_LITERAL(6, 36, 4), // "text"
41 QT_MOC_LITERAL(7, 41, 4), // "icon"
42 QT_MOC_LITERAL(8, 46, 13) // "millisTimeout"
43 
44  },
45  "Notificator\0notify\0\0Class\0cls\0title\0"
46  "text\0icon\0millisTimeout"
47 };
48 #undef QT_MOC_LITERAL
49 
50 static const uint qt_meta_data_Notificator[] = {
51 
52  // content:
53  8, // revision
54  0, // classname
55  0, 0, // classinfo
56  3, 14, // methods
57  0, 0, // properties
58  0, 0, // enums/sets
59  0, 0, // constructors
60  0, // flags
61  0, // signalCount
62 
63  // slots: name, argc, parameters, tag, flags
64  1, 5, 29, 2, 0x0a /* Public */,
65  1, 4, 40, 2, 0x2a /* Public | MethodCloned */,
66  1, 3, 49, 2, 0x2a /* Public | MethodCloned */,
67 
68  // slots: parameters
69  QMetaType::Void, 0x80000000 | 3, QMetaType::QString, QMetaType::QString, QMetaType::QIcon, QMetaType::Int, 4, 5, 6, 7, 8,
70  QMetaType::Void, 0x80000000 | 3, QMetaType::QString, QMetaType::QString, QMetaType::QIcon, 4, 5, 6, 7,
71  QMetaType::Void, 0x80000000 | 3, QMetaType::QString, QMetaType::QString, 4, 5, 6,
72 
73  0 // eod
74 };
75 
76 void Notificator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
77 {
78  if (_c == QMetaObject::InvokeMetaMethod) {
79  auto *_t = static_cast<Notificator *>(_o);
80  Q_UNUSED(_t)
81  switch (_id) {
82  case 0: _t->notify((*reinterpret_cast< Class(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QIcon(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
83  case 1: _t->notify((*reinterpret_cast< Class(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QIcon(*)>(_a[4]))); break;
84  case 2: _t->notify((*reinterpret_cast< Class(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
85  default: ;
86  }
87  }
88 }
89 
90 QT_INIT_METAOBJECT const QMetaObject Notificator::staticMetaObject = { {
91  &QObject::staticMetaObject,
94  qt_static_metacall,
95  nullptr,
96  nullptr
97 } };
98 
99 
100 const QMetaObject *Notificator::metaObject() const
101 {
102  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
103 }
104 
105 void *Notificator::qt_metacast(const char *_clname)
106 {
107  if (!_clname) return nullptr;
108  if (!strcmp(_clname, qt_meta_stringdata_Notificator.stringdata0))
109  return static_cast<void*>(this);
110  return QObject::qt_metacast(_clname);
111 }
112 
113 int Notificator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
114 {
115  _id = QObject::qt_metacall(_c, _id, _a);
116  if (_id < 0)
117  return _id;
118  if (_c == QMetaObject::InvokeMetaMethod) {
119  if (_id < 3)
120  qt_static_metacall(this, _c, _id, _a);
121  _id -= 3;
122  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
123  if (_id < 3)
124  *reinterpret_cast<int*>(_a[0]) = -1;
125  _id -= 3;
126  }
127  return _id;
128 }
129 QT_WARNING_POP
130 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
void notify(Class cls, const QString &title, const QString &text, const QIcon &icon=QIcon(), int millisTimeout=10000)
Show notification message.
Cross-platform desktop notification client.
Definition: notificator.h:24
static const uint qt_meta_data_Notificator[]
static const qt_meta_stringdata_Notificator_t qt_meta_stringdata_Notificator