Add Q_ENUM to ReplyFormat
This commit is contained in:
parent
020c422a9b
commit
6dc413fa2b
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue