Issue #15 Created CPromise, a way to set the result of QFuture objects

This enables several new features:
* singleShot can return a QFuture.
* a version of invokeMethod that returns a QFuture.
* CGenericDBusInterface::callDBusFuture, which returns a QFuture.
This commit is contained in:
Mat Sutcliffe
2019-02-26 01:51:14 +00:00
parent 07f6c8b73c
commit 6aa9f0cc25
6 changed files with 264 additions and 7 deletions

View File

@@ -0,0 +1,27 @@
load(common_pre)
QT += core testlib
TARGET = testslot
CONFIG -= app_bundle
CONFIG += blackconfig
CONFIG += blackmisc
CONFIG += testcase
CONFIG += no_testcase_installs
TEMPLATE = app
DEPENDPATH += \
. \
$$SourceRoot/src \
$$SourceRoot/tests \
INCLUDEPATH += \
$$SourceRoot/src \
$$SourceRoot/tests \
SOURCES += testworker.cpp
DESTDIR = $$DestRoot/bin
load(common_post)