From 79ede9bcb6d4fc5e269f506b2a10bfe4c302040a Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 5 Jun 2020 07:40:01 +0200 Subject: Connection::run(): Q_INVOKABLE and chaining --- lib/connection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/connection.h') diff --git a/lib/connection.h b/lib/connection.h index 7998afa8..12b0756d 100644 --- a/lib/connection.h +++ b/lib/connection.h @@ -422,7 +422,8 @@ public: void setLazyLoading(bool newValue); /*! Start a pre-created job object on this connection */ - void run(BaseJob* job, RunningPolicy runningPolicy = ForegroundRequest); + Q_INVOKABLE BaseJob* run(BaseJob* job, + RunningPolicy runningPolicy = ForegroundRequest); /*! Start a job of a specified type with specified arguments and policy * -- cgit v1.2.3