4#ifndef QPLAYBACKOPTIONS_H
5#define QPLAYBACKOPTIONS_H
7#include <QtMultimedia/qtmultimediaexports.h>
8#include <QtMultimedia/qtmultimediaglobal.h>
9#include <QtCore/qcompare.h>
10#include <QtCore/qobject.h>
11#include <QtCore/qshareddata.h>
17class QPlaybackOptionsPrivate;
18QT_DECLARE_QESDP_SPECIALIZATION_DTOR(QPlaybackOptionsPrivate)
22 Q_GADGET_EXPORT(Q_MULTIMEDIA_EXPORT)
34 Q_ENUM(PlaybackIntent)
45 Q_MULTIMEDIA_EXPORT std::chrono::milliseconds
networkTimeout()
const;
46 Q_MULTIMEDIA_EXPORT
void setNetworkTimeout(
std::chrono::milliseconds timeout);
47 Q_MULTIMEDIA_EXPORT
void resetNetworkTimeout();
50 Q_MULTIMEDIA_EXPORT
void setPlaybackIntent(PlaybackIntent intent);
51 Q_MULTIMEDIA_EXPORT
void resetPlaybackIntent();
53 Q_MULTIMEDIA_EXPORT qsizetype
probeSize()
const;
54 Q_MULTIMEDIA_EXPORT
void setProbeSize(qsizetype probeSizeBytes);
55 Q_MULTIMEDIA_EXPORT
void resetProbeSize();
65 QExplicitlySharedDataPointer<QPlaybackOptionsPrivate> d;
68Q_DECLARE_SHARED(QPlaybackOptions)
The QPlaybackOptions class enables low-level control of media playback options.
Combined button and popup list for selecting options.
bool comparesEqual(const QPlaybackOptions &lhs, const QPlaybackOptions &rhs) noexcept