Ubuntu Download Manager: /build/ubuntu-download-manager-git/src/ubuntu-download-manager/src/downloads/client/ubuntu-download-manager-client_autogen/KVAQPNROTY/moc_download.cpp Source File

Ubuntu Download Manager 1.2.0 A session-wide downloading service |

moc_download.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'download.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8
9 #include <memory>
10 #include "../../ubuntu/download_manager/download.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'download.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
21 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_PUSH
23 QT_WARNING_DISABLE_DEPRECATED
24 struct qt_meta_stringdata_Ubuntu__DownloadManager__Download_t {
25 QByteArrayData data[23];
26 char stringdata0[265];
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_Ubuntu__DownloadManager__Download_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33 static const qt_meta_stringdata_Ubuntu__DownloadManager__Download_t qt_meta_stringdata_Ubuntu__DownloadManager__Download = {
34 {
35 QT_MOC_LITERAL(0, 0, 33), // "Ubuntu::DownloadManager::Down..."
36 QT_MOC_LITERAL(1, 34, 8), // "canceled"
37 QT_MOC_LITERAL(2, 43, 0), // ""
38 QT_MOC_LITERAL(3, 44, 7), // "success"
39 QT_MOC_LITERAL(4, 52, 5), // "error"
40 QT_MOC_LITERAL(5, 58, 6), // "Error*"
41 QT_MOC_LITERAL(6, 65, 8), // "finished"
42 QT_MOC_LITERAL(7, 74, 4), // "path"
43 QT_MOC_LITERAL(8, 79, 6), // "paused"
44 QT_MOC_LITERAL(9, 86, 10), // "processing"
45 QT_MOC_LITERAL(10, 97, 8), // "progress"
46 QT_MOC_LITERAL(11, 106, 8), // "received"
47 QT_MOC_LITERAL(12, 115, 5), // "total"
48 QT_MOC_LITERAL(13, 121, 7), // "resumed"
49 QT_MOC_LITERAL(14, 129, 7), // "started"
50 QT_MOC_LITERAL(15, 137, 20), // "clickPackagedChanged"
51 QT_MOC_LITERAL(16, 158, 22), // "showInIndicatorChanged"
52 QT_MOC_LITERAL(17, 181, 12), // "titleChanged"
53 QT_MOC_LITERAL(18, 194, 21), // "destinationAppChanged"
54 QT_MOC_LITERAL(19, 216, 12), // "ClickPackage"
55 QT_MOC_LITERAL(20, 229, 15), // "ShowInIndicator"
56 QT_MOC_LITERAL(21, 245, 5), // "Title"
57 QT_MOC_LITERAL(22, 251, 13) // "DownloadOwner"
58
59 },
60 "Ubuntu::DownloadManager::Download\0"
61 "canceled\0\0success\0error\0Error*\0finished\0"
62 "path\0paused\0processing\0progress\0"
63 "received\0total\0resumed\0started\0"
64 "clickPackagedChanged\0showInIndicatorChanged\0"
65 "titleChanged\0destinationAppChanged\0"
66 "ClickPackage\0ShowInIndicator\0Title\0"
67 "DownloadOwner"
68 };
69 #undef QT_MOC_LITERAL
70
71 static const uint qt_meta_data_Ubuntu__DownloadManager__Download[] = {
72
73 // content:
74 8, // revision
75 0, // classname
76 0, 0, // classinfo
77 12, 14, // methods
78 4, 104, // properties
79 0, 0, // enums/sets
80 0, 0, // constructors
81 0, // flags
82 12, // signalCount
83
84 // signals: name, argc, parameters, tag, flags
85 1, 1, 74, 2, 0x06 /* Public */,
86 4, 1, 77, 2, 0x06 /* Public */,
87 6, 1, 80, 2, 0x06 /* Public */,
88 8, 1, 83, 2, 0x06 /* Public */,
89 9, 1, 86, 2, 0x06 /* Public */,
90 10, 2, 89, 2, 0x06 /* Public */,
91 13, 1, 94, 2, 0x06 /* Public */,
92 14, 1, 97, 2, 0x06 /* Public */,
93 15, 0, 100, 2, 0x06 /* Public */,
94 16, 0, 101, 2, 0x06 /* Public */,
95 17, 0, 102, 2, 0x06 /* Public */,
96 18, 0, 103, 2, 0x06 /* Public */,
97
98 // signals: parameters
99 QMetaType::Void, QMetaType::Bool, 3,
100 QMetaType::Void, 0x80000000 | 5, 4,
101 QMetaType::Void, QMetaType::QString, 7,
102 QMetaType::Void, QMetaType::Bool, 3,
103 QMetaType::Void, QMetaType::QString, 7,
104 QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 11, 12,
105 QMetaType::Void, QMetaType::Bool, 3,
106 QMetaType::Void, QMetaType::Bool, 3,
107 QMetaType::Void,
108 QMetaType::Void,
109 QMetaType::Void,
110 QMetaType::Void,
111
112 // properties: name, type, flags
113 19, QMetaType::QString, 0x00495001,
114 20, QMetaType::Bool, 0x00495001,
115 21, QMetaType::QString, 0x00495001,
116 22, QMetaType::QString, 0x00495001,
117
118 // properties: notify_signal_id
119 8,
120 9,
121 10,
122 11,
123
124 0 // eod
125 };
126
127 void Ubuntu::DownloadManager::Download::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
128 {
129 if (_c == QMetaObject::InvokeMetaMethod) {
130 auto *_t = static_cast<Download *>(_o);
131 Q_UNUSED(_t)
132 switch (_id) {
133 case 0: _t->canceled((*reinterpret_cast< bool(*)>(_a[1]))); break;
134 case 1: _t->error((*reinterpret_cast< Error*(*)>(_a[1]))); break;
135 case 2: _t->finished((*reinterpret_cast< const QString(*)>(_a[1]))); break;
136 case 3: _t->paused((*reinterpret_cast< bool(*)>(_a[1]))); break;
137 case 4: _t->processing((*reinterpret_cast< const QString(*)>(_a[1]))); break;
138 case 5: _t->progress((*reinterpret_cast< qulonglong(*)>(_a[1])),(*reinterpret_cast< qulonglong(*)>(_a[2]))); break;
139 case 6: _t->resumed((*reinterpret_cast< bool(*)>(_a[1]))); break;
140 case 7: _t->started((*reinterpret_cast< bool(*)>(_a[1]))); break;
141 case 8: _t->clickPackagedChanged(); break;
142 case 9: _t->showInIndicatorChanged(); break;
143 case 10: _t->titleChanged(); break;
144 case 11: _t->destinationAppChanged(); break;
145 default: ;
146 }
147 } else if (_c == QMetaObject::IndexOfMethod) {
148 int *result = reinterpret_cast<int *>(_a[0]);
149 {
150 using _t = void (Download::*)(bool );
151 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Download::canceled)) {
152 *result = 0;
153 return;
154 }
155 }
156 {
157 using _t = void (Download::*)(Error * );
158 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Download::error)) {
159 *result = 1;
160 return;
161 }
162 }
163 {
164 using _t = void (Download::*)(const QString & );
165 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Download::finished)) {
166 *result = 2;
167 return;
168 }
169 }
170 {
171 using _t = void (Download::*)(bool );
172 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Download::paused)) {
173 *result = 3;
174 return;
175 }
176 }
177 {
178 using _t = void (Download::*)(const QString & );
179 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Download::processing)) {
180 *result = 4;
181 return;
182 }
183 }
184 {
185 using _t = void (Download::*)(qulonglong , qulonglong );
186 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Download::progress)) {
187 *result = 5;
188 return;
189 }
190 }
191 {
192 using _t = void (Download::*)(bool );
193 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Download::resumed)) {
194 *result = 6;
195 return;
196 }
197 }
198 {
199 using _t = void (Download::*)(bool );
200 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Download::started)) {
201 *result = 7;
202 return;
203 }
204 }
205 {
206 using _t = void (Download::*)();
207 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Download::clickPackagedChanged)) {
208 *result = 8;
209 return;
210 }
211 }
212 {
213 using _t = void (Download::*)();
214 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Download::showInIndicatorChanged)) {
215 *result = 9;
216 return;
217 }
218 }
219 {
220 using _t = void (Download::*)();
221 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Download::titleChanged)) {
222 *result = 10;
223 return;
224 }
225 }
226 {
227 using _t = void (Download::*)();
228 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Download::destinationAppChanged)) {
229 *result = 11;
230 return;
231 }
232 }
233 }
234 #ifndef QT_NO_PROPERTIES
235 else if (_c == QMetaObject::ReadProperty) {
236 auto *_t = static_cast<Download *>(_o);
237 Q_UNUSED(_t)
238 void *_v = _a[0];
239 switch (_id) {
240 case 0: *reinterpret_cast< QString*>(_v) = _t->clickPackage(); break;
241 case 1: *reinterpret_cast< bool*>(_v) = _t->showInIndicator(); break;
242 case 2: *reinterpret_cast< QString*>(_v) = _t->title(); break;
243 case 3: *reinterpret_cast< QString*>(_v) = _t->destinationApp(); break;
244 default: break;
245 }
246 } else if (_c == QMetaObject::WriteProperty) {
247 } else if (_c == QMetaObject::ResetProperty) {
248 }
249 #endif // QT_NO_PROPERTIES
250 }
251
252 QT_INIT_METAOBJECT const QMetaObject Ubuntu::DownloadManager::Download::staticMetaObject = { {
253 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
254 qt_meta_stringdata_Ubuntu__DownloadManager__Download.data,
255 qt_meta_data_Ubuntu__DownloadManager__Download,
256 qt_static_metacall,
257 nullptr,
258 nullptr
259 } };
260
261
262 const QMetaObject *Ubuntu::DownloadManager::Download::metaObject() const
263 {
264 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
265 }
266
267 void *Ubuntu::DownloadManager::Download::qt_metacast(const char *_clname)
268 {
269 if (!_clname) return nullptr;
270 if (!strcmp(_clname, qt_meta_stringdata_Ubuntu__DownloadManager__Download.stringdata0))
271 return static_cast<void*>(this);
272 return QObject::qt_metacast(_clname);
273 }
274
275 int Ubuntu::DownloadManager::Download::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
276 {
277 _id = QObject::qt_metacall(_c, _id, _a);
278 if (_id < 0)
279 return _id;
280 if (_c == QMetaObject::InvokeMetaMethod) {
281 if (_id < 12)
282 qt_static_metacall(this, _c, _id, _a);
283 _id -= 12;
284 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
285 if (_id < 12)
286 *reinterpret_cast<int*>(_a[0]) = -1;
287 _id -= 12;
288 }
289 #ifndef QT_NO_PROPERTIES
290 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
291 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
292 qt_static_metacall(this, _c, _id, _a);
293 _id -= 4;
294 } else if (_c == QMetaObject::QueryPropertyDesignable) {
295 _id -= 4;
296 } else if (_c == QMetaObject::QueryPropertyScriptable) {
297 _id -= 4;
298 } else if (_c == QMetaObject::QueryPropertyStored) {
299 _id -= 4;
300 } else if (_c == QMetaObject::QueryPropertyEditable) {
301 _id -= 4;
302 } else if (_c == QMetaObject::QueryPropertyUser) {
303 _id -= 4;
304 }
305 #endif // QT_NO_PROPERTIES
306 return _id;
307 }
308
309 // SIGNAL 0
310 void Ubuntu::DownloadManager::Download::canceled(bool _t1)
311 {
312 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
313 QMetaObject::activate(this, &staticMetaObject, 0, _a);
314 }
315
316 // SIGNAL 1
317 void Ubuntu::DownloadManager::Download::error(Error * _t1)
318 {
319 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
320 QMetaObject::activate(this, &staticMetaObject, 1, _a);
321 }
322
323 // SIGNAL 2
324 void Ubuntu::DownloadManager::Download::finished(const QString & _t1)
325 {
326 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
327 QMetaObject::activate(this, &staticMetaObject, 2, _a);
328 }
329
330 // SIGNAL 3
331 void Ubuntu::DownloadManager::Download::paused(bool _t1)
332 {
333 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
334 QMetaObject::activate(this, &staticMetaObject, 3, _a);
335 }
336
337 // SIGNAL 4
338 void Ubuntu::DownloadManager::Download::processing(const QString & _t1)
339 {
340 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
341 QMetaObject::activate(this, &staticMetaObject, 4, _a);
342 }
343
344 // SIGNAL 5
345 void Ubuntu::DownloadManager::Download::progress(qulonglong _t1, qulonglong _t2)
346 {
347 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
348 QMetaObject::activate(this, &staticMetaObject, 5, _a);
349 }
350
351 // SIGNAL 6
352 void Ubuntu::DownloadManager::Download::resumed(bool _t1)
353 {
354 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
355 QMetaObject::activate(this, &staticMetaObject, 6, _a);
356 }
357
358 // SIGNAL 7
359 void Ubuntu::DownloadManager::Download::started(bool _t1)
360 {
361 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
362 QMetaObject::activate(this, &staticMetaObject, 7, _a);
363 }
364
365 // SIGNAL 8
366 void Ubuntu::DownloadManager::Download::clickPackagedChanged()
367 {
368 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
369 }
370
371 // SIGNAL 9
372 void Ubuntu::DownloadManager::Download::showInIndicatorChanged()
373 {
374 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
375 }
376
377 // SIGNAL 10
378 void Ubuntu::DownloadManager::Download::titleChanged()
379 {
380 QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
381 }
382
383 // SIGNAL 11
384 void Ubuntu::DownloadManager::Download::destinationAppChanged()
385 {
386 QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
387 }
388 QT_WARNING_POP
389 QT_END_MOC_NAMESPACE
Ubuntu::DownloadManager::Download::titleChanged
void titleChanged()
Definition: moc_download.cpp:378
O1
usr bin c fPIC version build ubuntu download manager git src ubuntu download manager src downloads client symbols map O1
Definition: link.txt:1
Ubuntu::DownloadManager::Download::finished
void finished(const QString &path)
Definition: moc_download.cpp:324
QObject
soname
usr bin c fPIC version build ubuntu download manager git src ubuntu download manager src downloads client symbols map sort as now shared soname
Definition: link.txt:1
needed
usr bin c fPIC version build ubuntu download manager git src ubuntu download manager src downloads client symbols map sort as needed
Definition: link.txt:1
qt_meta_stringdata_Ubuntu__DownloadManager__Download_t::stringdata0
char stringdata0[265]
Definition: moc_download.cpp:26
linux
#define linux
Definition: moc_predefs.h:285
Ubuntu::DownloadManager::Download::error
virtual Error * error() const =0
Ubuntu::DownloadManager::Download::resumed
void resumed(bool success)
Definition: moc_download.cpp:352
Wl
usr bin c fPIC version build ubuntu download manager git src ubuntu download manager src downloads client symbols map Wl
Definition: link.txt:1
Ubuntu::DownloadManager::Download::started
void started(bool success)
Definition: moc_download.cpp:359
Ubuntu::DownloadManager::Download::progress
virtual qulonglong progress()=0
Ubuntu::DownloadManager::Download::destinationAppChanged
void destinationAppChanged()
Definition: moc_download.cpp:384
rpath
usr bin c fPIC version build ubuntu download manager git src ubuntu download manager src downloads client symbols map sort as now shared libubuntu download manager client so o libubuntu download manager client so CMakeFiles ubuntu download manager client dir ubuntu download manager client_autogen mocs_compilation cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager download_impl cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager download_interface cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager downloads_list_impl cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager download_pendingcall_watcher cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager error cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager group_download cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager logging logger cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager manager cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager manager_impl cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager manager_interface cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager manager_pendingcall_watcher cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager pending_call_watcher cpp o CMakeFiles ubuntu download manager client dir ubuntu download_manager properties_interface cpp o rpath
Definition: link.txt:1
add_definitions
add_definitions(-DBOOST_LOG_DYN_LINK) set(TARGET ubuntu-download-manager-client) set(SOURCES ubuntu/download_manager/download_impl.cpp ubuntu/download_manager/download_interface.cpp ubuntu/download_manager/downloads_list_impl.cpp ubuntu/download_manager/download_pendingcall_watcher.cpp ubuntu/download_manager/error.cpp ubuntu/download_manager/group_download.cpp ubuntu/download_manager/logging/logger.cpp ubuntu/download_manager/manager.cpp ubuntu/download_manager/manager_impl.cpp ubuntu/download_manager/manager_interface.cpp ubuntu/download_manager/manager_pendingcall_watcher.cpp ubuntu/download_manager/pending_call_watcher.cpp ubuntu/download_manager/properties_interface.cpp) set(PUBLIC_HEADERS ubuntu/download_manager/download.h ubuntu/download_manager/downloads_list.h ubuntu/download_manager/error.h ubuntu/download_manager/group_download.h ubuntu/download_manager/manager.h ubuntu/download_manager/logging/logger.h) set(PRIVATE_HEADERS ubuntu/download_manager/download_impl.h ubuntu/download_manager/download_interface.h ubuntu/download_manager/downloads_list_impl.h ubuntu/download_manager/download_pendingcall_watcher.h ubuntu/download_manager/manager_impl.h ubuntu/download_manager/manager_interface.h ubuntu/download_manager/manager_pendingcall_watcher.h ubuntu/download_manager/pending_call_watcher.h ubuntu/download_manager/properties_interface.cpp) include_directories($
Definition: CMakeLists.txt:1
relro
usr bin c fPIC version build ubuntu download manager git src ubuntu download manager src downloads client symbols map sort as relro
Definition: link.txt:1
set_target_properties
src downloads client symbols map set_target_properties(${TARGET} PROPERTIES LINK_FLAGS "${ldflags} -Wl,--version-script,${symbol_map}" LINK_DEPENDS ${symbol_map} VERSION ${UDM_VERSION_MAJOR}.${UDM_VERSION_MINOR}.${UDM_VERSION_PATCH} SOVERSION ${UDM_VERSION_MAJOR}) target_link_libraries($
Definition: CMakeLists.txt:57
include_directories
include_directories(${Qt5Network_INCLUDE_DIRS}) include_directories($
Definition: CMakeLists.txt:43
QT_MOC_LITERAL
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_download.cpp:28
Ubuntu::DownloadManager::Download::canceled
void canceled(bool success)
Definition: moc_download.cpp:310
script
usr bin c fPIC version script
Definition: link.txt:1
qt_meta_stringdata_Ubuntu__DownloadManager__Download_t::data
QByteArrayData data[23]
Definition: moc_download.cpp:25
z
usr bin c fPIC version build ubuntu download manager git src ubuntu download manager src downloads client symbols map sort as z
Definition: link.txt:1
Ubuntu::DownloadManager::Download::paused
void paused(bool success)
Definition: moc_download.cpp:331
D_FORTIFY_SOURCE
usr bin c fPIC D_FORTIFY_SOURCE
Definition: link.txt:1
Ubuntu::DownloadManager::Download::Download
Download(QObject *parent=0)
Definition: download.h:57
common
usr bin c fPIC version build ubuntu download manager git src ubuntu download manager src downloads client symbols map sort common
Definition: link.txt:1
Ubuntu::DownloadManager::Download::processing
void processing(const QString &path)
Definition: moc_download.cpp:338
Ubuntu::DownloadManager::Error
The Error class is the base class that represents an error in the download manager API.
Definition: error.h:55
Ubuntu::DownloadManager::Download::clickPackagedChanged
void clickPackagedChanged()
Definition: moc_download.cpp:366
qt_meta_stringdata_Ubuntu__DownloadManager__Download_t
Definition: moc_download.cpp:24
add_library
src downloads common add_library(${TARGET} SHARED ${SOURCES} ${PUBLIC_HEADERS} ${PRIVATE_HEADERS}) set(symbol_map "$
Definition: CMakeLists.txt:50
Ubuntu::DownloadManager::Download::showInIndicatorChanged
void showInIndicatorChanged()
Definition: moc_download.cpp:372