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
qcapturablewindow_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 QCAPTURABLEWINDOW_P_H
5
#define QCAPTURABLEWINDOW_P_H
6
7
#include <QtGui/qwindowdefs.h>
8
#include <QtCore/QSharedData>
9
#include <QtMultimedia/qcapturablewindow.h>
10
11
//
12
// W A R N I N G
13
// -------------
14
//
15
// This file is not part of the Qt API. It exists purely as an
16
// implementation detail. This header file may change from version to
17
// version without notice, or even be removed.
18
//
19
// We mean it.
20
//
21
22
QT_BEGIN_NAMESPACE
23
24
class
QCapturableWindowPrivate
:
public
QSharedData
{
25
public
:
26
using
Id
= size_t;
27
28
QString
description
;
29
Id
id
= 0;
30
31
static
const
QCapturableWindowPrivate
*
handle
(
const
QCapturableWindow
&
window
)
32
{
33
return
window
.d.get();
34
}
35
36
QCapturableWindow
create
() {
return
QCapturableWindow
(
this
); }
37
};
38
39
QT_END_NAMESPACE
40
41
#endif
// QCAPTURABLEWINDOW_P_H
QCapturableWindowPrivate
Definition
qcapturablewindow_p.h:24
QCapturableWindowPrivate::description
QString description
Definition
qcapturablewindow_p.h:28
QCapturableWindowPrivate::handle
static const QCapturableWindowPrivate * handle(const QCapturableWindow &window)
Definition
qcapturablewindow_p.h:31
QCapturableWindowPrivate::Id
size_t Id
Definition
qcapturablewindow_p.h:26
QCapturableWindowPrivate::create
QCapturableWindow create()
Definition
qcapturablewindow_p.h:36
QCapturableWindow
\inmodule QtMultimedia
Definition
qcapturablewindow.h:20
QSharedData
\inmodule QtCore
Definition
qshareddata.h:19
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
window
aWidget window() -> setWindowTitle("New Window Title")
[2]
qtmultimedia
src
multimedia
recording
qcapturablewindow_p.h
Generated by
1.10.0