4#ifndef QCAPTURABLEWINDOW_P_H
5#define QCAPTURABLEWINDOW_P_H
7#include <QtGui/qwindowdefs.h>
8#include <QtCore/QSharedData>
9#include <QtMultimedia/qcapturablewindow.h>
26class QCapturableWindowPrivate :
public QSharedData {
33 QCapturableWindowPrivate(Id id, QString &&description)
35 , description{ std::move(description) }
39 static const QCapturableWindowPrivate *handle(
const QCapturableWindow &window)
41 return window.d.get();
44 [[nodiscard]]
static QCapturableWindow create(Id id, QString &&description)
46 return {
new QCapturableWindowPrivate(id, std::move(description)) };
Q_MULTIMEDIA_EXPORT ~QCapturableWindow()
Destroys the window information.
QCapturableWindow(QCapturableWindow &&other) noexcept=default
\qmlvaluetype CapturableWindow \nativetype QCapturableWindow
void swap(QCapturableWindow &other) noexcept
Swaps the current window information with other.
friend bool operator!=(const QCapturableWindow &lhs, const QCapturableWindow &rhs) noexcept
Returns true if window information lhs and rhs refer to different windows, otherwise returns false.
Q_MULTIMEDIA_EXPORT bool isValid() const
QDebug operator<<(QDebug dbg, const QCapturableWindow &window)
bool operator==(const QCapturableWindow &lhs, const QCapturableWindow &rhs) noexcept