aboutsummaryrefslogtreecommitdiff
path: root/jobs/basejob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/basejob.h')
-rw-r--r--jobs/basejob.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/basejob.h b/jobs/basejob.h
index fc26426b..ed35e3e8 100644
--- a/jobs/basejob.h
+++ b/jobs/basejob.h
@@ -31,7 +31,7 @@ namespace QMatrixClient
{
class ConnectionData;
- enum class JobHttpType { GetJob, PutJob, PostJob, DeleteJob };
+ enum class HttpVerb { Get, Put, Post, Delete };
class BaseJob: public QObject
{
@@ -111,7 +111,7 @@ namespace QMatrixClient
using duration_t = int; // milliseconds
public:
- BaseJob(ConnectionData* connection, JobHttpType type, QString name,
+ BaseJob(ConnectionData* connection, HttpVerb verb, QString name,
QString endpoint, Query query = Query(), Data data = Data(),
bool needsToken = true);
virtual ~BaseJob();