diff options
Diffstat (limited to 'async/autotests/kjobtest.cpp')
-rw-r--r-- | async/autotests/kjobtest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/async/autotests/kjobtest.cpp b/async/autotests/kjobtest.cpp index be92d68..15e50de 100644 --- a/async/autotests/kjobtest.cpp +++ b/async/autotests/kjobtest.cpp | |||
@@ -43,7 +43,7 @@ private Q_SLOTS: | |||
43 | 43 | ||
44 | void KJobTest::testSingleKJob() | 44 | void KJobTest::testSingleKJob() |
45 | { | 45 | { |
46 | auto job = Async::start<int, TestKJob, &TestKJob::result, int>(); | 46 | auto job = KAsync::start<int, TestKJob, &TestKJob::result, int>(); |
47 | 47 | ||
48 | auto future = job.exec(42); | 48 | auto future = job.exec(42); |
49 | future.waitForFinished(); | 49 | future.waitForFinished(); |
@@ -54,7 +54,7 @@ void KJobTest::testSingleKJob() | |||
54 | 54 | ||
55 | void KJobTest::testKJobChain() | 55 | void KJobTest::testKJobChain() |
56 | { | 56 | { |
57 | auto job = Async::start<int, TestKJob, &TestKJob::result, int>() | 57 | auto job = KAsync::start<int, TestKJob, &TestKJob::result, int>() |
58 | .then<int, TestKJob, &TestKJob::result, int>(); | 58 | .then<int, TestKJob, &TestKJob::result, int>(); |
59 | 59 | ||
60 | auto future = job.exec(42); | 60 | auto future = job.exec(42); |