LCOV - code coverage report
Current view: top level - src/qt - moc_rpcconsole.cpp (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 0 78 0.0 %
Date: 2020-09-26 01:30:44 Functions: 0 5 0.0 %

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 'rpcconsole.h'
       3             : **
       4             : **
       5             : ** WARNING! All changes made in this file will be lost!
       6             : *****************************************************************************/
       7             : 
       8             : #include <memory>
       9             : #include "qt/rpcconsole.h"
      10             : #include <QtCore/qbytearray.h>
      11             : #include <QtCore/qmetatype.h>
      12             : #if !defined(Q_MOC_OUTPUT_REVISION)
      13             : #error "The header file 'rpcconsole.h' doesn't include <QObject>."
      14             : #elif Q_MOC_OUTPUT_REVISION != 67
      15             : #error "This file was generated using the moc from 5.15.0. 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             : QT_WARNING_PUSH
      22             : QT_WARNING_DISABLE_DEPRECATED
      23             : struct qt_meta_stringdata_RPCConsole_t {
      24             :     QByteArrayData data[67];
      25             :     char stringdata0[896];
      26             : };
      27             : #define QT_MOC_LITERAL(idx, ofs, len) \
      28             :     Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
      29             :     qptrdiff(offsetof(qt_meta_stringdata_RPCConsole_t, stringdata0) + ofs \
      30             :         - idx * sizeof(QByteArrayData)) \
      31             :     )
      32             : static const qt_meta_stringdata_RPCConsole_t qt_meta_stringdata_RPCConsole = {
      33             :     {
      34             : QT_MOC_LITERAL(0, 0, 10), // "RPCConsole"
      35             : QT_MOC_LITERAL(1, 11, 10), // "cmdRequest"
      36             : QT_MOC_LITERAL(2, 22, 0), // ""
      37             : QT_MOC_LITERAL(3, 23, 7), // "command"
      38             : QT_MOC_LITERAL(4, 31, 18), // "const WalletModel*"
      39             : QT_MOC_LITERAL(5, 50, 12), // "wallet_model"
      40             : QT_MOC_LITERAL(6, 63, 25), // "on_lineEdit_returnPressed"
      41             : QT_MOC_LITERAL(7, 89, 27), // "on_tabWidget_currentChanged"
      42             : QT_MOC_LITERAL(8, 117, 5), // "index"
      43             : QT_MOC_LITERAL(9, 123, 33), // "on_openDebugLogfileButton_cli..."
      44             : QT_MOC_LITERAL(10, 157, 29), // "on_sldGraphRange_valueChanged"
      45             : QT_MOC_LITERAL(11, 187, 5), // "value"
      46             : QT_MOC_LITERAL(12, 193, 18), // "updateTrafficStats"
      47             : QT_MOC_LITERAL(13, 212, 12), // "totalBytesIn"
      48             : QT_MOC_LITERAL(14, 225, 13), // "totalBytesOut"
      49             : QT_MOC_LITERAL(15, 239, 11), // "resizeEvent"
      50             : QT_MOC_LITERAL(16, 251, 13), // "QResizeEvent*"
      51             : QT_MOC_LITERAL(17, 265, 5), // "event"
      52             : QT_MOC_LITERAL(18, 271, 9), // "showEvent"
      53             : QT_MOC_LITERAL(19, 281, 11), // "QShowEvent*"
      54             : QT_MOC_LITERAL(20, 293, 9), // "hideEvent"
      55             : QT_MOC_LITERAL(21, 303, 11), // "QHideEvent*"
      56             : QT_MOC_LITERAL(22, 315, 25), // "showPeersTableContextMenu"
      57             : QT_MOC_LITERAL(23, 341, 5), // "point"
      58             : QT_MOC_LITERAL(24, 347, 23), // "showBanTableContextMenu"
      59             : QT_MOC_LITERAL(25, 371, 28), // "showOrHideBanTableIfRequired"
      60             : QT_MOC_LITERAL(26, 400, 17), // "clearSelectedNode"
      61             : QT_MOC_LITERAL(27, 418, 5), // "clear"
      62             : QT_MOC_LITERAL(28, 424, 12), // "clearHistory"
      63             : QT_MOC_LITERAL(29, 437, 10), // "fontBigger"
      64             : QT_MOC_LITERAL(30, 448, 11), // "fontSmaller"
      65             : QT_MOC_LITERAL(31, 460, 11), // "setFontSize"
      66             : QT_MOC_LITERAL(32, 472, 7), // "newSize"
      67             : QT_MOC_LITERAL(33, 480, 7), // "message"
      68             : QT_MOC_LITERAL(34, 488, 8), // "category"
      69             : QT_MOC_LITERAL(35, 497, 3), // "msg"
      70             : QT_MOC_LITERAL(36, 501, 4), // "html"
      71             : QT_MOC_LITERAL(37, 506, 17), // "setNumConnections"
      72             : QT_MOC_LITERAL(38, 524, 5), // "count"
      73             : QT_MOC_LITERAL(39, 530, 16), // "setNetworkActive"
      74             : QT_MOC_LITERAL(40, 547, 13), // "networkActive"
      75             : QT_MOC_LITERAL(41, 561, 12), // "setNumBlocks"
      76             : QT_MOC_LITERAL(42, 574, 9), // "blockDate"
      77             : QT_MOC_LITERAL(43, 584, 21), // "nVerificationProgress"
      78             : QT_MOC_LITERAL(44, 606, 7), // "headers"
      79             : QT_MOC_LITERAL(45, 614, 14), // "setMempoolSize"
      80             : QT_MOC_LITERAL(46, 629, 11), // "numberOfTxs"
      81             : QT_MOC_LITERAL(47, 641, 6), // "size_t"
      82             : QT_MOC_LITERAL(48, 648, 8), // "dynUsage"
      83             : QT_MOC_LITERAL(49, 657, 13), // "browseHistory"
      84             : QT_MOC_LITERAL(50, 671, 6), // "offset"
      85             : QT_MOC_LITERAL(51, 678, 11), // "scrollToEnd"
      86             : QT_MOC_LITERAL(52, 690, 12), // "peerSelected"
      87             : QT_MOC_LITERAL(53, 703, 14), // "QItemSelection"
      88             : QT_MOC_LITERAL(54, 718, 8), // "selected"
      89             : QT_MOC_LITERAL(55, 727, 10), // "deselected"
      90             : QT_MOC_LITERAL(56, 738, 23), // "peerLayoutAboutToChange"
      91             : QT_MOC_LITERAL(57, 762, 17), // "peerLayoutChanged"
      92             : QT_MOC_LITERAL(58, 780, 22), // "disconnectSelectedNode"
      93             : QT_MOC_LITERAL(59, 803, 15), // "banSelectedNode"
      94             : QT_MOC_LITERAL(60, 819, 7), // "bantime"
      95             : QT_MOC_LITERAL(61, 827, 17), // "unbanSelectedNode"
      96             : QT_MOC_LITERAL(62, 845, 11), // "setTabFocus"
      97             : QT_MOC_LITERAL(63, 857, 8), // "TabTypes"
      98             : QT_MOC_LITERAL(64, 866, 7), // "tabType"
      99             : QT_MOC_LITERAL(65, 874, 12), // "updateAlerts"
     100             : QT_MOC_LITERAL(66, 887, 8) // "warnings"
     101             : 
     102             :     },
     103             :     "RPCConsole\0cmdRequest\0\0command\0"
     104             :     "const WalletModel*\0wallet_model\0"
     105             :     "on_lineEdit_returnPressed\0"
     106             :     "on_tabWidget_currentChanged\0index\0"
     107             :     "on_openDebugLogfileButton_clicked\0"
     108             :     "on_sldGraphRange_valueChanged\0value\0"
     109             :     "updateTrafficStats\0totalBytesIn\0"
     110             :     "totalBytesOut\0resizeEvent\0QResizeEvent*\0"
     111             :     "event\0showEvent\0QShowEvent*\0hideEvent\0"
     112             :     "QHideEvent*\0showPeersTableContextMenu\0"
     113             :     "point\0showBanTableContextMenu\0"
     114             :     "showOrHideBanTableIfRequired\0"
     115             :     "clearSelectedNode\0clear\0clearHistory\0"
     116             :     "fontBigger\0fontSmaller\0setFontSize\0"
     117             :     "newSize\0message\0category\0msg\0html\0"
     118             :     "setNumConnections\0count\0setNetworkActive\0"
     119             :     "networkActive\0setNumBlocks\0blockDate\0"
     120             :     "nVerificationProgress\0headers\0"
     121             :     "setMempoolSize\0numberOfTxs\0size_t\0"
     122             :     "dynUsage\0browseHistory\0offset\0scrollToEnd\0"
     123             :     "peerSelected\0QItemSelection\0selected\0"
     124             :     "deselected\0peerLayoutAboutToChange\0"
     125             :     "peerLayoutChanged\0disconnectSelectedNode\0"
     126             :     "banSelectedNode\0bantime\0unbanSelectedNode\0"
     127             :     "setTabFocus\0TabTypes\0tabType\0updateAlerts\0"
     128             :     "warnings"
     129             : };
     130             : #undef QT_MOC_LITERAL
     131             : 
     132             : static const uint qt_meta_data_RPCConsole[] = {
     133             : 
     134             :  // content:
     135             :        8,       // revision
     136             :        0,       // classname
     137             :        0,    0, // classinfo
     138             :       34,   14, // methods
     139             :        0,    0, // properties
     140             :        0,    0, // enums/sets
     141             :        0,    0, // constructors
     142             :        0,       // flags
     143             :        1,       // signalCount
     144             : 
     145             :  // signals: name, argc, parameters, tag, flags
     146             :        1,    2,  184,    2, 0x06 /* Public */,
     147             : 
     148             :  // slots: name, argc, parameters, tag, flags
     149             :        6,    0,  189,    2, 0x08 /* Private */,
     150             :        7,    1,  190,    2, 0x08 /* Private */,
     151             :        9,    0,  193,    2, 0x08 /* Private */,
     152             :       10,    1,  194,    2, 0x08 /* Private */,
     153             :       12,    2,  197,    2, 0x08 /* Private */,
     154             :       15,    1,  202,    2, 0x08 /* Private */,
     155             :       18,    1,  205,    2, 0x08 /* Private */,
     156             :       20,    1,  208,    2, 0x08 /* Private */,
     157             :       22,    1,  211,    2, 0x08 /* Private */,
     158             :       24,    1,  214,    2, 0x08 /* Private */,
     159             :       25,    0,  217,    2, 0x08 /* Private */,
     160             :       26,    0,  218,    2, 0x08 /* Private */,
     161             :       27,    1,  219,    2, 0x0a /* Public */,
     162             :       27,    0,  222,    2, 0x2a /* Public | MethodCloned */,
     163             :       29,    0,  223,    2, 0x0a /* Public */,
     164             :       30,    0,  224,    2, 0x0a /* Public */,
     165             :       31,    1,  225,    2, 0x0a /* Public */,
     166             :       33,    2,  228,    2, 0x0a /* Public */,
     167             :       33,    3,  233,    2, 0x0a /* Public */,
     168             :       37,    1,  240,    2, 0x0a /* Public */,
     169             :       39,    1,  243,    2, 0x0a /* Public */,
     170             :       41,    4,  246,    2, 0x0a /* Public */,
     171             :       45,    2,  255,    2, 0x0a /* Public */,
     172             :       49,    1,  260,    2, 0x0a /* Public */,
     173             :       51,    0,  263,    2, 0x0a /* Public */,
     174             :       52,    2,  264,    2, 0x0a /* Public */,
     175             :       56,    0,  269,    2, 0x0a /* Public */,
     176             :       57,    0,  270,    2, 0x0a /* Public */,
     177             :       58,    0,  271,    2, 0x0a /* Public */,
     178             :       59,    1,  272,    2, 0x0a /* Public */,
     179             :       61,    0,  275,    2, 0x0a /* Public */,
     180             :       62,    1,  276,    2, 0x0a /* Public */,
     181             :       65,    1,  279,    2, 0x08 /* Private */,
     182             : 
     183             :  // signals: parameters
     184             :     QMetaType::Void, QMetaType::QString, 0x80000000 | 4,    3,    5,
     185             : 
     186             :  // slots: parameters
     187             :     QMetaType::Void,
     188             :     QMetaType::Void, QMetaType::Int,    8,
     189             :     QMetaType::Void,
     190             :     QMetaType::Void, QMetaType::Int,   11,
     191             :     QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong,   13,   14,
     192             :     QMetaType::Void, 0x80000000 | 16,   17,
     193             :     QMetaType::Void, 0x80000000 | 19,   17,
     194             :     QMetaType::Void, 0x80000000 | 21,   17,
     195             :     QMetaType::Void, QMetaType::QPoint,   23,
     196             :     QMetaType::Void, QMetaType::QPoint,   23,
     197             :     QMetaType::Void,
     198             :     QMetaType::Void,
     199             :     QMetaType::Void, QMetaType::Bool,   28,
     200             :     QMetaType::Void,
     201             :     QMetaType::Void,
     202             :     QMetaType::Void,
     203             :     QMetaType::Void, QMetaType::Int,   32,
     204             :     QMetaType::Void, QMetaType::Int, QMetaType::QString,   34,   35,
     205             :     QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::Bool,   34,   33,   36,
     206             :     QMetaType::Void, QMetaType::Int,   38,
     207             :     QMetaType::Void, QMetaType::Bool,   40,
     208             :     QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, QMetaType::Bool,   38,   42,   43,   44,
     209             :     QMetaType::Void, QMetaType::Long, 0x80000000 | 47,   46,   48,
     210             :     QMetaType::Void, QMetaType::Int,   50,
     211             :     QMetaType::Void,
     212             :     QMetaType::Void, 0x80000000 | 53, 0x80000000 | 53,   54,   55,
     213             :     QMetaType::Void,
     214             :     QMetaType::Void,
     215             :     QMetaType::Void,
     216             :     QMetaType::Void, QMetaType::Int,   60,
     217             :     QMetaType::Void,
     218             :     QMetaType::Void, 0x80000000 | 63,   64,
     219             :     QMetaType::Void, QMetaType::QString,   66,
     220             : 
     221             :        0        // eod
     222             : };
     223             : 
     224           0 : void RPCConsole::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
     225             : {
     226           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     227           0 :         auto *_t = static_cast<RPCConsole *>(_o);
     228             :         Q_UNUSED(_t)
     229           0 :         switch (_id) {
     230           0 :         case 0: _t->cmdRequest((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const WalletModel*(*)>(_a[2]))); break;
     231           0 :         case 1: _t->on_lineEdit_returnPressed(); break;
     232           0 :         case 2: _t->on_tabWidget_currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
     233           0 :         case 3: _t->on_openDebugLogfileButton_clicked(); break;
     234           0 :         case 4: _t->on_sldGraphRange_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
     235           0 :         case 5: _t->updateTrafficStats((*reinterpret_cast< quint64(*)>(_a[1])),(*reinterpret_cast< quint64(*)>(_a[2]))); break;
     236           0 :         case 6: _t->resizeEvent((*reinterpret_cast< QResizeEvent*(*)>(_a[1]))); break;
     237           0 :         case 7: _t->showEvent((*reinterpret_cast< QShowEvent*(*)>(_a[1]))); break;
     238           0 :         case 8: _t->hideEvent((*reinterpret_cast< QHideEvent*(*)>(_a[1]))); break;
     239           0 :         case 9: _t->showPeersTableContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
     240           0 :         case 10: _t->showBanTableContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
     241           0 :         case 11: _t->showOrHideBanTableIfRequired(); break;
     242           0 :         case 12: _t->clearSelectedNode(); break;
     243           0 :         case 13: _t->clear((*reinterpret_cast< bool(*)>(_a[1]))); break;
     244           0 :         case 14: _t->clear(); break;
     245           0 :         case 15: _t->fontBigger(); break;
     246           0 :         case 16: _t->fontSmaller(); break;
     247           0 :         case 17: _t->setFontSize((*reinterpret_cast< int(*)>(_a[1]))); break;
     248           0 :         case 18: _t->message((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
     249           0 :         case 19: _t->message((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
     250           0 :         case 20: _t->setNumConnections((*reinterpret_cast< int(*)>(_a[1]))); break;
     251           0 :         case 21: _t->setNetworkActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
     252           0 :         case 22: _t->setNumBlocks((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QDateTime(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
     253           0 :         case 23: _t->setMempoolSize((*reinterpret_cast< long(*)>(_a[1])),(*reinterpret_cast< size_t(*)>(_a[2]))); break;
     254           0 :         case 24: _t->browseHistory((*reinterpret_cast< int(*)>(_a[1]))); break;
     255           0 :         case 25: _t->scrollToEnd(); break;
     256           0 :         case 26: _t->peerSelected((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
     257           0 :         case 27: _t->peerLayoutAboutToChange(); break;
     258           0 :         case 28: _t->peerLayoutChanged(); break;
     259           0 :         case 29: _t->disconnectSelectedNode(); break;
     260           0 :         case 30: _t->banSelectedNode((*reinterpret_cast< int(*)>(_a[1]))); break;
     261           0 :         case 31: _t->unbanSelectedNode(); break;
     262           0 :         case 32: _t->setTabFocus((*reinterpret_cast< TabTypes(*)>(_a[1]))); break;
     263           0 :         case 33: _t->updateAlerts((*reinterpret_cast< const QString(*)>(_a[1]))); break;
     264             :         default: ;
     265             :         }
     266           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     267           0 :         switch (_id) {
     268           0 :         default: *reinterpret_cast<int*>(_a[0]) = -1; break;
     269             :         case 26:
     270           0 :             switch (*reinterpret_cast<int*>(_a[1])) {
     271           0 :             default: *reinterpret_cast<int*>(_a[0]) = -1; break;
     272             :             case 1:
     273             :             case 0:
     274           0 :                 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
     275             :             }
     276             :             break;
     277             :         }
     278           0 :     } else if (_c == QMetaObject::IndexOfMethod) {
     279           0 :         int *result = reinterpret_cast<int *>(_a[0]);
     280             :         {
     281             :             using _t = void (RPCConsole::*)(const QString & , const WalletModel * );
     282           0 :             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RPCConsole::cmdRequest)) {
     283           0 :                 *result = 0;
     284           0 :                 return;
     285             :             }
     286             :         }
     287           0 :     }
     288           0 : }
     289             : 
     290             : QT_INIT_METAOBJECT const QMetaObject RPCConsole::staticMetaObject = { {
     291             :     QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
     292             :     qt_meta_stringdata_RPCConsole.data,
     293             :     qt_meta_data_RPCConsole,
     294             :     qt_static_metacall,
     295             :     nullptr,
     296             :     nullptr
     297             : } };
     298             : 
     299             : 
     300           0 : const QMetaObject *RPCConsole::metaObject() const
     301             : {
     302           0 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     303             : }
     304             : 
     305           0 : void *RPCConsole::qt_metacast(const char *_clname)
     306             : {
     307           0 :     if (!_clname) return nullptr;
     308           0 :     if (!strcmp(_clname, qt_meta_stringdata_RPCConsole.stringdata0))
     309           0 :         return static_cast<void*>(this);
     310           0 :     return QWidget::qt_metacast(_clname);
     311           0 : }
     312             : 
     313           0 : int RPCConsole::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     314             : {
     315           0 :     _id = QWidget::qt_metacall(_c, _id, _a);
     316           0 :     if (_id < 0)
     317           0 :         return _id;
     318           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     319           0 :         if (_id < 34)
     320           0 :             qt_static_metacall(this, _c, _id, _a);
     321           0 :         _id -= 34;
     322           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     323           0 :         if (_id < 34)
     324           0 :             qt_static_metacall(this, _c, _id, _a);
     325           0 :         _id -= 34;
     326           0 :     }
     327           0 :     return _id;
     328           0 : }
     329             : 
     330             : // SIGNAL 0
     331           0 : void RPCConsole::cmdRequest(const QString & _t1, const WalletModel * _t2)
     332             : {
     333           0 :     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
     334           0 :     QMetaObject::activate(this, &staticMetaObject, 0, _a);
     335           0 : }
     336             : QT_WARNING_POP
     337             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.15