Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qmediarecorder_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 QMediaRecorder_P_H
5#define QMediaRecorder_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 "qmediarecorder.h"
19#include "qcamera.h"
20#include <QtCore/qurl.h>
21#include <QtCore/qpointer.h>
22#include "private/qplatformmediarecorder_p.h"
23
25
27class QTimer;
28
29class Q_MULTIMEDIA_EXPORT QMediaRecorderPrivate
30{
31 Q_DECLARE_PUBLIC(QMediaRecorder)
32
33public:
35
36 static QString msgFailedStartRecording();
37
38 QMediaCaptureSession *captureSession = nullptr;
39 QPlatformMediaRecorder *control = nullptr;
41
42 bool settingsChanged = false;
43
45
46 QMediaRecorder *q_ptr = nullptr;
47};
48
49#undef Q_DECLARE_NON_CONST_PUBLIC
50
52
53#endif
54
The QMediaCaptureSession class allows capturing of audio and video content.
QMediaEncoderSettings encoderSettings
\inmodule QtMultimedia
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qtimer.h:20
Combined button and popup list for selecting options.