Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qcamera_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 QCAMERA_P_H
5#define QCAMERA_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/qobject_p.h"
19#include "qcamera.h"
20#include "qcameradevice.h"
21
23
24class QPlatformCamera;
26
28{
29 Q_DECLARE_PUBLIC(QCamera)
30public:
34 {
35 }
36
37 void init(const QCameraDevice &device);
38
41
44
47
48 void _q_error(int error, const QString &errorString);
50};
51
53
54#endif // QCAMERA_P_H
IOBluetoothDevice * device
The QCameraDevice class provides general information about camera devices.
The QCameraFormat class describes a video format supported by a camera device. \inmodule QtMultimedia...
QString errorString
Definition qcamera_p.h:43
QCameraDevice cameraDevice
Definition qcamera_p.h:45
QMediaCaptureSession * captureSession
Definition qcamera_p.h:39
QPlatformCamera * control
Definition qcamera_p.h:40
void unsetError()
Definition qcamera_p.h:49
QCamera::Error error
Definition qcamera_p.h:42
QCameraFormat cameraFormat
Definition qcamera_p.h:46
void init(const QCameraDevice &device)
Definition qcamera.cpp:167
void _q_error(int error, const QString &errorString)
\qmltype Camera \instantiates QCamera \inqmlmodule QtMultimedia
Definition qcamera.cpp:156
The QCamera class provides interface for system camera devices.
Definition qcamera.h:28
Error
This enum holds the last error code.
Definition qcamera.h:61
@ NoError
Definition qcamera.h:62
The QMediaCaptureSession class allows capturing of audio and video content.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
void clear()
Clears the contents of the string and makes it null.
Definition qstring.h:1107
Combined button and popup list for selecting options.
@ NoError
Definition main.cpp:34