diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-05 07:40:01 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-05 07:40:01 +0200 |
commit | 79ede9bcb6d4fc5e269f506b2a10bfe4c302040a (patch) | |
tree | 8b162c198c1ae7c16693f90cfccd50e6d93d07cb /lib/connection.h | |
parent | 1973d7d53d80ced1eabc61aa0d42e1d4d7995c85 (diff) | |
download | libquotient-79ede9bcb6d4fc5e269f506b2a10bfe4c302040a.tar.gz libquotient-79ede9bcb6d4fc5e269f506b2a10bfe4c302040a.zip |
Connection::run(): Q_INVOKABLE and chaining
Diffstat (limited to 'lib/connection.h')
-rw-r--r-- | lib/connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 * |