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);
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 {