LCOV - code coverage report
Current view: top level - build directory/src/tools/qt-gui/qt-gui_automoc.dir - moc_treeviewmodel_P5QURSAMEIM2TL.cpp (source / functions) Hit Total Coverage
Test: coverage-filtered.info Lines: 0 86 0.0 %
Date: 2019-09-12 12:28:41 Functions: 0 6 0.0 %

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 'treeviewmodel.hpp'
       3             : **
       4             : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
       5             : **
       6             : ** WARNING! All changes made in this file will be lost!
       7             : *****************************************************************************/
       8             : 
       9             : #include "../../../../../src/tools/qt-gui/src/treeviewmodel.hpp"
      10             : #include <QtCore/qbytearray.h>
      11             : #include <QtCore/qmetatype.h>
      12             : #if !defined(Q_MOC_OUTPUT_REVISION)
      13             : #error "The header file 'treeviewmodel.hpp' doesn't include <QObject>."
      14             : #elif Q_MOC_OUTPUT_REVISION != 67
      15             : #error "This file was generated using the moc from 5.7.1. It"
      16             : #error "cannot be used with the include files from this version of Qt."
      17             : #error "(The moc has changed too much.)"
      18             : #endif
      19             : 
      20             : QT_BEGIN_MOC_NAMESPACE
      21             : struct qt_meta_stringdata_TreeViewModel_t {
      22             :     QByteArrayData data[43];
      23             :     char stringdata0[455];
      24             : };
      25             : #define QT_MOC_LITERAL(idx, ofs, len) \
      26             :     Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
      27             :     qptrdiff(offsetof(qt_meta_stringdata_TreeViewModel_t, stringdata0) + ofs \
      28             :         - idx * sizeof(QByteArrayData)) \
      29             :     )
      30             : static const qt_meta_stringdata_TreeViewModel_t qt_meta_stringdata_TreeViewModel = {
      31             :     {
      32             : QT_MOC_LITERAL(0, 0, 13), // "TreeViewModel"
      33             : QT_MOC_LITERAL(1, 14, 11), // "showMessage"
      34             : QT_MOC_LITERAL(2, 26, 0), // ""
      35             : QT_MOC_LITERAL(3, 27, 5), // "title"
      36             : QT_MOC_LITERAL(4, 33, 4), // "text"
      37             : QT_MOC_LITERAL(5, 38, 12), // "detailedText"
      38             : QT_MOC_LITERAL(6, 51, 10), // "expandNode"
      39             : QT_MOC_LITERAL(7, 62, 15), // "updateIndicator"
      40             : QT_MOC_LITERAL(8, 78, 21), // "showConfigNodeMessage"
      41             : QT_MOC_LITERAL(9, 100, 13), // "configChanged"
      42             : QT_MOC_LITERAL(10, 114, 3), // "msg"
      43             : QT_MOC_LITERAL(11, 118, 8), // "rowCount"
      44             : QT_MOC_LITERAL(12, 127, 11), // "parentIndex"
      45             : QT_MOC_LITERAL(13, 139, 9), // "insertRow"
      46             : QT_MOC_LITERAL(14, 149, 3), // "row"
      47             : QT_MOC_LITERAL(15, 153, 9), // "removeRow"
      48             : QT_MOC_LITERAL(16, 163, 13), // "populateModel"
      49             : QT_MOC_LITERAL(17, 177, 3), // "get"
      50             : QT_MOC_LITERAL(18, 181, 3), // "idx"
      51             : QT_MOC_LITERAL(19, 185, 4), // "find"
      52             : QT_MOC_LITERAL(20, 190, 4), // "term"
      53             : QT_MOC_LITERAL(21, 195, 11), // "synchronize"
      54             : QT_MOC_LITERAL(22, 207, 12), // "createNewKey"
      55             : QT_MOC_LITERAL(23, 220, 8), // "kdb::Key"
      56             : QT_MOC_LITERAL(24, 229, 4), // "path"
      57             : QT_MOC_LITERAL(25, 234, 5), // "value"
      58             : QT_MOC_LITERAL(26, 240, 8), // "metaData"
      59             : QT_MOC_LITERAL(27, 249, 14), // "getIndexByName"
      60             : QT_MOC_LITERAL(28, 264, 4), // "name"
      61             : QT_MOC_LITERAL(29, 269, 19), // "exportConfiguration"
      62             : QT_MOC_LITERAL(30, 289, 14), // "TreeViewModel*"
      63             : QT_MOC_LITERAL(31, 304, 11), // "parentModel"
      64             : QT_MOC_LITERAL(32, 316, 6), // "format"
      65             : QT_MOC_LITERAL(33, 323, 4), // "file"
      66             : QT_MOC_LITERAL(34, 328, 19), // "importConfiguration"
      67             : QT_MOC_LITERAL(35, 348, 8), // "QString&"
      68             : QT_MOC_LITERAL(36, 357, 15), // "mergeStrategies"
      69             : QT_MOC_LITERAL(37, 373, 14), // "unMountBackend"
      70             : QT_MOC_LITERAL(38, 388, 11), // "backendName"
      71             : QT_MOC_LITERAL(39, 400, 7), // "refresh"
      72             : QT_MOC_LITERAL(40, 408, 17), // "getCurrentArrayNo"
      73             : QT_MOC_LITERAL(41, 426, 15), // "mountedBackends"
      74             : QT_MOC_LITERAL(42, 442, 12) // "discardModel"
      75             : 
      76             :     },
      77             :     "TreeViewModel\0showMessage\0\0title\0text\0"
      78             :     "detailedText\0expandNode\0updateIndicator\0"
      79             :     "showConfigNodeMessage\0configChanged\0"
      80             :     "msg\0rowCount\0parentIndex\0insertRow\0"
      81             :     "row\0removeRow\0populateModel\0get\0idx\0"
      82             :     "find\0term\0synchronize\0createNewKey\0"
      83             :     "kdb::Key\0path\0value\0metaData\0"
      84             :     "getIndexByName\0name\0exportConfiguration\0"
      85             :     "TreeViewModel*\0parentModel\0format\0"
      86             :     "file\0importConfiguration\0QString&\0"
      87             :     "mergeStrategies\0unMountBackend\0"
      88             :     "backendName\0refresh\0getCurrentArrayNo\0"
      89             :     "mountedBackends\0discardModel"
      90             : };
      91             : #undef QT_MOC_LITERAL
      92             : 
      93             : static const uint qt_meta_data_TreeViewModel[] = {
      94             : 
      95             :  // content:
      96             :        7,       // revision
      97             :        0,       // classname
      98             :        0,    0, // classinfo
      99             :       24,   14, // methods
     100             :        0,    0, // properties
     101             :        0,    0, // enums/sets
     102             :        0,    0, // constructors
     103             :        0,       // flags
     104             :        3,       // signalCount
     105             : 
     106             :  // signals: name, argc, parameters, tag, flags
     107             :        1,    3,  134,    2, 0x06 /* Public */,
     108             :        6,    1,  141,    2, 0x06 /* Public */,
     109             :        7,    0,  144,    2, 0x06 /* Public */,
     110             : 
     111             :  // slots: name, argc, parameters, tag, flags
     112             :        8,    3,  145,    2, 0x0a /* Public */,
     113             :        9,    1,  152,    2, 0x0a /* Public */,
     114             : 
     115             :  // methods: name, argc, parameters, tag, flags
     116             :       11,    1,  155,    2, 0x02 /* Public */,
     117             :       11,    0,  158,    2, 0x22 /* Public | MethodCloned */,
     118             :       13,    2,  159,    2, 0x02 /* Public */,
     119             :       13,    1,  164,    2, 0x22 /* Public | MethodCloned */,
     120             :       15,    2,  167,    2, 0x02 /* Public */,
     121             :       15,    1,  172,    2, 0x22 /* Public | MethodCloned */,
     122             :       16,    0,  175,    2, 0x02 /* Public */,
     123             :       17,    1,  176,    2, 0x02 /* Public */,
     124             :       19,    1,  179,    2, 0x02 /* Public */,
     125             :       21,    0,  182,    2, 0x02 /* Public */,
     126             :       22,    3,  183,    2, 0x02 /* Public */,
     127             :       27,    1,  190,    2, 0x02 /* Public */,
     128             :       29,    4,  193,    2, 0x02 /* Public */,
     129             :       34,    4,  202,    2, 0x02 /* Public */,
     130             :       37,    1,  211,    2, 0x02 /* Public */,
     131             :       39,    0,  214,    2, 0x02 /* Public */,
     132             :       40,    0,  215,    2, 0x02 /* Public */,
     133             :       41,    0,  216,    2, 0x02 /* Public */,
     134             :       42,    0,  217,    2, 0x02 /* Public */,
     135             : 
     136             :  // signals: parameters
     137             :     QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    3,    4,    5,
     138             :     QMetaType::Void, QMetaType::Bool,    2,
     139             :     QMetaType::Void,
     140             : 
     141             :  // slots: parameters
     142             :     QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    3,    4,    5,
     143             :     QMetaType::Void, QMetaType::QString,   10,
     144             : 
     145             :  // methods: parameters
     146             :     QMetaType::Int, QMetaType::QModelIndex,   12,
     147             :     QMetaType::Int,
     148             :     QMetaType::Bool, QMetaType::Int, QMetaType::QModelIndex,   14,   12,
     149             :     QMetaType::Bool, QMetaType::Int,   14,
     150             :     QMetaType::Bool, QMetaType::Int, QMetaType::QModelIndex,   14,   12,
     151             :     QMetaType::Bool, QMetaType::Int,   14,
     152             :     QMetaType::Void,
     153             :     QMetaType::QVariantMap, QMetaType::Int,   18,
     154             :     QMetaType::QVariant, QMetaType::QString,   20,
     155             :     QMetaType::Void,
     156             :     0x80000000 | 23, QMetaType::QString, QMetaType::QString, QMetaType::QVariantMap,   24,   25,   26,
     157             :     QMetaType::Int, QMetaType::QString,   28,
     158             :     QMetaType::Void, 0x80000000 | 30, QMetaType::Int, QMetaType::QString, QMetaType::QString,   31,   18,   32,   33,
     159             :     QMetaType::Void, QMetaType::QString, QMetaType::QString, 0x80000000 | 35, QMetaType::QVariantList,   28,   33,   32,   36,
     160             :     QMetaType::Void, QMetaType::QString,   38,
     161             :     QMetaType::Void,
     162             :     QMetaType::QString,
     163             :     QMetaType::QStringList,
     164             :     QMetaType::Void,
     165             : 
     166             :        0        // eod
     167             : };
     168             : 
     169           0 : void TreeViewModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
     170             : {
     171           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     172           0 :         TreeViewModel *_t = static_cast<TreeViewModel *>(_o);
     173             :         Q_UNUSED(_t)
     174           0 :         switch (_id) {
     175           0 :         case 0: _t->showMessage((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
     176           0 :         case 1: _t->expandNode((*reinterpret_cast< bool(*)>(_a[1]))); break;
     177           0 :         case 2: _t->updateIndicator(); break;
     178           0 :         case 3: _t->showConfigNodeMessage((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
     179           0 :         case 4: _t->configChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
     180           0 :         case 5: { int _r = _t->rowCount((*reinterpret_cast< const QModelIndex(*)>(_a[1])));
     181           0 :             if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
     182           0 :         case 6: { int _r = _t->rowCount();
     183           0 :             if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
     184           0 :         case 7: { bool _r = _t->insertRow((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
     185           0 :             if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
     186           0 :         case 8: { bool _r = _t->insertRow((*reinterpret_cast< int(*)>(_a[1])));
     187           0 :             if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
     188           0 :         case 9: { bool _r = _t->removeRow((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
     189           0 :             if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
     190           0 :         case 10: { bool _r = _t->removeRow((*reinterpret_cast< int(*)>(_a[1])));
     191           0 :             if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
     192           0 :         case 11: _t->populateModel(); break;
     193           0 :         case 12: { QVariantMap _r = _t->get((*reinterpret_cast< const int(*)>(_a[1])));
     194           0 :             if (_a[0]) *reinterpret_cast< QVariantMap*>(_a[0]) = _r; }  break;
     195           0 :         case 13: { QVariant _r = _t->find((*reinterpret_cast< const QString(*)>(_a[1])));
     196           0 :             if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
     197           0 :         case 14: _t->synchronize(); break;
     198           0 :         case 15: { kdb::Key _r = _t->createNewKey((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QVariantMap(*)>(_a[3])));
     199           0 :             if (_a[0]) *reinterpret_cast< kdb::Key*>(_a[0]) = _r; }  break;
     200           0 :         case 16: { int _r = _t->getIndexByName((*reinterpret_cast< const QString(*)>(_a[1])));
     201           0 :             if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
     202           0 :         case 17: _t->exportConfiguration((*reinterpret_cast< TreeViewModel*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break;
     203           0 :         case 18: _t->importConfiguration((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< const QVariantList(*)>(_a[4]))); break;
     204           0 :         case 19: _t->unMountBackend((*reinterpret_cast< QString(*)>(_a[1]))); break;
     205           0 :         case 20: _t->refresh(); break;
     206           0 :         case 21: { QString _r = _t->getCurrentArrayNo();
     207           0 :             if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
     208           0 :         case 22: { QStringList _r = _t->mountedBackends();
     209           0 :             if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
     210           0 :         case 23: _t->discardModel(); break;
     211             :         default: ;
     212             :         }
     213           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     214           0 :         switch (_id) {
     215           0 :         default: *reinterpret_cast<int*>(_a[0]) = -1; break;
     216             :         case 17:
     217           0 :             switch (*reinterpret_cast<int*>(_a[1])) {
     218           0 :             default: *reinterpret_cast<int*>(_a[0]) = -1; break;
     219             :             case 0:
     220           0 :                 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TreeViewModel* >(); break;
     221             :             }
     222             :             break;
     223             :         }
     224           0 :     } else if (_c == QMetaObject::IndexOfMethod) {
     225           0 :         int *result = reinterpret_cast<int *>(_a[0]);
     226           0 :         void **func = reinterpret_cast<void **>(_a[1]);
     227             :         {
     228             :             typedef void (TreeViewModel::*_t)(QString , QString , QString ) const;
     229           0 :             if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TreeViewModel::showMessage)) {
     230           0 :                 *result = 0;
     231           0 :                 return;
     232             :             }
     233             :         }
     234             :         {
     235             :             typedef void (TreeViewModel::*_t)(bool );
     236           0 :             if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TreeViewModel::expandNode)) {
     237           0 :                 *result = 1;
     238           0 :                 return;
     239             :             }
     240             :         }
     241             :         {
     242             :             typedef void (TreeViewModel::*_t)() const;
     243           0 :             if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TreeViewModel::updateIndicator)) {
     244           0 :                 *result = 2;
     245           0 :                 return;
     246             :             }
     247             :         }
     248             :     }
     249             : }
     250             : 
     251             : const QMetaObject TreeViewModel::staticMetaObject = {
     252             :     { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_TreeViewModel.data,
     253             :       qt_meta_data_TreeViewModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
     254             : };
     255             : 
     256             : 
     257           0 : const QMetaObject *TreeViewModel::metaObject() const
     258             : {
     259           0 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     260             : }
     261             : 
     262           0 : void *TreeViewModel::qt_metacast(const char *_clname)
     263             : {
     264           0 :     if (!_clname) return Q_NULLPTR;
     265           0 :     if (!strcmp(_clname, qt_meta_stringdata_TreeViewModel.stringdata0))
     266             :         return static_cast<void*>(const_cast< TreeViewModel*>(this));
     267           0 :     return QAbstractListModel::qt_metacast(_clname);
     268             : }
     269             : 
     270           0 : int TreeViewModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     271             : {
     272           0 :     _id = QAbstractListModel::qt_metacall(_c, _id, _a);
     273           0 :     if (_id < 0)
     274             :         return _id;
     275           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     276           0 :         if (_id < 24)
     277           0 :             qt_static_metacall(this, _c, _id, _a);
     278           0 :         _id -= 24;
     279           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     280           0 :         if (_id < 24)
     281           0 :             qt_static_metacall(this, _c, _id, _a);
     282           0 :         _id -= 24;
     283             :     }
     284             :     return _id;
     285             : }
     286             : 
     287             : // SIGNAL 0
     288           0 : void TreeViewModel::showMessage(QString _t1, QString _t2, QString _t3)const
     289             : {
     290           0 :     void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
     291           0 :     QMetaObject::activate(const_cast< TreeViewModel *>(this), &staticMetaObject, 0, _a);
     292           0 : }
     293             : 
     294             : // SIGNAL 1
     295           0 : void TreeViewModel::expandNode(bool _t1)
     296             : {
     297           0 :     void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
     298           0 :     QMetaObject::activate(this, &staticMetaObject, 1, _a);
     299           0 : }
     300             : 
     301             : // SIGNAL 2
     302           0 : void TreeViewModel::updateIndicator()const
     303             : {
     304           0 :     QMetaObject::activate(const_cast< TreeViewModel *>(this), &staticMetaObject, 2, Q_NULLPTR);
     305           0 : }
     306             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.13