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[48];
26 char stringdata0[1106];
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, 47), // "on_comboBoxSettingsProjects_c..."
45QT_MOC_LITERAL(10, 132, 9), // "thisIndex"
46QT_MOC_LITERAL(11, 142, 47), // "on_comboBoxSettingsLanguage_c..."
47QT_MOC_LITERAL(12, 190, 12), // "thisLanguage"
48QT_MOC_LITERAL(13, 203, 46), // "on_comboBoxSqlDatabaseType_cu..."
49QT_MOC_LITERAL(14, 250, 11), // "thisSqlType"
50QT_MOC_LITERAL(15, 262, 32), // "on_pushButtonSettingsAdd_clicked"
51QT_MOC_LITERAL(16, 295, 33), // "on_pushButtonSettingsSave_cli..."
52QT_MOC_LITERAL(17, 329, 35), // "on_pushButtonSettingsDelete_c..."
53QT_MOC_LITERAL(18, 365, 44), // "on_pushButtonSettingsProjects..."
54QT_MOC_LITERAL(19, 410, 42), // "on_pushButtonSqlDatabaseNameB..."
55QT_MOC_LITERAL(20, 453, 36), // "on_pushButtonSqlPasswordShow_..."
56QT_MOC_LITERAL(21, 490, 28), // "on_pushButtonSqlSave_clicked"
57QT_MOC_LITERAL(22, 519, 45), // "on_pushButtonTranslationsSour..."
58QT_MOC_LITERAL(23, 565, 50), // "on_pushButtonTranslationsDest..."
59QT_MOC_LITERAL(24, 616, 52), // "on_pushButtonTranslationsProj..."
60QT_MOC_LITERAL(25, 669, 37), // "on_pushButtonTranslationsHelp..."
61QT_MOC_LITERAL(26, 707, 38), // "on_checkBoxSettingsGoogle_sta..."
62QT_MOC_LITERAL(27, 746, 7), // "thisArg"
63QT_MOC_LITERAL(28, 754, 36), // "on_checkBoxSettingsBing_state..."
64QT_MOC_LITERAL(29, 791, 38), // "on_checkBoxSettingsYandex_sta..."
65QT_MOC_LITERAL(30, 830, 41), // "on_checkBoxSettignsMessaging_..."
66QT_MOC_LITERAL(31, 872, 14), // "thisCheckState"
67QT_MOC_LITERAL(32, 887, 56), // "on_comboBoxTranslationSourceL..."
68QT_MOC_LITERAL(33, 944, 4), // "arg1"
69QT_MOC_LITERAL(34, 949, 11), // "changeEvent"
70QT_MOC_LITERAL(35, 961, 7), // "QEvent*"
71QT_MOC_LITERAL(36, 969, 5), // "event"
72QT_MOC_LITERAL(37, 975, 8), // "MainTabs"
73QT_MOC_LITERAL(38, 984, 11), // "TabSettings"
74QT_MOC_LITERAL(39, 996, 6), // "TabSql"
75QT_MOC_LITERAL(40, 1003, 15), // "TabTranslations"
76QT_MOC_LITERAL(41, 1019, 10), // "TabProject"
77QT_MOC_LITERAL(42, 1030, 10), // "TabTabHelp"
78QT_MOC_LITERAL(43, 1041, 6), // "TabAll"
79QT_MOC_LITERAL(44, 1048, 18), // "TranslationsErrors"
80QT_MOC_LITERAL(45, 1067, 7), // "NoError"
81QT_MOC_LITERAL(46, 1075, 12), // "HostNotFound"
82QT_MOC_LITERAL(47, 1088, 17) // "ErrorTransferring"
83
84 },
85 "MainWindow\0onHelp\0\0onAbout\0onClipboard\0"
86 "onCompile\0onAuthor\0onSave\0onInternetProgress\0"
87 "on_comboBoxSettingsProjects_currentIndexChanged\0"
88 "thisIndex\0on_comboBoxSettingsLanguage_currentIndexChanged\0"
89 "thisLanguage\0"
90 "on_comboBoxSqlDatabaseType_currentIndexChanged\0"
91 "thisSqlType\0on_pushButtonSettingsAdd_clicked\0"
92 "on_pushButtonSettingsSave_clicked\0"
93 "on_pushButtonSettingsDelete_clicked\0"
94 "on_pushButtonSettingsProjectsBrowser_clicked\0"
95 "on_pushButtonSqlDatabaseNameBrowse_clicked\0"
96 "on_pushButtonSqlPasswordShow_clicked\0"
97 "on_pushButtonSqlSave_clicked\0"
98 "on_pushButtonTranslationsSourceBrowse_clicked\0"
99 "on_pushButtonTranslationsDestinationBrowse_clicked\0"
100 "on_pushButtonTranslationsProjectFolderBrowse_clicked\0"
101 "on_pushButtonTranslationsHelp_clicked\0"
102 "on_checkBoxSettingsGoogle_stateChanged\0"
103 "thisArg\0on_checkBoxSettingsBing_stateChanged\0"
104 "on_checkBoxSettingsYandex_stateChanged\0"
105 "on_checkBoxSettignsMessaging_stateChanged\0"
106 "thisCheckState\0"
107 "on_comboBoxTranslationSourceLanguage_currentIndexChanged\0"
108 "arg1\0changeEvent\0QEvent*\0event\0MainTabs\0"
109 "TabSettings\0TabSql\0TabTranslations\0"
110 "TabProject\0TabTabHelp\0TabAll\0"
111 "TranslationsErrors\0NoError\0HostNotFound\0"
112 "ErrorTransferring"
113};
114#undef QT_MOC_LITERAL
115
116static const uint qt_meta_data_MainWindow[] = {
117
118 // content:
119 8, // revision
120 0, // classname
121 0, 0, // classinfo
122 27, 14, // methods
123 0, 0, // properties
124 2, 194, // enums/sets
125 0, 0, // constructors
126 0, // flags
127 0, // signalCount
128
129 // slots: name, argc, parameters, tag, flags
130 1, 0, 149, 2, 0x0a /* Public */,
131 3, 0, 150, 2, 0x0a /* Public */,
132 4, 0, 151, 2, 0x0a /* Public */,
133 5, 0, 152, 2, 0x0a /* Public */,
134 6, 0, 153, 2, 0x0a /* Public */,
135 7, 0, 154, 2, 0x0a /* Public */,
136 8, 0, 155, 2, 0x0a /* Public */,
137 9, 1, 156, 2, 0x08 /* Private */,
138 11, 1, 159, 2, 0x08 /* Private */,
139 13, 1, 162, 2, 0x08 /* Private */,
140 15, 0, 165, 2, 0x08 /* Private */,
141 16, 0, 166, 2, 0x08 /* Private */,
142 17, 0, 167, 2, 0x08 /* Private */,
143 18, 0, 168, 2, 0x08 /* Private */,
144 19, 0, 169, 2, 0x08 /* Private */,
145 20, 0, 170, 2, 0x08 /* Private */,
146 21, 0, 171, 2, 0x08 /* Private */,
147 22, 0, 172, 2, 0x08 /* Private */,
148 23, 0, 173, 2, 0x08 /* Private */,
149 24, 0, 174, 2, 0x08 /* Private */,
150 25, 0, 175, 2, 0x08 /* Private */,
151 26, 1, 176, 2, 0x08 /* Private */,
152 28, 1, 179, 2, 0x08 /* Private */,
153 29, 1, 182, 2, 0x08 /* Private */,
154 30, 1, 185, 2, 0x08 /* Private */,
155 32, 1, 188, 2, 0x08 /* Private */,
156 34, 1, 191, 2, 0x09 /* Protected */,
157
158 // slots: parameters
159 QMetaType::Void,
160 QMetaType::Void,
161 QMetaType::Void,
162 QMetaType::Void,
163 QMetaType::Void,
164 QMetaType::Void,
165 QMetaType::Void,
166 QMetaType::Void, QMetaType::Int, 10,
167 QMetaType::Void, QMetaType::QString, 12,
168 QMetaType::Void, QMetaType::QString, 14,
169 QMetaType::Void,
170 QMetaType::Void,
171 QMetaType::Void,
172 QMetaType::Void,
173 QMetaType::Void,
174 QMetaType::Void,
175 QMetaType::Void,
176 QMetaType::Void,
177 QMetaType::Void,
178 QMetaType::Void,
179 QMetaType::Void,
180 QMetaType::Void, QMetaType::Int, 27,
181 QMetaType::Void, QMetaType::Int, 27,
182 QMetaType::Void, QMetaType::Int, 27,
183 QMetaType::Void, QMetaType::Int, 31,
184 QMetaType::Void, QMetaType::QString, 33,
185 QMetaType::Void, 0x80000000 | 35, 36,
186
187 // enums: name, alias, flags, count, data
188 37, 37, 0x0, 6, 204,
189 44, 44, 0x0, 3, 216,
190
191 // enum data: key, value
192 38, uint(MainWindow::TabSettings),
193 39, uint(MainWindow::TabSql),
195 41, uint(MainWindow::TabProject),
196 42, uint(MainWindow::TabTabHelp),
197 43, uint(MainWindow::TabAll),
198 45, uint(MainWindow::NoError),
199 46, uint(MainWindow::HostNotFound),
201
202 0 // eod
203};
204
205void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
206{
207 if (_c == QMetaObject::InvokeMetaMethod) {
208 auto *_t = static_cast<MainWindow *>(_o);
209 (void)_t;
210 switch (_id) {
211 case 0: _t->onHelp(); break;
212 case 1: _t->onAbout(); break;
213 case 2: _t->onClipboard(); break;
214 case 3: _t->onCompile(); break;
215 case 4: _t->onAuthor(); break;
216 case 5: _t->onSave(); break;
217 case 6: _t->onInternetProgress(); break;
218 case 7: _t->on_comboBoxSettingsProjects_currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
219 case 8: _t->on_comboBoxSettingsLanguage_currentIndexChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
220 case 9: _t->on_comboBoxSqlDatabaseType_currentIndexChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
221 case 10: _t->on_pushButtonSettingsAdd_clicked(); break;
222 case 11: _t->on_pushButtonSettingsSave_clicked(); break;
223 case 12: _t->on_pushButtonSettingsDelete_clicked(); break;
224 case 13: _t->on_pushButtonSettingsProjectsBrowser_clicked(); break;
225 case 14: _t->on_pushButtonSqlDatabaseNameBrowse_clicked(); break;
226 case 15: _t->on_pushButtonSqlPasswordShow_clicked(); break;
227 case 16: _t->on_pushButtonSqlSave_clicked(); break;
228 case 17: _t->on_pushButtonTranslationsSourceBrowse_clicked(); break;
229 case 18: _t->on_pushButtonTranslationsDestinationBrowse_clicked(); break;
230 case 19: _t->on_pushButtonTranslationsProjectFolderBrowse_clicked(); break;
231 case 20: _t->on_pushButtonTranslationsHelp_clicked(); break;
232 case 21: _t->on_checkBoxSettingsGoogle_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
233 case 22: _t->on_checkBoxSettingsBing_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
234 case 23: _t->on_checkBoxSettingsYandex_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
235 case 24: _t->on_checkBoxSettignsMessaging_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
236 case 25: _t->on_comboBoxTranslationSourceLanguage_currentIndexChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
237 case 26: _t->changeEvent((*reinterpret_cast< QEvent*(*)>(_a[1]))); break;
238 default: ;
239 }
240 }
241}
242
243QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
244 QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
245 qt_meta_stringdata_MainWindow.data,
246 qt_meta_data_MainWindow,
247 qt_static_metacall,
248 nullptr,
249 nullptr
250} };
251
252
253const QMetaObject *MainWindow::metaObject() const
254{
255 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
256}
257
258void *MainWindow::qt_metacast(const char *_clname)
259{
260 if (!_clname) return nullptr;
261 if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
262 return static_cast<void*>(this);
263 return QMainWindow::qt_metacast(_clname);
264}
265
266int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
267{
268 _id = QMainWindow::qt_metacall(_c, _id, _a);
269 if (_id < 0)
270 return _id;
271 if (_c == QMetaObject::InvokeMetaMethod) {
272 if (_id < 27)
273 qt_static_metacall(this, _c, _id, _a);
274 _id -= 27;
275 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
276 if (_id < 27)
277 *reinterpret_cast<int*>(_a[0]) = -1;
278 _id -= 27;
279 }
280 return _id;
281}
282QT_WARNING_POP
283QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
Main Window Constructor. /class MainWindow.
Definition: MainWindow.h:77
@ 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
void onHelp()
on Help
Definition: MainWindow.cpp:585