From 2d245343e3d289bc6284e4cf23e93c2bd7002c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikl=C3=B3s=20M=C3=A1rton?= Date: Sun, 8 Feb 2026 23:30:24 +0100 Subject: [PATCH] [cpp-qt-client]Prefix signal argument types with namespace For reason see: https://github.com/KDE/clazy/blob/master/docs/checks/README-fully-qualified-moc-types.md Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --- .../src/main/resources/cpp-qt-client/HttpRequest.h.mustache | 2 +- .../petstore/cpp-qt-addDownloadProgress/client/PFXHttpRequest.h | 2 +- samples/client/petstore/cpp-qt/client/PFXHttpRequest.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/cpp-qt-client/HttpRequest.h.mustache b/modules/openapi-generator/src/main/resources/cpp-qt-client/HttpRequest.h.mustache index 1ec374f90f89..4566a9c0b0a3 100644 --- a/modules/openapi-generator/src/main/resources/cpp-qt-client/HttpRequest.h.mustache +++ b/modules/openapi-generator/src/main/resources/cpp-qt-client/HttpRequest.h.mustache @@ -71,7 +71,7 @@ public: int getHttpResponseCode() const; Q_SIGNALS: - void on_execution_finished({{prefix}}HttpRequestWorker *worker); + void on_execution_finished({{#cppNamespaceDeclarations}}{{this}}::{{/cppNamespaceDeclarations}}{{prefix}}HttpRequestWorker *worker); void downloadProgress(qint64 bytesReceived, qint64 bytesTotal); private: diff --git a/samples/client/petstore/cpp-qt-addDownloadProgress/client/PFXHttpRequest.h b/samples/client/petstore/cpp-qt-addDownloadProgress/client/PFXHttpRequest.h index e44027c91c14..3ebd6e1724a1 100644 --- a/samples/client/petstore/cpp-qt-addDownloadProgress/client/PFXHttpRequest.h +++ b/samples/client/petstore/cpp-qt-addDownloadProgress/client/PFXHttpRequest.h @@ -79,7 +79,7 @@ class PFXHttpRequestWorker : public QObject { int getHttpResponseCode() const; Q_SIGNALS: - void on_execution_finished(PFXHttpRequestWorker *worker); + void on_execution_finished(test_namespace::PFXHttpRequestWorker *worker); void downloadProgress(qint64 bytesReceived, qint64 bytesTotal); private: diff --git a/samples/client/petstore/cpp-qt/client/PFXHttpRequest.h b/samples/client/petstore/cpp-qt/client/PFXHttpRequest.h index e44027c91c14..3ebd6e1724a1 100644 --- a/samples/client/petstore/cpp-qt/client/PFXHttpRequest.h +++ b/samples/client/petstore/cpp-qt/client/PFXHttpRequest.h @@ -79,7 +79,7 @@ class PFXHttpRequestWorker : public QObject { int getHttpResponseCode() const; Q_SIGNALS: - void on_execution_finished(PFXHttpRequestWorker *worker); + void on_execution_finished(test_namespace::PFXHttpRequestWorker *worker); void downloadProgress(qint64 bytesReceived, qint64 bytesTotal); private: