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