4#ifndef QSAMPLECACHE_P_H
5#define QSAMPLECACHE_P_H
18#include <QtCore/qobject.h>
19#include <QtCore/qthread.h>
20#include <QtCore/qurl.h>
21#include <QtCore/qmutex.h>
22#include <QtCore/qmap.h>
23#include <QtCore/qset.h>
26#include <private/qglobal_p.h>
74 void loadIfNecessary();
102 bool isLoading()
const;
103 bool isCached(
const QUrl&
url)
const;
106 QMap<QUrl, QSample*> m_samples;
107 QSet<QSample*> m_staleSamples;
115 void refresh(
qint64 usageChange);
116 bool notifyUnreferencedSample(
QSample* sample);
117 void removeUnreferencedSample(
QSample* sample);
118 void unloadSample(
QSample* sample);
120 void loadingRelease();
121 int m_loadingRefCount;
\inmodule QtCore \reentrant
The QNetworkAccessManager class allows the application to send network requests and receive replies.
NetworkError
Indicates all possible error conditions found during the processing of the request.
QSampleCache(QObject *parent=nullptr)
const QByteArray & data() const
const QAudioFormat & format() const
Combined button and popup list for selecting options.
QUrl url("example.com")
[constructor-url-reference]