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);
|
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 {
|
||||||
|
|
Loading…
Reference in a new issue