Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtmultimediaquicktypes_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company
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 QTMULTIMEDIAQUICKTYPES_H
5#define QTMULTIMEDIAQUICKTYPES_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 <QtMultimediaQuick/private/qtmultimediaquickglobal_p.h>
19
20#include <QtMultimedia/qaudiodevice.h>
21#include <QtMultimedia/qaudioinput.h>
22#include <QtMultimedia/qaudiooutput.h>
23#include <QtMultimedia/qcamera.h>
24#include <QtMultimedia/qcameradevice.h>
25#include <QtMultimedia/qcapturablewindow.h>
26#include <QtMultimedia/qimagecapture.h>
27#include <QtMultimedia/qmediacapturesession.h>
28#include <QtMultimedia/qmediadevices.h>
29#include <QtMultimedia/qmediaformat.h>
30#include <QtMultimedia/qmediametadata.h>
31#include <QtMultimedia/qmediarecorder.h>
32#include <QtMultimedia/qplaybackoptions.h>
33#include <QtMultimedia/qscreencapture.h>
34#include <QtMultimedia/qwindowcapture.h>
35
36#include <QtQml/qqmlregistration.h>
37
38QT_BEGIN_NAMESPACE
39
40namespace QtMultimediaPrivate {
41
43{
44 Q_GADGET
45 QML_FOREIGN(QMediaCaptureSession)
46 QML_NAMED_ELEMENT(CaptureSession) // ### MediaCaptureSession?
47};
48
50{
51 Q_GADGET
52 QML_FOREIGN(QCamera)
54};
55
57{
58 Q_GADGET
59 QML_ANONYMOUS
61};
62
64{
65 Q_GADGET
66 QML_ANONYMOUS
68};
69
71{
72 Q_GADGET
73 QML_FOREIGN(QMediaRecorder)
75};
76
78{
79 Q_GADGET
80 QML_FOREIGN(QMediaMetaData)
82};
83
84// To prevent the same type from being exported twice into qmltypes
85// (for value type and for the enums)
87{
89};
90
92{
96} // namespace QMediaMetaDataNamespaceForeign
97
99{
100 Q_GADGET
101 QML_FOREIGN(QMediaDevices)
103};
104
106{
107 Q_GADGET
108 QML_FOREIGN(QAudioInput)
110};
111
113{
114 Q_GADGET
115 QML_FOREIGN(QAudioOutput)
117};
118
120{
121 Q_GADGET
122 QML_FOREIGN(QAudioDevice)
124};
125
126// To prevent the same type from being exported twice into qmltypes
127// (for value type and for the enums)
129{
131};
132
134{
138} // namespace QAudioDeviceNamespaceForeign
139
141{
142 Q_GADGET
143 QML_FOREIGN(QCameraDevice)
145};
146
147// To prevent the same type from being exported twice into qmltypes
148// (for value type and for the enums)
150{
152};
153
155{
159} // namespace QCameraDeviceNamespaceForeign
160
162{
163 Q_GADGET
164 QML_FOREIGN(QMediaFormat)
166};
167
168// To prevent the same type from being exported twice into qmltypes
169// (for value type and for the enums)
171{
173};
174
176{
180} // namespace QMediaFormatNamespaceForeign
181
183{
184 Q_GADGET
185 QML_FOREIGN(QCameraFormat)
187};
188
190{
191 Q_GADGET
192 QML_FOREIGN(QCapturableWindow)
195};
196
198{
199 Q_GADGET
200 QML_FOREIGN(QWindowCapture)
202};
203
205{
206 Q_PROPERTY(qint64 networkTimeoutMs READ networkTimeoutMs WRITE setNetworkTimeoutMs RESET resetNetworkTimeoutMs FINAL)
207
213
214public:
216
218
220};
221
227} // namespace QPlaybackOptionsNamespaceForeign
228
229
230
231} // namespace QtMultimediaPrivate
232
233QT_END_NAMESPACE
234
235#endif