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
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
22QT_BEGIN_NAMESPACE
23
24class QCapturableWindowPrivate : public QSharedData {
25public:
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
39QT_END_NAMESPACE
40
41#endif // QCAPTURABLEWINDOW_P_H
\inmodule QtMultimedia
Q_MULTIMEDIA_EXPORT ~QCapturableWindow()
Destroys the window information.
Q_MULTIMEDIA_EXPORT bool isValid() const
\qmlproperty string QtMultimedia::CapturableWindow::isValid
Combined button and popup list for selecting options.
QDebug operator<<(QDebug dbg, const QCapturableWindow &window)
bool operator==(const QCapturableWindow &lhs, const QCapturableWindow &rhs) noexcept