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
qv4l2cameradevices_p.h
Go to the documentation of this file.
1
// Copyright (C) 2023 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 QV4L2CAMERADEVICES_P_H
5
#define QV4L2CAMERADEVICES_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/qplatformvideodevices_p.h>
19
#include <private/qplatformmediaintegration_p.h>
20
21
#include <
qfilesystemwatcher.h
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QV4L2CameraDevices
:
public
QPlatformVideoDevices
26
{
27
Q_OBJECT
28
public
:
29
QV4L2CameraDevices
(
QPlatformMediaIntegration
*integration);
30
31
QList<QCameraDevice>
videoDevices
()
const override
;
32
33
public
Q_SLOTS
:
34
void
checkCameras
();
35
36
private
:
37
bool
doCheckCameras();
38
39
private
:
40
QList<QCameraDevice> m_cameras;
41
QFileSystemWatcher
m_deviceWatcher;
42
};
43
44
QT_END_NAMESPACE
45
46
#endif
// QV4L2CAMERADEVICES_P_H
QFileSystemWatcher
\inmodule QtCore
Definition
qfilesystemwatcher.h:17
QPlatformMediaIntegration
Definition
qplatformmediaintegration_p.h:65
QPlatformVideoDevices
Definition
qplatformvideodevices_p.h:26
QV4L2CameraDevices
Definition
qv4l2cameradevices_p.h:26
QV4L2CameraDevices::checkCameras
void checkCameras()
Definition
qv4l2cameradevices.cpp:47
QV4L2CameraDevices::videoDevices
QList< QCameraDevice > videoDevices() const override
Definition
qv4l2cameradevices.cpp:42
QV4L2CameraDevices::QV4L2CameraDevices
QV4L2CameraDevices(QPlatformMediaIntegration *integration)
Definition
qv4l2cameradevices.cpp:33
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qfilesystemwatcher.h
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
Q_SLOTS
#define Q_SLOTS
Definition
qtmetamacros.h:44
qtmultimedia
src
plugins
multimedia
ffmpeg
qv4l2cameradevices_p.h
Generated by
1.10.0