diff options
author | Dan Vrátil <dvratil@redhat.com> | 2015-05-15 16:00:32 +0200 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2015-05-15 16:22:28 +0200 |
commit | 5b78e0da1d64b6096829f54b29f14ec5643b5ece (patch) | |
tree | 2091795596f9721bc1d9d8cb9965103d5a32df7a /async/autotests/kjobtest.cpp | |
parent | 3bbee6c42683db5f85b01e4eb6dab8135e199f6c (diff) | |
download | sink-5b78e0da1d64b6096829f54b29f14ec5643b5ece.tar.gz sink-5b78e0da1d64b6096829f54b29f14ec5643b5ece.zip |
Async: rename Async namespace to KAsync
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); |