4#ifndef QCAPTURABLEWINDOW_H
5#define QCAPTURABLEWINDOW_H
7#include <QtMultimedia/qtmultimediaglobal.h>
8#include <QtCore/qmetatype.h>
9#include <QtCore/qshareddata.h>
13class QCapturableWindowPrivate;
14QT_DECLARE_QESDP_SPECIALIZATION_DTOR_WITH_EXPORT(QCapturableWindowPrivate, Q_MULTIMEDIA_EXPORT)
16class QMediaCaptureSession;
22 Q_GADGET_EXPORT(Q_MULTIMEDIA_EXPORT)
45 {
return !(lhs == rhs); }
51#ifndef QT_NO_DEBUG_STREAM
57 friend class QCapturableWindowPrivate;
59 QExplicitlySharedDataPointer<QCapturableWindowPrivate> d;
62Q_DECLARE_SHARED(QCapturableWindow)
66Q_DECLARE_METATYPE(QCapturableWindow)
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