From d41db62154dfbf6cb78f6a64e962939a79eec03c Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 12 Jul 2023 17:57:58 +0200 Subject: Move QBasicFutureWatcher behind the ABI boundary ... and out of QtPrivate. No inline API requires it anymore, so move it into the only TU using it. Can't move it into the unnamed namespace because of the friend declaration in QFutureInterfaceBase. Pick-to: 6.6 Change-Id: I27452960492bc1193a4d0eaeb2acd913d4dd02a5 Reviewed-by: Ivan Solovev --- src/corelib/thread/qbasicfuturewatcher.h | 39 -------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 src/corelib/thread/qbasicfuturewatcher.h (limited to 'src/corelib/thread/qbasicfuturewatcher.h') diff --git a/src/corelib/thread/qbasicfuturewatcher.h b/src/corelib/thread/qbasicfuturewatcher.h deleted file mode 100644 index 49db7284e70..00000000000 --- a/src/corelib/thread/qbasicfuturewatcher.h +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (C) 2023 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only - -#ifndef QBASICFUTUREWATCHER_H -#define QBASICFUTUREWATCHER_H - -#include - -QT_REQUIRE_CONFIG(future); - -QT_BEGIN_NAMESPACE - -class QFutureInterfaceBase; - -namespace QtPrivate { - -class QBasicFutureWatcherPrivate; - -class Q_CORE_EXPORT QBasicFutureWatcher : public QObject -{ - Q_OBJECT - Q_DECLARE_PRIVATE(QBasicFutureWatcher) -public: - explicit QBasicFutureWatcher(QObject *parent = nullptr); - ~QBasicFutureWatcher() override; - - void setFuture(QFutureInterfaceBase &fi); - - bool event(QEvent *event) override; - -Q_SIGNALS: - void finished(); -}; - -} - -QT_END_NAMESPACE - -#endif // QBASICFUTUREWATCHER_H -- cgit v1.2.3