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.8. It" 17 #error "cannot be used with the include files from this version of Qt." 18 #error "(The moc has changed too much.)" 21 QT_BEGIN_MOC_NAMESPACE
23 QT_WARNING_DISABLE_DEPRECATED
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)) \ 46 "Notificator\0notify\0\0Class\0cls\0title\0" 47 "text\0icon\0millisTimeout" 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,
77 void Notificator::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
79 if (_c == QMetaObject::InvokeMetaMethod) {
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;
91 QT_INIT_METAOBJECT
const QMetaObject Notificator::staticMetaObject = { {
92 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
101 const QMetaObject *Notificator::metaObject()
const 103 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
106 void *Notificator::qt_metacast(
const char *_clname)
108 if (!_clname)
return nullptr;
110 return static_cast<void*
>(
this);
111 return QObject::qt_metacast(_clname);
114 int Notificator::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
116 _id = QObject::qt_metacall(_c, _id, _a);
119 if (_c == QMetaObject::InvokeMetaMethod) {
121 qt_static_metacall(
this, _c, _id, _a);
123 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
125 *
reinterpret_cast<int*
>(_a[0]) = -1;
#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.
static const uint qt_meta_data_Notificator[]
static const qt_meta_stringdata_Notificator_t qt_meta_stringdata_Notificator