aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-05 18:09:52 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-07 08:43:29 +0200
commit04956392c4b1102ac9ae627c324493f035887472 (patch)
tree58b21eb5c594df49b998d053c7e75ef360bfbab6 /lib/jobs
parentba3da1a570cefc43c5d78d3af716432a478cdd9d (diff)
downloadlibquotient-04956392c4b1102ac9ae627c324493f035887472.tar.gz
libquotient-04956392c4b1102ac9ae627c324493f035887472.zip
BaseJob: expose statusCode as Q_PROPERTY
Diffstat (limited to 'lib/jobs')
-rw-r--r--lib/jobs/basejob.h1
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
*