diff options
Diffstat (limited to 'src/corelib/thread/qfuture.h')
-rw-r--r-- | src/corelib/thread/qfuture.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/corelib/thread/qfuture.h b/src/corelib/thread/qfuture.h index 1f0c747f40..af599c26db 100644 --- a/src/corelib/thread/qfuture.h +++ b/src/corelib/thread/qfuture.h @@ -42,11 +42,11 @@ #include <QtCore/qglobal.h> -#ifndef QT_NO_QFUTURE - #include <QtCore/qfutureinterface.h> #include <QtCore/qstring.h> +QT_REQUIRE_CONFIG(future); + QT_BEGIN_NAMESPACE @@ -65,6 +65,11 @@ public: explicit QFuture(QFutureInterface<T> *p) // internal : d(*p) { } +#if defined(Q_CLANG_QDOC) + ~QFuture() { } + QFuture(const QFuture<T> &) { } + QFuture<T> & operator=(const QFuture<T> &) { } +#endif bool operator==(const QFuture &other) const { return (d == other.d); } bool operator!=(const QFuture &other) const { return (d != other.d); } @@ -242,6 +247,4 @@ QFuture<void> qToVoidFuture(const QFuture<T> &future) QT_END_NAMESPACE -#endif // QT_NO_QFUTURE - #endif // QFUTURE_H |