summaryrefslogtreecommitdiffstats
path: root/async/autotests/kjobtest.cpp
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2015-05-15 16:00:32 +0200
committerDan Vrátil <dvratil@redhat.com>2015-05-15 16:22:28 +0200
commit5b78e0da1d64b6096829f54b29f14ec5643b5ece (patch)
tree2091795596f9721bc1d9d8cb9965103d5a32df7a /async/autotests/kjobtest.cpp
parent3bbee6c42683db5f85b01e4eb6dab8135e199f6c (diff)
downloadsink-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.cpp4
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
44void KJobTest::testSingleKJob() 44void 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
55void KJobTest::testKJobChain() 55void 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);