Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickimageprovider_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
4
#ifndef QQUICKQQUICKIMAGEPROVIDER_P_H
5
#define QQUICKQQUICKIMAGEPROVIDER_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <private/qtquickglobal_p.h>
19
#include <private/qobject_p.h>
20
#include <
qquickimageprovider.h
>
21
22
QT_BEGIN_NAMESPACE
23
24
class
QQuickImageResponsePrivate
:
public
QObjectPrivate
25
{
26
Q_DECLARE_PUBLIC(
QQuickImageResponse
)
27
public
:
28
QAtomicInteger<bool>
finished
=
false
;
29
30
void
_q_finished
()
31
{
32
// synchronizes-with the loadAcquire in QQuickPixmapReader::processJob:
33
finished
.
storeRelease
(
true
);
34
}
35
};
36
37
38
QT_END_NAMESPACE
39
40
#endif
// QQUICKQQUICKIMAGEPROVIDER_P_H
QAtomicInteger
\inmodule QtCore
Definition
qatomic.h:18
QBasicAtomicInteger::storeRelease
void storeRelease(T newValue) noexcept
Definition
qbasicatomic.h:40
QObjectPrivate
Definition
qobject_p.h:74
QQuickImageResponsePrivate
Definition
qquickimageprovider_p.h:25
QQuickImageResponsePrivate::finished
QAtomicInteger< bool > finished
Definition
qquickimageprovider_p.h:28
QQuickImageResponsePrivate::_q_finished
void _q_finished()
Definition
qquickimageprovider_p.h:30
QQuickImageResponse
The QQuickImageResponse class provides an interface for asynchronous image loading in QQuickAsyncImag...
Definition
qquickimageprovider.h:39
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
qquickimageprovider.h
qtdeclarative
src
quick
util
qquickimageprovider_p.h
Generated by
1.9.7