Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 "notificator.h"
9 #if !defined(Q_MOC_OUTPUT_REVISION)
10 #error "The header file 'notificator.h' doesn't include <QObject>."
11 #elif Q_MOC_OUTPUT_REVISION != 63
12 #error "This file was generated using the moc from 4.8.6. It"
13 #error "cannot be used with the include files from this version of Qt."
14 #error "(The moc has changed too much.)"
15 #endif
16 
17 QT_BEGIN_MOC_NAMESPACE
18 static const uint qt_meta_data_Notificator[] = {
19 
20  // content:
21  6, // revision
22  0, // classname
23  0, 0, // classinfo
24  3, 14, // methods
25  0, 0, // properties
26  0, 0, // enums/sets
27  0, 0, // constructors
28  0, // flags
29  0, // signalCount
30 
31  // slots: signature, parameters, type, tag, flags
32  47, 13, 12, 12, 0x0a,
33  107, 87, 12, 12, 0x2a,
34  158, 143, 12, 12, 0x2a,
35 
36  0 // eod
37 };
38 
39 static const char qt_meta_stringdata_Notificator[] = {
40  "Notificator\0\0cls,title,text,icon,millisTimeout\0"
41  "notify(Class,QString,QString,QIcon,int)\0"
42  "cls,title,text,icon\0"
43  "notify(Class,QString,QString,QIcon)\0"
44  "cls,title,text\0notify(Class,QString,QString)\0"
45 };
46 
47 void Notificator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
48 {
49  if (_c == QMetaObject::InvokeMetaMethod) {
50  Q_ASSERT(staticMetaObject.cast(_o));
51  Notificator *_t = static_cast<Notificator *>(_o);
52  switch (_id) {
53  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;
54  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;
55  case 2: _t->notify((*reinterpret_cast< Class(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
56  default: ;
57  }
58  }
59 }
60 
61 const QMetaObjectExtraData Notificator::staticMetaObjectExtraData = {
62  0, qt_static_metacall
63 };
64 
65 const QMetaObject Notificator::staticMetaObject = {
66  { &QObject::staticMetaObject, qt_meta_stringdata_Notificator,
67  qt_meta_data_Notificator, &staticMetaObjectExtraData }
68 };
69 
70 #ifdef Q_NO_DATA_RELOCATION
71 const QMetaObject &Notificator::getStaticMetaObject() { return staticMetaObject; }
72 #endif //Q_NO_DATA_RELOCATION
73 
74 const QMetaObject *Notificator::metaObject() const
75 {
76  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
77 }
78 
79 void *Notificator::qt_metacast(const char *_clname)
80 {
81  if (!_clname) return 0;
82  if (!strcmp(_clname, qt_meta_stringdata_Notificator))
83  return static_cast<void*>(const_cast< Notificator*>(this));
84  return QObject::qt_metacast(_clname);
85 }
86 
87 int Notificator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
88 {
89  _id = QObject::qt_metacall(_c, _id, _a);
90  if (_id < 0)
91  return _id;
92  if (_c == QMetaObject::InvokeMetaMethod) {
93  if (_id < 3)
94  qt_static_metacall(this, _c, _id, _a);
95  _id -= 3;
96  }
97  return _id;
98 }
99 QT_END_MOC_NAMESPACE
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 char qt_meta_stringdata_Notificator[]
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_Notificator[]