Skip to content

Commit 2d24534

Browse files
[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>
1 parent d81b052 commit 2d24534

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/openapi-generator/src/main/resources/cpp-qt-client/HttpRequest.h.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public:
7171
int getHttpResponseCode() const;
7272

7373
Q_SIGNALS:
74-
void on_execution_finished({{prefix}}HttpRequestWorker *worker);
74+
void on_execution_finished({{#cppNamespaceDeclarations}}{{this}}::{{/cppNamespaceDeclarations}}{{prefix}}HttpRequestWorker *worker);
7575
void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
7676

7777
private:

samples/client/petstore/cpp-qt-addDownloadProgress/client/PFXHttpRequest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class PFXHttpRequestWorker : public QObject {
7979
int getHttpResponseCode() const;
8080

8181
Q_SIGNALS:
82-
void on_execution_finished(PFXHttpRequestWorker *worker);
82+
void on_execution_finished(test_namespace::PFXHttpRequestWorker *worker);
8383
void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
8484

8585
private:

samples/client/petstore/cpp-qt/client/PFXHttpRequest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class PFXHttpRequestWorker : public QObject {
7979
int getHttpResponseCode() const;
8080

8181
Q_SIGNALS:
82-
void on_execution_finished(PFXHttpRequestWorker *worker);
82+
void on_execution_finished(test_namespace::PFXHttpRequestWorker *worker);
8383
void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
8484

8585
private:

0 commit comments

Comments
 (0)