Anoncoin  0.9.4
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 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/notificator.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'notificator.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 67
14 #error "This file was generated using the moc from 5.2.1. It"
15 #error "cannot be used with the include files from this version of Qt."
16 #error "(The moc has changed too much.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
21  QByteArrayData data[9];
22  char stringdata[61];
23 };
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26  offsetof(qt_meta_stringdata_Notificator_t, stringdata) + ofs \
27  - idx * sizeof(QByteArrayData) \
28  )
29 static const qt_meta_stringdata_Notificator_t qt_meta_stringdata_Notificator = {
30  {
31 QT_MOC_LITERAL(0, 0, 11),
32 QT_MOC_LITERAL(1, 12, 6),
33 QT_MOC_LITERAL(2, 19, 0),
34 QT_MOC_LITERAL(3, 20, 5),
35 QT_MOC_LITERAL(4, 26, 3),
36 QT_MOC_LITERAL(5, 30, 5),
37 QT_MOC_LITERAL(6, 36, 4),
38 QT_MOC_LITERAL(7, 41, 4),
39 QT_MOC_LITERAL(8, 46, 13)
40  },
41  "Notificator\0notify\0\0Class\0cls\0title\0"
42  "text\0icon\0millisTimeout\0"
43 };
44 #undef QT_MOC_LITERAL
45 
46 static const uint qt_meta_data_Notificator[] = {
47 
48  // content:
49  7, // revision
50  0, // classname
51  0, 0, // classinfo
52  3, 14, // methods
53  0, 0, // properties
54  0, 0, // enums/sets
55  0, 0, // constructors
56  0, // flags
57  0, // signalCount
58 
59  // slots: name, argc, parameters, tag, flags
60  1, 5, 29, 2, 0x0a,
61  1, 4, 40, 2, 0x2a,
62  1, 3, 49, 2, 0x2a,
63 
64  // slots: parameters
65  QMetaType::Void, 0x80000000 | 3, QMetaType::QString, QMetaType::QString, QMetaType::QIcon, QMetaType::Int, 4, 5, 6, 7, 8,
66  QMetaType::Void, 0x80000000 | 3, QMetaType::QString, QMetaType::QString, QMetaType::QIcon, 4, 5, 6, 7,
67  QMetaType::Void, 0x80000000 | 3, QMetaType::QString, QMetaType::QString, 4, 5, 6,
68 
69  0 // eod
70 };
71 
72 void Notificator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
73 {
74  if (_c == QMetaObject::InvokeMetaMethod) {
75  Notificator *_t = static_cast<Notificator *>(_o);
76  switch (_id) {
77  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;
78  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;
79  case 2: _t->notify((*reinterpret_cast< Class(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
80  default: ;
81  }
82  }
83 }
84 
85 const QMetaObject Notificator::staticMetaObject = {
86  { &QObject::staticMetaObject, qt_meta_stringdata_Notificator.data,
87  qt_meta_data_Notificator, qt_static_metacall, 0, 0}
88 };
89 
90 
91 const QMetaObject *Notificator::metaObject() const
92 {
93  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
94 }
95 
96 void *Notificator::qt_metacast(const char *_clname)
97 {
98  if (!_clname) return 0;
99  if (!strcmp(_clname, qt_meta_stringdata_Notificator.stringdata))
100  return static_cast<void*>(const_cast< Notificator*>(this));
101  return QObject::qt_metacast(_clname);
102 }
103 
104 int Notificator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
105 {
106  _id = QObject::qt_metacall(_c, _id, _a);
107  if (_id < 0)
108  return _id;
109  if (_c == QMetaObject::InvokeMetaMethod) {
110  if (_id < 3)
111  qt_static_metacall(this, _c, _id, _a);
112  _id -= 3;
113  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
114  if (_id < 3)
115  *reinterpret_cast<int*>(_a[0]) = -1;
116  _id -= 3;
117  }
118  return _id;
119 }
120 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:25