Master Core  v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
moc_addresstablemodel.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'addresstablemodel.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "addresstablemodel.h"
9 #if !defined(Q_MOC_OUTPUT_REVISION)
10 #error "The header file 'addresstablemodel.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_AddressTableModel[] = {
19 
20  // content:
21  6, // revision
22  0, // classname
23  0, 0, // classinfo
24  1, 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  55, 19, 18, 18, 0x0a,
33 
34  0 // eod
35 };
36 
37 static const char qt_meta_stringdata_AddressTableModel[] = {
38  "AddressTableModel\0\0"
39  "address,label,isMine,purpose,status\0"
40  "updateEntry(QString,QString,bool,QString,int)\0"
41 };
42 
43 void AddressTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
44 {
45  if (_c == QMetaObject::InvokeMetaMethod) {
46  Q_ASSERT(staticMetaObject.cast(_o));
47  AddressTableModel *_t = static_cast<AddressTableModel *>(_o);
48  switch (_id) {
49  case 0: _t->updateEntry((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
50  default: ;
51  }
52  }
53 }
54 
55 const QMetaObjectExtraData AddressTableModel::staticMetaObjectExtraData = {
56  0, qt_static_metacall
57 };
58 
59 const QMetaObject AddressTableModel::staticMetaObject = {
60  { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_AddressTableModel,
61  qt_meta_data_AddressTableModel, &staticMetaObjectExtraData }
62 };
63 
64 #ifdef Q_NO_DATA_RELOCATION
65 const QMetaObject &AddressTableModel::getStaticMetaObject() { return staticMetaObject; }
66 #endif //Q_NO_DATA_RELOCATION
67 
68 const QMetaObject *AddressTableModel::metaObject() const
69 {
70  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
71 }
72 
73 void *AddressTableModel::qt_metacast(const char *_clname)
74 {
75  if (!_clname) return 0;
76  if (!strcmp(_clname, qt_meta_stringdata_AddressTableModel))
77  return static_cast<void*>(const_cast< AddressTableModel*>(this));
78  return QAbstractTableModel::qt_metacast(_clname);
79 }
80 
81 int AddressTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
82 {
83  _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
84  if (_id < 0)
85  return _id;
86  if (_c == QMetaObject::InvokeMetaMethod) {
87  if (_id < 1)
88  qt_static_metacall(this, _c, _id, _a);
89  _id -= 1;
90  }
91  return _id;
92 }
93 QT_END_MOC_NAMESPACE
static const char qt_meta_stringdata_AddressTableModel[]
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_AddressTableModel[]
Qt model of the address book in the core.
void updateEntry(const QString &address, const QString &label, bool isMine, const QString &purpose, int status)