Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jazzco qt progress info30 #19292

Closed
wants to merge 28 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
1afbc5e
Update HttpRequest.cpp.mustache
Jazzco Jun 10, 2024
1d4e78a
add generated files
Jazzco Jun 11, 2024
edcf3d5
Revert "add generated files"
Jazzco Jun 13, 2024
3f60155
catch download progress in HttpRequest and pass it to api
Jazzco Jun 13, 2024
538022e
Update HttpRequest.cpp.mustache - clean mixed in changes
Jazzco Jun 18, 2024
6a8fc09
Update HttpRequest.cpp.mustache - replaced tabs by spaces
Jazzco Jun 18, 2024
b6eb56e
Update api-header.mustache - replaced tabs by spaces
Jazzco Jun 18, 2024
914cfcf
Update HttpRequest.h.mustache - replaced tab by spaces
Jazzco Jun 18, 2024
f344685
Merge branch 'OpenAPITools:master' into qt-progress-info
Jazzco Jun 18, 2024
935d06e
ran step 3 from Linux
Jazzco Jun 18, 2024
647d932
changed downloadProgress to -nickname-DownloadProgress and added it t…
Jazzco Jun 18, 2024
bb00d13
ran step 3
Jazzco Jun 18, 2024
9e91bd6
replaced tab by spaces
Jazzco Jun 18, 2024
e71460e
ran step 3
Jazzco Jun 18, 2024
59075c1
activate tracing to detect link issue
Jazzco Jun 19, 2024
8d01f58
removed redundant connects and encapsulated changes in {{addDownloadP…
Jazzco Jun 20, 2024
901855b
added generated files from step 3
Jazzco Jun 20, 2024
431b98f
remove cli-option for httprequest - this should be always there
Jazzco Jun 20, 2024
d2afeec
added files from step 3
Jazzco Jun 20, 2024
1f0fee0
improved name
Jazzco Jun 20, 2024
ce15124
Update samples-cpp-qt-client.yaml - fix parameter order
Jazzco Jun 24, 2024
9410a41
Update samples-cpp-qt-client.yaml
Jazzco Jun 26, 2024
8488cd4
Merge branch 'OpenAPITools:master' into qt-progress-info
Jazzco Jul 16, 2024
96c9b9c
Merge branch 'OpenAPITools:master' into qt-progress-info
Jazzco Jul 19, 2024
2d69e16
update samples
wing328 Aug 4, 2024
49c9bec
Merge branch 'master' of https://github.com/openapitools/openapi-gene…
wing328 Aug 4, 2024
2a37bb9
Merge branch 'qt-progress-info' of https://github.com/Jazzco/openapi-…
wing328 Aug 4, 2024
1bc6d2f
test addDownloadProgress
wing328 Aug 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/samples-cpp-qt-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
target: "desktop"
- name: Build
working-directory: "samples/client/petstore/cpp-qt"
run: cmake . && cmake --build .
run: cmake . && cmake --build . --verbose
1 change: 1 addition & 0 deletions bin/configs/cpp-qt-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ additionalProperties:
packageName: CppQtPetstoreClient
cppNamespace: test_namespace
modelNamePrefix: PFX
addDownloadProgress: true
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ void {{prefix}}HttpRequestWorker::execute({{prefix}}HttpRequestInput *input) {
}
if (reply != nullptr) {
reply->setParent(this);
connect(reply, &QNetworkReply::downloadProgress, this, &{{prefix}}HttpRequestWorker::downloadProgress);
connect(reply, &QNetworkReply::finished, [this, reply] {
on_reply_finished(reply);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public:

Q_SIGNALS:
void on_execution_finished({{prefix}}HttpRequestWorker *worker);
void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);

private:
enum {{prefix}}CompressionType{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,8 @@ void {{classname}}::{{nickname}}({{#allParams}}{{#required}}const {{{dataType}}}
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

{{#addDownloadProgress}}
connect(worker, &{{prefix}}HttpRequestWorker::downloadProgress, this, &{{classname}}::{{nickname}}Progress);{{/addDownloadProgress}}
connect(worker, &{{prefix}}HttpRequestWorker::on_execution_finished, this, &{{classname}}::{{nickname}}Callback);
connect(this, &{{classname}}::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ private:
Q_SIGNALS:
{{#operations}}{{#operation}}
void {{nickname}}Signal({{#returnType}}{{{.}}} summary{{/returnType}});{{/operation}}{{/operations}}
{{#operations}}{{#operation}}{{#addDownloadProgress}}
void {{nickname}}Progress(qint64 bytesReceived, qint64 bytesTotal);{{/addDownloadProgress}}{{/operation}}{{/operations}}
{{#operations}}{{#operation}}
void {{nickname}}SignalFull({{prefix}}HttpRequestWorker *worker{{#returnType}}, {{{.}}} summary{{/returnType}});{{/operation}}{{/operations}}
{{#operations}}{{#operation}}
Expand Down
1 change: 1 addition & 0 deletions samples/client/petstore/cpp-qt/client/PFXHttpRequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ void PFXHttpRequestWorker::execute(PFXHttpRequestInput *input) {
}
if (reply != nullptr) {
reply->setParent(this);
connect(reply, &QNetworkReply::downloadProgress, this, &PFXHttpRequestWorker::downloadProgress);
connect(reply, &QNetworkReply::finished, [this, reply] {
on_reply_finished(reply);
});
Expand Down
1 change: 1 addition & 0 deletions samples/client/petstore/cpp-qt/client/PFXHttpRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class PFXHttpRequestWorker : public QObject {

Q_SIGNALS:
void on_execution_finished(PFXHttpRequestWorker *worker);
void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);

private:
enum PFXCompressionType{
Expand Down
9 changes: 9 additions & 0 deletions samples/client/petstore/cpp-qt/client/PFXPetApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ void PFXPetApi::addPet(const PFXPet &pfx_pet) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXPetApi::addPetProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXPetApi::addPetCallback);
connect(this, &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -348,6 +349,7 @@ void PFXPetApi::allPets() {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXPetApi::allPetsProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXPetApi::allPetsCallback);
connect(this, &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -446,6 +448,7 @@ void PFXPetApi::deletePet(const qint64 &pet_id, const ::test_namespace::Optional
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXPetApi::deletePetProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXPetApi::deletePetCallback);
connect(this, &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -640,6 +643,7 @@ void PFXPetApi::findPetsByStatus(const QList<QString> &status) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXPetApi::findPetsByStatusProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXPetApi::findPetsByStatusCallback);
connect(this, &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -844,6 +848,7 @@ void PFXPetApi::findPetsByTags(const QList<QString> &tags) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXPetApi::findPetsByTagsProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXPetApi::findPetsByTagsCallback);
connect(this, &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -980,6 +985,7 @@ void PFXPetApi::getPetById(const qint64 &pet_id) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXPetApi::getPetByIdProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXPetApi::getPetByIdCallback);
connect(this, &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -1054,6 +1060,7 @@ void PFXPetApi::updatePet(const PFXPet &pfx_pet) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXPetApi::updatePetProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXPetApi::updatePetCallback);
connect(this, &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -1184,6 +1191,7 @@ void PFXPetApi::updatePetWithForm(const qint64 &pet_id, const ::test_namespace::
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXPetApi::updatePetWithFormProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXPetApi::updatePetWithFormCallback);
connect(this, &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -1314,6 +1322,7 @@ void PFXPetApi::uploadFile(const qint64 &pet_id, const ::test_namespace::Optiona
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXPetApi::uploadFileProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXPetApi::uploadFileCallback);
connect(this, &PFXPetApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down
10 changes: 10 additions & 0 deletions samples/client/petstore/cpp-qt/client/PFXPetApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,16 @@ class PFXPetApi : public QObject {
void updatePetWithFormSignal();
void uploadFileSignal(PFXApiResponse summary);

void addPetProgress(qint64 bytesReceived, qint64 bytesTotal);
void allPetsProgress(qint64 bytesReceived, qint64 bytesTotal);
void deletePetProgress(qint64 bytesReceived, qint64 bytesTotal);
void findPetsByStatusProgress(qint64 bytesReceived, qint64 bytesTotal);
void findPetsByTagsProgress(qint64 bytesReceived, qint64 bytesTotal);
void getPetByIdProgress(qint64 bytesReceived, qint64 bytesTotal);
void updatePetProgress(qint64 bytesReceived, qint64 bytesTotal);
void updatePetWithFormProgress(qint64 bytesReceived, qint64 bytesTotal);
void uploadFileProgress(qint64 bytesReceived, qint64 bytesTotal);

void addPetSignalFull(PFXHttpRequestWorker *worker);
void allPetsSignalFull(PFXHttpRequestWorker *worker, QSet<PFXPet> summary);
void deletePetSignalFull(PFXHttpRequestWorker *worker);
Expand Down
2 changes: 2 additions & 0 deletions samples/client/petstore/cpp-qt/client/PFXPrimitivesApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ void PFXPrimitivesApi::primitivesIntegerPost(const ::test_namespace::OptionalPar
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXPrimitivesApi::primitivesIntegerPostProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXPrimitivesApi::primitivesIntegerPostCallback);
connect(this, &PFXPrimitivesApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -297,6 +298,7 @@ void PFXPrimitivesApi::primitivesNumberPut(const ::test_namespace::OptionalParam
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXPrimitivesApi::primitivesNumberPutProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXPrimitivesApi::primitivesNumberPutCallback);
connect(this, &PFXPrimitivesApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down
3 changes: 3 additions & 0 deletions samples/client/petstore/cpp-qt/client/PFXPrimitivesApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ class PFXPrimitivesApi : public QObject {
void primitivesIntegerPostSignal();
void primitivesNumberPutSignal();

void primitivesIntegerPostProgress(qint64 bytesReceived, qint64 bytesTotal);
void primitivesNumberPutProgress(qint64 bytesReceived, qint64 bytesTotal);

void primitivesIntegerPostSignalFull(PFXHttpRequestWorker *worker);
void primitivesNumberPutSignalFull(PFXHttpRequestWorker *worker);

Expand Down
4 changes: 4 additions & 0 deletions samples/client/petstore/cpp-qt/client/PFXStoreApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ void PFXStoreApi::deleteOrder(const QString &order_id) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXStoreApi::deleteOrderProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXStoreApi::deleteOrderCallback);
connect(this, &PFXStoreApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -311,6 +312,7 @@ void PFXStoreApi::getInventory() {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXStoreApi::getInventoryProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXStoreApi::getInventoryCallback);
connect(this, &PFXStoreApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -403,6 +405,7 @@ void PFXStoreApi::getOrderById(const qint64 &order_id) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXStoreApi::getOrderByIdProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXStoreApi::getOrderByIdCallback);
connect(this, &PFXStoreApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -477,6 +480,7 @@ void PFXStoreApi::placeOrder(const PFXOrder &pfx_order) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXStoreApi::placeOrderProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXStoreApi::placeOrderCallback);
connect(this, &PFXStoreApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down
5 changes: 5 additions & 0 deletions samples/client/petstore/cpp-qt/client/PFXStoreApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ class PFXStoreApi : public QObject {
void getOrderByIdSignal(PFXOrder summary);
void placeOrderSignal(PFXOrder summary);

void deleteOrderProgress(qint64 bytesReceived, qint64 bytesTotal);
void getInventoryProgress(qint64 bytesReceived, qint64 bytesTotal);
void getOrderByIdProgress(qint64 bytesReceived, qint64 bytesTotal);
void placeOrderProgress(qint64 bytesReceived, qint64 bytesTotal);

void deleteOrderSignalFull(PFXHttpRequestWorker *worker);
void getInventorySignalFull(PFXHttpRequestWorker *worker, QMap<QString, qint32> summary);
void getOrderByIdSignalFull(PFXHttpRequestWorker *worker, PFXOrder summary);
Expand Down
8 changes: 8 additions & 0 deletions samples/client/petstore/cpp-qt/client/PFXUserApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ void PFXUserApi::createUser(const PFXUser &pfx_user) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXUserApi::createUserProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXUserApi::createUserCallback);
connect(this, &PFXUserApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -310,6 +311,7 @@ void PFXUserApi::createUsersWithArrayInput(const QList<PFXUser> &pfx_user) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXUserApi::createUsersWithArrayInputProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXUserApi::createUsersWithArrayInputCallback);
connect(this, &PFXUserApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -382,6 +384,7 @@ void PFXUserApi::createUsersWithListInput(const QList<PFXUser> &pfx_user) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXUserApi::createUsersWithListInputProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXUserApi::createUsersWithListInputCallback);
connect(this, &PFXUserApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -464,6 +467,7 @@ void PFXUserApi::deleteUser(const QString &username) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXUserApi::deleteUserProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXUserApi::deleteUserCallback);
connect(this, &PFXUserApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -546,6 +550,7 @@ void PFXUserApi::getUserByName(const QString &username) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXUserApi::getUserByNameProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXUserApi::getUserByNameCallback);
connect(this, &PFXUserApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -646,6 +651,7 @@ void PFXUserApi::loginUser(const QString &username, const QString &password) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXUserApi::loginUserProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXUserApi::loginUserCallback);
connect(this, &PFXUserApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -716,6 +722,7 @@ void PFXUserApi::logoutUser() {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXUserApi::logoutUserProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXUserApi::logoutUserCallback);
connect(this, &PFXUserApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down Expand Up @@ -803,6 +810,7 @@ void PFXUserApi::updateUser(const QString &username, const PFXUser &pfx_user) {
input.headers.insert(keyValueIt->first, keyValueIt->second);
}

connect(worker, &PFXHttpRequestWorker::downloadProgress, this, &PFXUserApi::updateUserProgress);
connect(worker, &PFXHttpRequestWorker::on_execution_finished, this, &PFXUserApi::updateUserCallback);
connect(this, &PFXUserApi::abortRequestsSignal, worker, &QObject::deleteLater);
connect(worker, &QObject::destroyed, this, [this]() {
Expand Down
9 changes: 9 additions & 0 deletions samples/client/petstore/cpp-qt/client/PFXUserApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ class PFXUserApi : public QObject {
void logoutUserSignal();
void updateUserSignal();

void createUserProgress(qint64 bytesReceived, qint64 bytesTotal);
void createUsersWithArrayInputProgress(qint64 bytesReceived, qint64 bytesTotal);
void createUsersWithListInputProgress(qint64 bytesReceived, qint64 bytesTotal);
void deleteUserProgress(qint64 bytesReceived, qint64 bytesTotal);
void getUserByNameProgress(qint64 bytesReceived, qint64 bytesTotal);
void loginUserProgress(qint64 bytesReceived, qint64 bytesTotal);
void logoutUserProgress(qint64 bytesReceived, qint64 bytesTotal);
void updateUserProgress(qint64 bytesReceived, qint64 bytesTotal);

void createUserSignalFull(PFXHttpRequestWorker *worker);
void createUsersWithArrayInputSignalFull(PFXHttpRequestWorker *worker);
void createUsersWithListInputSignalFull(PFXHttpRequestWorker *worker);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public FormatTest(byte[] @byte, DateTime date, decimal number, string password,
/// Used to track the state of Int32Range
/// </summary>
[JsonIgnore]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
public Option<int?> Int32RangeOption { get; private set; }

/// <summary>
Expand All @@ -222,7 +222,7 @@ public FormatTest(byte[] @byte, DateTime date, decimal number, string password,
/// Used to track the state of Int64Negative
/// </summary>
[JsonIgnore]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
public Option<long?> Int64NegativeOption { get; private set; }

/// <summary>
Expand All @@ -235,7 +235,7 @@ public FormatTest(byte[] @byte, DateTime date, decimal number, string password,
/// Used to track the state of Int64NegativeExclusive
/// </summary>
[JsonIgnore]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
public Option<long?> Int64NegativeExclusiveOption { get; private set; }

/// <summary>
Expand All @@ -248,7 +248,7 @@ public FormatTest(byte[] @byte, DateTime date, decimal number, string password,
/// Used to track the state of Int64Positive
/// </summary>
[JsonIgnore]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
public Option<long?> Int64PositiveOption { get; private set; }

/// <summary>
Expand All @@ -261,7 +261,7 @@ public FormatTest(byte[] @byte, DateTime date, decimal number, string password,
/// Used to track the state of Int64PositiveExclusive
/// </summary>
[JsonIgnore]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
public Option<long?> Int64PositiveExclusiveOption { get; private set; }

/// <summary>
Expand Down
Loading
Loading