@@ -252,6 +252,7 @@ void PFXPetApi::addPet(const PFXPet &pfx_pet) {
252
252
}
253
253
#endif
254
254
255
+ connect (worker, &PFXHttpRequestWorker::downloadProgress, this , &PFXPetApi::downloadProgress);
255
256
connect (worker, &PFXHttpRequestWorker::on_execution_finished, this , &PFXPetApi::addPetCallback);
256
257
connect (this , &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
257
258
connect (worker, &QObject::destroyed, this , [this ]() {
@@ -366,6 +367,7 @@ void PFXPetApi::allPets() {
366
367
}
367
368
#endif
368
369
370
+ connect (worker, &PFXHttpRequestWorker::downloadProgress, this , &PFXPetApi::downloadProgress);
369
371
connect (worker, &PFXHttpRequestWorker::on_execution_finished, this , &PFXPetApi::allPetsCallback);
370
372
connect (this , &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
371
373
connect (worker, &QObject::destroyed, this , [this ]() {
@@ -470,6 +472,7 @@ void PFXPetApi::deletePet(const qint64 &pet_id, const ::test_namespace::Optional
470
472
}
471
473
#endif
472
474
475
+ connect (worker, &PFXHttpRequestWorker::downloadProgress, this , &PFXPetApi::downloadProgress);
473
476
connect (worker, &PFXHttpRequestWorker::on_execution_finished, this , &PFXPetApi::deletePetCallback);
474
477
connect (this , &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
475
478
connect (worker, &QObject::destroyed, this , [this ]() {
@@ -670,6 +673,7 @@ void PFXPetApi::findPetsByStatus(const QList<QString> &status) {
670
673
}
671
674
#endif
672
675
676
+ connect (worker, &PFXHttpRequestWorker::downloadProgress, this , &PFXPetApi::downloadProgress);
673
677
connect (worker, &PFXHttpRequestWorker::on_execution_finished, this , &PFXPetApi::findPetsByStatusCallback);
674
678
connect (this , &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
675
679
connect (worker, &QObject::destroyed, this , [this ]() {
@@ -880,6 +884,7 @@ void PFXPetApi::findPetsByTags(const QList<QString> &tags) {
880
884
}
881
885
#endif
882
886
887
+ connect (worker, &PFXHttpRequestWorker::downloadProgress, this , &PFXPetApi::downloadProgress);
883
888
connect (worker, &PFXHttpRequestWorker::on_execution_finished, this , &PFXPetApi::findPetsByTagsCallback);
884
889
connect (this , &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
885
890
connect (worker, &QObject::destroyed, this , [this ]() {
@@ -1022,6 +1027,7 @@ void PFXPetApi::getPetById(const qint64 &pet_id) {
1022
1027
}
1023
1028
#endif
1024
1029
1030
+ connect (worker, &PFXHttpRequestWorker::downloadProgress, this , &PFXPetApi::downloadProgress);
1025
1031
connect (worker, &PFXHttpRequestWorker::on_execution_finished, this , &PFXPetApi::getPetByIdCallback);
1026
1032
connect (this , &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
1027
1033
connect (worker, &QObject::destroyed, this , [this ]() {
@@ -1102,6 +1108,7 @@ void PFXPetApi::updatePet(const PFXPet &pfx_pet) {
1102
1108
}
1103
1109
#endif
1104
1110
1111
+ connect (worker, &PFXHttpRequestWorker::downloadProgress, this , &PFXPetApi::downloadProgress);
1105
1112
connect (worker, &PFXHttpRequestWorker::on_execution_finished, this , &PFXPetApi::updatePetCallback);
1106
1113
connect (this , &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
1107
1114
connect (worker, &QObject::destroyed, this , [this ]() {
@@ -1238,6 +1245,7 @@ void PFXPetApi::updatePetWithForm(const qint64 &pet_id, const ::test_namespace::
1238
1245
}
1239
1246
#endif
1240
1247
1248
+ connect (worker, &PFXHttpRequestWorker::downloadProgress, this , &PFXPetApi::downloadProgress);
1241
1249
connect (worker, &PFXHttpRequestWorker::on_execution_finished, this , &PFXPetApi::updatePetWithFormCallback);
1242
1250
connect (this , &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
1243
1251
connect (worker, &QObject::destroyed, this , [this ]() {
@@ -1374,6 +1382,7 @@ void PFXPetApi::uploadFile(const qint64 &pet_id, const ::test_namespace::Optiona
1374
1382
}
1375
1383
#endif
1376
1384
1385
+ connect (worker, &PFXHttpRequestWorker::downloadProgress, this , &PFXPetApi::downloadProgress);
1377
1386
connect (worker, &PFXHttpRequestWorker::on_execution_finished, this , &PFXPetApi::uploadFileCallback);
1378
1387
connect (this , &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
1379
1388
connect (worker, &QObject::destroyed, this , [this ]() {
0 commit comments