1 /****************************************************************************
2 ** Meta object code from reading C++ file 'sraconfigview.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.2)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "../../../../sra-toolkit/config/sraconfigview.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'sraconfigview.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.9.2. 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_SRAConfigView_t {
24     QByteArrayData data[19];
25     char stringdata0[299];
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_SRAConfigView_t, stringdata0) + ofs \
30         - idx * sizeof(QByteArrayData)) \
31     )
32 static const qt_meta_stringdata_SRAConfigView_t qt_meta_stringdata_SRAConfigView = {
33     {
34 QT_MOC_LITERAL(0, 0, 13), // "SRAConfigView"
35 QT_MOC_LITERAL(1, 14, 12), // "dirty_config"
36 QT_MOC_LITERAL(2, 27, 0), // ""
37 QT_MOC_LITERAL(3, 28, 17), // "advanced_settings"
38 QT_MOC_LITERAL(4, 46, 13), // "commit_config"
39 QT_MOC_LITERAL(5, 60, 13), // "reload_config"
40 QT_MOC_LITERAL(6, 74, 14), // "default_config"
41 QT_MOC_LITERAL(7, 89, 15), // "modified_config"
42 QT_MOC_LITERAL(8, 105, 16), // "import_workspace"
43 QT_MOC_LITERAL(9, 122, 16), // "edit_import_path"
44 QT_MOC_LITERAL(10, 139, 15), // "edit_proxy_path"
45 QT_MOC_LITERAL(11, 155, 16), // "edit_public_path"
46 QT_MOC_LITERAL(12, 172, 19), // "edit_workspace_path"
47 QT_MOC_LITERAL(13, 192, 21), // "toggle_remote_enabled"
48 QT_MOC_LITERAL(14, 214, 7), // "toggled"
49 QT_MOC_LITERAL(15, 222, 20), // "toggle_local_caching"
50 QT_MOC_LITERAL(16, 243, 15), // "toggle_use_site"
51 QT_MOC_LITERAL(17, 259, 16), // "toggle_use_proxy"
52 QT_MOC_LITERAL(18, 276, 22) // "toggle_prioritize_http"
53 
54     },
55     "SRAConfigView\0dirty_config\0\0"
56     "advanced_settings\0commit_config\0"
57     "reload_config\0default_config\0"
58     "modified_config\0import_workspace\0"
59     "edit_import_path\0edit_proxy_path\0"
60     "edit_public_path\0edit_workspace_path\0"
61     "toggle_remote_enabled\0toggled\0"
62     "toggle_local_caching\0toggle_use_site\0"
63     "toggle_use_proxy\0toggle_prioritize_http"
64 };
65 #undef QT_MOC_LITERAL
66 
67 static const uint qt_meta_data_SRAConfigView[] = {
68 
69  // content:
70        7,       // revision
71        0,       // classname
72        0,    0, // classinfo
73       16,   14, // methods
74        0,    0, // properties
75        0,    0, // enums/sets
76        0,    0, // constructors
77        0,       // flags
78        1,       // signalCount
79 
80  // signals: name, argc, parameters, tag, flags
81        1,    0,   94,    2, 0x06 /* Public */,
82 
83  // slots: name, argc, parameters, tag, flags
84        3,    0,   95,    2, 0x08 /* Private */,
85        4,    0,   96,    2, 0x08 /* Private */,
86        5,    0,   97,    2, 0x08 /* Private */,
87        6,    0,   98,    2, 0x08 /* Private */,
88        7,    0,   99,    2, 0x08 /* Private */,
89        8,    0,  100,    2, 0x08 /* Private */,
90        9,    0,  101,    2, 0x08 /* Private */,
91       10,    0,  102,    2, 0x08 /* Private */,
92       11,    0,  103,    2, 0x08 /* Private */,
93       12,    0,  104,    2, 0x08 /* Private */,
94       13,    1,  105,    2, 0x08 /* Private */,
95       15,    1,  108,    2, 0x08 /* Private */,
96       16,    1,  111,    2, 0x08 /* Private */,
97       17,    1,  114,    2, 0x08 /* Private */,
98       18,    1,  117,    2, 0x08 /* Private */,
99 
100  // signals: parameters
101     QMetaType::Void,
102 
103  // slots: parameters
104     QMetaType::Void,
105     QMetaType::Void,
106     QMetaType::Void,
107     QMetaType::Void,
108     QMetaType::Void,
109     QMetaType::Void,
110     QMetaType::Void,
111     QMetaType::Void,
112     QMetaType::Void,
113     QMetaType::Void,
114     QMetaType::Void, QMetaType::Int,   14,
115     QMetaType::Void, QMetaType::Int,   14,
116     QMetaType::Void, QMetaType::Int,   14,
117     QMetaType::Void, QMetaType::Int,   14,
118     QMetaType::Void, QMetaType::Int,   14,
119 
120        0        // eod
121 };
122 
qt_static_metacall(QObject * _o,QMetaObject::Call _c,int _id,void ** _a)123 void SRAConfigView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
124 {
125     if (_c == QMetaObject::InvokeMetaMethod) {
126         SRAConfigView *_t = static_cast<SRAConfigView *>(_o);
127         Q_UNUSED(_t)
128         switch (_id) {
129         case 0: _t->dirty_config(); break;
130         case 1: _t->advanced_settings(); break;
131         case 2: _t->commit_config(); break;
132         case 3: _t->reload_config(); break;
133         case 4: _t->default_config(); break;
134         case 5: _t->modified_config(); break;
135         case 6: _t->import_workspace(); break;
136         case 7: _t->edit_import_path(); break;
137         case 8: _t->edit_proxy_path(); break;
138         case 9: _t->edit_public_path(); break;
139         case 10: _t->edit_workspace_path(); break;
140         case 11: _t->toggle_remote_enabled((*reinterpret_cast< int(*)>(_a[1]))); break;
141         case 12: _t->toggle_local_caching((*reinterpret_cast< int(*)>(_a[1]))); break;
142         case 13: _t->toggle_use_site((*reinterpret_cast< int(*)>(_a[1]))); break;
143         case 14: _t->toggle_use_proxy((*reinterpret_cast< int(*)>(_a[1]))); break;
144         case 15: _t->toggle_prioritize_http((*reinterpret_cast< int(*)>(_a[1]))); break;
145         default: ;
146         }
147     } else if (_c == QMetaObject::IndexOfMethod) {
148         int *result = reinterpret_cast<int *>(_a[0]);
149         void **func = reinterpret_cast<void **>(_a[1]);
150         {
151             typedef void (SRAConfigView::*_t)();
152             if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SRAConfigView::dirty_config)) {
153                 *result = 0;
154                 return;
155             }
156         }
157     }
158 }
159 
160 const QMetaObject SRAConfigView::staticMetaObject = {
161     { &QWidget::staticMetaObject, qt_meta_stringdata_SRAConfigView.data,
162       qt_meta_data_SRAConfigView,  qt_static_metacall, nullptr, nullptr}
163 };
164 
165 
metaObject() const166 const QMetaObject *SRAConfigView::metaObject() const
167 {
168     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
169 }
170 
qt_metacast(const char * _clname)171 void *SRAConfigView::qt_metacast(const char *_clname)
172 {
173     if (!_clname) return nullptr;
174     if (!strcmp(_clname, qt_meta_stringdata_SRAConfigView.stringdata0))
175         return static_cast<void*>(this);
176     return QWidget::qt_metacast(_clname);
177 }
178 
qt_metacall(QMetaObject::Call _c,int _id,void ** _a)179 int SRAConfigView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
180 {
181     _id = QWidget::qt_metacall(_c, _id, _a);
182     if (_id < 0)
183         return _id;
184     if (_c == QMetaObject::InvokeMetaMethod) {
185         if (_id < 16)
186             qt_static_metacall(this, _c, _id, _a);
187         _id -= 16;
188     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
189         if (_id < 16)
190             *reinterpret_cast<int*>(_a[0]) = -1;
191         _id -= 16;
192     }
193     return _id;
194 }
195 
196 // SIGNAL 0
dirty_config()197 void SRAConfigView::dirty_config()
198 {
199     QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
200 }
201 QT_WARNING_POP
202 QT_END_MOC_NAMESPACE
203