Add Q_ENUM to ReplyFormat

This commit is contained in:
scharel 2021-05-02 13:47:26 +02:00
parent 020c422a9b
commit 6dc413fa2b

View file

@ -90,10 +90,12 @@ public:
explicit NextcloudApi(QObject *parent = nullptr); explicit NextcloudApi(QObject *parent = nullptr);
virtual ~NextcloudApi(); virtual ~NextcloudApi();
// API reply format
enum ReplyFormat { enum ReplyFormat {
ReplyJSON, // The reply should be in JSON format ReplyJSON, // The reply should be in JSON format
ReplyXML // The reply should be in XML format ReplyXML // The reply should be in XML format
}; };
Q_ENUM(ReplyFormat)
// Status codes // Status codes
enum ApiCallStatus { enum ApiCallStatus {