From 6dc413fa2bb19607a89f6f72c7ab9f1a9f4ec986 Mon Sep 17 00:00:00 2001 From: scharel Date: Sun, 2 May 2021 13:47:26 +0200 Subject: [PATCH] Add Q_ENUM to ReplyFormat --- src/nextcloudapi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nextcloudapi.h b/src/nextcloudapi.h index 93e4795..82bed9e 100644 --- a/src/nextcloudapi.h +++ b/src/nextcloudapi.h @@ -90,10 +90,12 @@ public: explicit NextcloudApi(QObject *parent = nullptr); virtual ~NextcloudApi(); + // API reply format enum ReplyFormat { ReplyJSON, // The reply should be in JSON format ReplyXML // The reply should be in XML format }; + Q_ENUM(ReplyFormat) // Status codes enum ApiCallStatus {