Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qfuturewatcher_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QFUTUREWATCHER_P_H
6
#
define
QFUTUREWATCHER_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtCore
/
qfuturewatcher
.
h
>
20
21
#
include
"qfutureinterface_p.h"
22
#
include
<
qlist
.
h
>
23
24
#
include
<
private
/
qobject_p
.
h
>
25
26
QT_REQUIRE_CONFIG
(
future
);
27
28
QT_BEGIN_NAMESPACE
29
30
class
QFutureWatcherBasePrivate :
public
QObjectPrivate,
31
public
QFutureCallOutInterface
32
{
33
Q_DECLARE_PUBLIC(QFutureWatcherBase)
34
35
public
:
36
QFutureWatcherBasePrivate();
37
38
void
postCallOutEvent(
const
QFutureCallOutEvent &callOutEvent) override;
39
void
callOutInterfaceDisconnected() override;
40
41
void
sendCallOutEvent(QFutureCallOutEvent *event);
42
43
QAtomicInt pendingResultsReady;
44
int
maximumPendingResultsReady;
45
46
QAtomicInt resultAtConnected;
47
};
48
49
QT_END_NAMESPACE
50
51
#
endif
QFutureWatcherBase
Definition
qfuturewatcher.h:20
QFutureWatcher::setFuture
void setFuture(const QFuture< T > &future)
Starts watching the given future.
Definition
qfuturewatcher.h:176
QFutureWatcher::futureInterface
const QFutureInterfaceBase & futureInterface() const override
Definition
qfuturewatcher.h:171
QFutureWatcher::futureInterface
QFutureInterfaceBase & futureInterface() override
Definition
qfuturewatcher.h:172
QFutureWatcher::resultAt
T resultAt(int index) const
Definition
qfuturewatcher.h:117
QFutureWatcher::future
QFuture< T > future() const
Returns the watched future.
Definition
qfuturewatcher.h:110
QFutureWatcher::QFutureWatcher
QFutureWatcher(QObject *_parent=nullptr)
Constructs a new QFutureWatcher with the given parent.
Definition
qfuturewatcher.h:103
QFutureWatcher::result
T result() const
Definition
qfuturewatcher.h:114
QFutureWatcher::~QFutureWatcher
~QFutureWatcher()
Destroys the QFutureWatcher.
Definition
qfuturewatcher.h:106
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(animation)
future
QFuture< void > future
[5]
Definition
src_concurrent_qtconcurrentfilter.cpp:22
qtbase
src
corelib
thread
qfuturewatcher_p.h
Generated on
for Qt by
1.18.0