aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/basejob.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-11-11 08:27:42 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-11-11 08:27:42 +0100
commit766410a6c9e928915ece112f4f4f4a4317789e5f (patch)
tree95cb911222a51718fd27c788c0a83805c75aa33f /lib/jobs/basejob.h
parent5c0346f3a700e6af31463490b7af3382b86e09d5 (diff)
parent65bb0b5fcf029df7a9bfa0b7b7b7e3203fd7862f (diff)
downloadlibquotient-766410a6c9e928915ece112f4f4f4a4317789e5f.tar.gz
libquotient-766410a6c9e928915ece112f4f4f4a4317789e5f.zip
Merge branch 'dev' into kitsune-fix-read-receipts-and-markers
Diffstat (limited to 'lib/jobs/basejob.h')
-rw-r--r--lib/jobs/basejob.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/jobs/basejob.h b/lib/jobs/basejob.h
index 119d7cce..ddf243ed 100644
--- a/lib/jobs/basejob.h
+++ b/lib/jobs/basejob.h
@@ -7,6 +7,7 @@
#include "requestdata.h"
#include "../logging.h"
#include "../converters.h"
+#include "../quotient_common.h"
#include <QtCore/QObject>
#include <QtCore/QStringBuilder>
@@ -33,9 +34,8 @@ class BaseJob : public QObject {
}
public:
-#define WITH_DEPRECATED_ERROR_VERSION(Recommended) \
- Recommended, Recommended##Error Q_DECL_ENUMERATOR_DEPRECATED_X( \
- "Use " #Recommended) = Recommended
+#define WITH_DEPRECATED_ERROR_VERSION(Recommended) \
+ Recommended, DECL_DEPRECATED_ENUMERATOR(Recommended##Error, Recommended)
/*! The status code of a job
*