QtLingo 1
QtLingo is an Application to make Qt Computer Translations easier
moc_MainWindow.cpp
Go to the documentation of this file.
1
9#include <memory>
10#include "../../MainWindow.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'MainWindow.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.2. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[64];
26 char stringdata0[1418];
27};
28#define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
34 {
35QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
36QT_MOC_LITERAL(1, 11, 6), // "onHelp"
37QT_MOC_LITERAL(2, 18, 0), // ""
38QT_MOC_LITERAL(3, 19, 7), // "onAbout"
39QT_MOC_LITERAL(4, 27, 11), // "onClipboard"
40QT_MOC_LITERAL(5, 39, 9), // "onCompile"
41QT_MOC_LITERAL(6, 49, 8), // "onAuthor"
42QT_MOC_LITERAL(7, 58, 6), // "onSave"
43QT_MOC_LITERAL(8, 65, 18), // "onInternetProgress"
44QT_MOC_LITERAL(9, 84, 15), // "onTranslateHelp"
45QT_MOC_LITERAL(10, 100, 17), // "onTranslateReadMe"
46QT_MOC_LITERAL(11, 118, 55), // "on_comboBoxTranslationsProjec..."
47QT_MOC_LITERAL(12, 174, 9), // "thisIndex"
48QT_MOC_LITERAL(13, 184, 39), // "on_comboBoxLanguage_currentIn..."
49QT_MOC_LITERAL(14, 224, 12), // "thisLanguage"
50QT_MOC_LITERAL(15, 237, 46), // "on_comboBoxSqlDatabaseType_cu..."
51QT_MOC_LITERAL(16, 284, 11), // "thisSqlType"
52QT_MOC_LITERAL(17, 296, 56), // "on_comboBoxTranslationSourceL..."
53QT_MOC_LITERAL(18, 353, 4), // "arg1"
54QT_MOC_LITERAL(19, 358, 36), // "on_pushButtonSettingsLupdate_..."
55QT_MOC_LITERAL(20, 395, 37), // "on_pushButtonSettingsLrelease..."
56QT_MOC_LITERAL(21, 433, 42), // "on_pushButtonSqlDatabaseNameB..."
57QT_MOC_LITERAL(22, 476, 36), // "on_pushButtonSqlPasswordShow_..."
58QT_MOC_LITERAL(23, 513, 28), // "on_pushButtonSqlSave_clicked"
59QT_MOC_LITERAL(24, 542, 36), // "on_pushButtonTranslationsAdd_..."
60QT_MOC_LITERAL(25, 579, 37), // "on_pushButtonTranslationsSave..."
61QT_MOC_LITERAL(26, 617, 39), // "on_pushButtonTranslationsDele..."
62QT_MOC_LITERAL(27, 657, 48), // "on_pushButtonTranslationsProj..."
63QT_MOC_LITERAL(28, 706, 45), // "on_pushButtonTranslationsSour..."
64QT_MOC_LITERAL(29, 752, 47), // "on_pushButtonTranslationsDoxy..."
65QT_MOC_LITERAL(30, 800, 52), // "on_pushButtonTranslationsProj..."
66QT_MOC_LITERAL(31, 853, 37), // "on_pushButtonTranslationsHelp..."
67QT_MOC_LITERAL(32, 891, 38), // "on_pushButtonTranslationsClea..."
68QT_MOC_LITERAL(33, 930, 38), // "on_checkBoxSettingsGoogle_sta..."
69QT_MOC_LITERAL(34, 969, 7), // "thisArg"
70QT_MOC_LITERAL(35, 977, 36), // "on_checkBoxSettingsBing_state..."
71QT_MOC_LITERAL(36, 1014, 38), // "on_checkBoxSettingsYandex_sta..."
72QT_MOC_LITERAL(37, 1053, 41), // "on_checkBoxSettignsMessaging_..."
73QT_MOC_LITERAL(38, 1095, 14), // "thisCheckState"
74QT_MOC_LITERAL(39, 1110, 27), // "on_tabWidget_currentChanged"
75QT_MOC_LITERAL(40, 1138, 5), // "index"
76QT_MOC_LITERAL(41, 1144, 11), // "changeEvent"
77QT_MOC_LITERAL(42, 1156, 7), // "QEvent*"
78QT_MOC_LITERAL(43, 1164, 5), // "event"
79QT_MOC_LITERAL(44, 1170, 8), // "MainTabs"
80QT_MOC_LITERAL(45, 1179, 11), // "TabSettings"
81QT_MOC_LITERAL(46, 1191, 6), // "TabSql"
82QT_MOC_LITERAL(47, 1198, 15), // "TabTranslations"
83QT_MOC_LITERAL(48, 1214, 10), // "TabProject"
84QT_MOC_LITERAL(49, 1225, 10), // "TabTabHelp"
85QT_MOC_LITERAL(50, 1236, 6), // "TabAll"
86QT_MOC_LITERAL(51, 1243, 18), // "TranslationsErrors"
87QT_MOC_LITERAL(52, 1262, 7), // "NoError"
88QT_MOC_LITERAL(53, 1270, 12), // "HostNotFound"
89QT_MOC_LITERAL(54, 1283, 17), // "ErrorTransferring"
90QT_MOC_LITERAL(55, 1301, 14), // "MyMessageTypes"
91QT_MOC_LITERAL(56, 1316, 11), // "Information"
92QT_MOC_LITERAL(57, 1328, 7), // "Warning"
93QT_MOC_LITERAL(58, 1336, 8), // "Critical"
94QT_MOC_LITERAL(59, 1345, 5), // "Debug"
95QT_MOC_LITERAL(60, 1351, 19), // "ActionStatesManager"
96QT_MOC_LITERAL(61, 1371, 12), // "Translations"
97QT_MOC_LITERAL(62, 1384, 15), // "TranslationHelp"
98QT_MOC_LITERAL(63, 1400, 17) // "TranslationReadMe"
99
100 },
101 "MainWindow\0onHelp\0\0onAbout\0onClipboard\0"
102 "onCompile\0onAuthor\0onSave\0onInternetProgress\0"
103 "onTranslateHelp\0onTranslateReadMe\0"
104 "on_comboBoxTranslationsProjectNames_currentIndexChanged\0"
105 "thisIndex\0on_comboBoxLanguage_currentIndexChanged\0"
106 "thisLanguage\0"
107 "on_comboBoxSqlDatabaseType_currentIndexChanged\0"
108 "thisSqlType\0"
109 "on_comboBoxTranslationSourceLanguage_currentIndexChanged\0"
110 "arg1\0on_pushButtonSettingsLupdate_clicked\0"
111 "on_pushButtonSettingsLrelease_clicked\0"
112 "on_pushButtonSqlDatabaseNameBrowse_clicked\0"
113 "on_pushButtonSqlPasswordShow_clicked\0"
114 "on_pushButtonSqlSave_clicked\0"
115 "on_pushButtonTranslationsAdd_clicked\0"
116 "on_pushButtonTranslationsSave_clicked\0"
117 "on_pushButtonTranslationsDelete_clicked\0"
118 "on_pushButtonTranslationsProjectsBrowser_clicked\0"
119 "on_pushButtonTranslationsSourceBrowse_clicked\0"
120 "on_pushButtonTranslationsDoxyfileBrowse_clicked\0"
121 "on_pushButtonTranslationsProjectFolderBrowse_clicked\0"
122 "on_pushButtonTranslationsHelp_clicked\0"
123 "on_pushButtonTranslationsClear_clicked\0"
124 "on_checkBoxSettingsGoogle_stateChanged\0"
125 "thisArg\0on_checkBoxSettingsBing_stateChanged\0"
126 "on_checkBoxSettingsYandex_stateChanged\0"
127 "on_checkBoxSettignsMessaging_stateChanged\0"
128 "thisCheckState\0on_tabWidget_currentChanged\0"
129 "index\0changeEvent\0QEvent*\0event\0"
130 "MainTabs\0TabSettings\0TabSql\0TabTranslations\0"
131 "TabProject\0TabTabHelp\0TabAll\0"
132 "TranslationsErrors\0NoError\0HostNotFound\0"
133 "ErrorTransferring\0MyMessageTypes\0"
134 "Information\0Warning\0Critical\0Debug\0"
135 "ActionStatesManager\0Translations\0"
136 "TranslationHelp\0TranslationReadMe"
137};
138#undef QT_MOC_LITERAL
139
140static const uint qt_meta_data_MainWindow[] = {
141
142 // content:
143 8, // revision
144 0, // classname
145 0, 0, // classinfo
146 33, 14, // methods
147 0, 0, // properties
148 4, 232, // enums/sets
149 0, 0, // constructors
150 0, // flags
151 0, // signalCount
152
153 // slots: name, argc, parameters, tag, flags
154 1, 0, 179, 2, 0x0a /* Public */,
155 3, 0, 180, 2, 0x0a /* Public */,
156 4, 0, 181, 2, 0x0a /* Public */,
157 5, 0, 182, 2, 0x0a /* Public */,
158 6, 0, 183, 2, 0x0a /* Public */,
159 7, 0, 184, 2, 0x0a /* Public */,
160 8, 0, 185, 2, 0x0a /* Public */,
161 9, 0, 186, 2, 0x0a /* Public */,
162 10, 0, 187, 2, 0x0a /* Public */,
163 11, 1, 188, 2, 0x08 /* Private */,
164 13, 1, 191, 2, 0x08 /* Private */,
165 15, 1, 194, 2, 0x08 /* Private */,
166 17, 1, 197, 2, 0x08 /* Private */,
167 19, 0, 200, 2, 0x08 /* Private */,
168 20, 0, 201, 2, 0x08 /* Private */,
169 21, 0, 202, 2, 0x08 /* Private */,
170 22, 0, 203, 2, 0x08 /* Private */,
171 23, 0, 204, 2, 0x08 /* Private */,
172 24, 0, 205, 2, 0x08 /* Private */,
173 25, 0, 206, 2, 0x08 /* Private */,
174 26, 0, 207, 2, 0x08 /* Private */,
175 27, 0, 208, 2, 0x08 /* Private */,
176 28, 0, 209, 2, 0x08 /* Private */,
177 29, 0, 210, 2, 0x08 /* Private */,
178 30, 0, 211, 2, 0x08 /* Private */,
179 31, 0, 212, 2, 0x08 /* Private */,
180 32, 0, 213, 2, 0x08 /* Private */,
181 33, 1, 214, 2, 0x08 /* Private */,
182 35, 1, 217, 2, 0x08 /* Private */,
183 36, 1, 220, 2, 0x08 /* Private */,
184 37, 1, 223, 2, 0x08 /* Private */,
185 39, 1, 226, 2, 0x08 /* Private */,
186 41, 1, 229, 2, 0x09 /* Protected */,
187
188 // slots: parameters
189 QMetaType::Void,
190 QMetaType::Void,
191 QMetaType::Void,
192 QMetaType::Void,
193 QMetaType::Void,
194 QMetaType::Void,
195 QMetaType::Void,
196 QMetaType::Void,
197 QMetaType::Void,
198 QMetaType::Void, QMetaType::Int, 12,
199 QMetaType::Void, QMetaType::QString, 14,
200 QMetaType::Void, QMetaType::QString, 16,
201 QMetaType::Void, QMetaType::QString, 18,
202 QMetaType::Void,
203 QMetaType::Void,
204 QMetaType::Void,
205 QMetaType::Void,
206 QMetaType::Void,
207 QMetaType::Void,
208 QMetaType::Void,
209 QMetaType::Void,
210 QMetaType::Void,
211 QMetaType::Void,
212 QMetaType::Void,
213 QMetaType::Void,
214 QMetaType::Void,
215 QMetaType::Void,
216 QMetaType::Void, QMetaType::Int, 34,
217 QMetaType::Void, QMetaType::Int, 34,
218 QMetaType::Void, QMetaType::Int, 34,
219 QMetaType::Void, QMetaType::Int, 38,
220 QMetaType::Void, QMetaType::Int, 40,
221 QMetaType::Void, 0x80000000 | 42, 43,
222
223 // enums: name, alias, flags, count, data
224 44, 44, 0x0, 6, 252,
225 51, 51, 0x0, 3, 264,
226 55, 55, 0x0, 4, 270,
227 60, 60, 0x0, 3, 278,
228
229 // enum data: key, value
230 45, uint(MainWindow::TabSettings),
231 46, uint(MainWindow::TabSql),
233 48, uint(MainWindow::TabProject),
234 49, uint(MainWindow::TabTabHelp),
235 50, uint(MainWindow::TabAll),
236 52, uint(MainWindow::NoError),
237 53, uint(MainWindow::HostNotFound),
239 56, uint(MainWindow::Information),
240 57, uint(MainWindow::Warning),
241 58, uint(MainWindow::Critical),
242 59, uint(MainWindow::Debug),
243 61, uint(MainWindow::Translations),
246
247 0 // eod
248};
249
250void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
251{
252 if (_c == QMetaObject::InvokeMetaMethod) {
253 auto *_t = static_cast<MainWindow *>(_o);
254 Q_UNUSED(_t)
255 switch (_id) {
256 case 0: _t->onHelp(); break;
257 case 1: _t->onAbout(); break;
258 case 2: _t->onClipboard(); break;
259 case 3: _t->onCompile(); break;
260 case 4: _t->onAuthor(); break;
261 case 5: _t->onSave(); break;
262 case 6: _t->onInternetProgress(); break;
263 case 7: _t->onTranslateHelp(); break;
264 case 8: _t->onTranslateReadMe(); break;
265 case 9: _t->on_comboBoxTranslationsProjectNames_currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
266 case 10: _t->on_comboBoxLanguage_currentIndexChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
267 case 11: _t->on_comboBoxSqlDatabaseType_currentIndexChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
268 case 12: _t->on_comboBoxTranslationSourceLanguage_currentIndexChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
269 case 13: _t->on_pushButtonSettingsLupdate_clicked(); break;
270 case 14: _t->on_pushButtonSettingsLrelease_clicked(); break;
271 case 15: _t->on_pushButtonSqlDatabaseNameBrowse_clicked(); break;
272 case 16: _t->on_pushButtonSqlPasswordShow_clicked(); break;
273 case 17: _t->on_pushButtonSqlSave_clicked(); break;
274 case 18: _t->on_pushButtonTranslationsAdd_clicked(); break;
275 case 19: _t->on_pushButtonTranslationsSave_clicked(); break;
276 case 20: _t->on_pushButtonTranslationsDelete_clicked(); break;
277 case 21: _t->on_pushButtonTranslationsProjectsBrowser_clicked(); break;
278 case 22: _t->on_pushButtonTranslationsSourceBrowse_clicked(); break;
279 case 23: _t->on_pushButtonTranslationsDoxyfileBrowse_clicked(); break;
280 case 24: _t->on_pushButtonTranslationsProjectFolderBrowse_clicked(); break;
281 case 25: _t->on_pushButtonTranslationsHelp_clicked(); break;
282 case 26: _t->on_pushButtonTranslationsClear_clicked(); break;
283 case 27: _t->on_checkBoxSettingsGoogle_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
284 case 28: _t->on_checkBoxSettingsBing_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
285 case 29: _t->on_checkBoxSettingsYandex_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
286 case 30: _t->on_checkBoxSettignsMessaging_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
287 case 31: _t->on_tabWidget_currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
288 case 32: _t->changeEvent((*reinterpret_cast< QEvent*(*)>(_a[1]))); break;
289 default: ;
290 }
291 }
292}
293
294QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
295 QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
296 qt_meta_stringdata_MainWindow.data,
297 qt_meta_data_MainWindow,
298 qt_static_metacall,
299 nullptr,
300 nullptr
301} };
302
303
304const QMetaObject *MainWindow::metaObject() const
305{
306 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
307}
308
309void *MainWindow::qt_metacast(const char *_clname)
310{
311 if (!_clname) return nullptr;
312 if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
313 return static_cast<void*>(this);
314 return QMainWindow::qt_metacast(_clname);
315}
316
317int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
318{
319 _id = QMainWindow::qt_metacall(_c, _id, _a);
320 if (_id < 0)
321 return _id;
322 if (_c == QMetaObject::InvokeMetaMethod) {
323 if (_id < 33)
324 qt_static_metacall(this, _c, _id, _a);
325 _id -= 33;
326 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
327 if (_id < 33)
328 *reinterpret_cast<int*>(_a[0]) = -1;
329 _id -= 33;
330 }
331 return _id;
332}
333QT_WARNING_POP
334QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
Main Window Constructor. /class MainWindow.
Definition: MainWindow.h:77
@ Translations
Translations
Definition: MainWindow.h:127
@ TranslationHelp
TranslationHelp
Definition: MainWindow.h:128
@ TranslationReadMe
TranslationReadMe
Definition: MainWindow.h:129
@ ErrorTransferring
ErrorTransferring
Definition: MainWindow.h:105
@ NoError
NoError
Definition: MainWindow.h:103
@ HostNotFound
HostNotFound
Definition: MainWindow.h:104
@ TabTranslations
TabTranslations
Definition: MainWindow.h:91
@ TabSettings
TabSettings
Definition: MainWindow.h:89
@ TabAll
TabAll
Definition: MainWindow.h:94
@ TabTabHelp
TabHelp
Definition: MainWindow.h:93
@ TabProject
TabProject
Definition: MainWindow.h:92
@ TabSql
TabSql
Definition: MainWindow.h:90
@ Warning
Warning
Definition: MainWindow.h:115
@ Information
Information
Definition: MainWindow.h:114
@ Debug
Debug
Definition: MainWindow.h:117
@ Critical
Critical
Definition: MainWindow.h:116
void onHelp()
on Help
Definition: MainWindow.cpp:585