summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qfutureinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qfutureinterface.h')
-rw-r--r--src/corelib/thread/qfutureinterface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/thread/qfutureinterface.h b/src/corelib/thread/qfutureinterface.h
index e813031d594..3130c914203 100644
--- a/src/corelib/thread/qfutureinterface.h
+++ b/src/corelib/thread/qfutureinterface.h
@@ -182,6 +182,8 @@ public:
template<typename T>
static QFutureInterfaceBase get(const QFuture<T> &future); // implemented in qfuture.h
+ bool isChainCanceled() const;
+
protected:
// ### Qt 7: remove const from refT/derefT
bool refT() const noexcept;
@@ -212,6 +214,8 @@ private:
protected:
void setContinuation(std::function<void(const QFutureInterfaceBase &)> func);
+ void setContinuation(std::function<void(const QFutureInterfaceBase &)> func,
+ QFutureInterfaceBasePrivate *continuationFutureData);
void runContinuation() const;
void setLaunchAsync(bool value);