diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-05 18:09:52 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-07 08:43:29 +0200 |
commit | 04956392c4b1102ac9ae627c324493f035887472 (patch) | |
tree | 58b21eb5c594df49b998d053c7e75ef360bfbab6 /lib/jobs/basejob.h | |
parent | ba3da1a570cefc43c5d78d3af716432a478cdd9d (diff) | |
download | libquotient-04956392c4b1102ac9ae627c324493f035887472.tar.gz libquotient-04956392c4b1102ac9ae627c324493f035887472.zip |
BaseJob: expose statusCode as Q_PROPERTY
Diffstat (limited to 'lib/jobs/basejob.h')
-rw-r--r-- | lib/jobs/basejob.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/jobs/basejob.h b/lib/jobs/basejob.h index 010aca78..6920ebc1 100644 --- a/lib/jobs/basejob.h +++ b/lib/jobs/basejob.h @@ -38,6 +38,7 @@ class BaseJob : public QObject { Q_OBJECT Q_PROPERTY(QUrl requestUrl READ requestUrl CONSTANT) Q_PROPERTY(int maxRetries READ maxRetries WRITE setMaxRetries) + Q_PROPERTY(int statusCode READ error NOTIFY statusChanged) public: /*! The status code of a job * |