|  | Qt 6.x
    The Qt SDK | 
\inmodule QtMultimedia More...
#include <qcapturablewindow.h>
 Collaboration diagram for QCapturableWindow:
 Collaboration diagram for QCapturableWindow:| Public Member Functions | |
| Q_MULTIMEDIA_EXPORT | QCapturableWindow () | 
| Constructs a null capturable window information that doesn't refer to any window. | |
| Q_MULTIMEDIA_EXPORT | ~QCapturableWindow () | 
| Destroys the window information. | |
| Q_MULTIMEDIA_EXPORT | QCapturableWindow (const QCapturableWindow &other) | 
| Construct a new window information using other QCapturableWindow. | |
| QCapturableWindow (QCapturableWindow &&other) noexcept=default | |
| \qmlvaluetype CapturableWindow \instantiates QCapturableWindow | |
| Q_MULTIMEDIA_EXPORT QCapturableWindow & | operator= (const QCapturableWindow &other) | 
| Moves other into this QCapturableWindow. | |
| QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP (QCapturableWindow) | |
| void | swap (QCapturableWindow &other) noexcept | 
| Swaps the current window information with other. | |
| Q_MULTIMEDIA_EXPORT bool | isValid () const | 
| \qmlproperty string QtMultimedia::CapturableWindow::isValid | |
| Q_MULTIMEDIA_EXPORT QString | description () const | 
| \qmlproperty string QtMultimedia::CapturableWindow::description | |
| Properties | |
| QString | description | 
| bool | isValid | 
| Friends | |
| class | QCapturableWindowPrivate | 
| Q_MULTIMEDIA_EXPORT friend bool | operator== (const QCapturableWindow &lhs, const QCapturableWindow &rhs) noexcept | 
| Returns trueif window information lhs and rhs refer to the same window, otherwise returnsfalse. | |
| bool | operator!= (const QCapturableWindow &lhs, const QCapturableWindow &rhs) noexcept | 
| Returns trueif window information lhs and rhs refer to different windows, otherwise returnsfalse. | |
| Q_MULTIMEDIA_EXPORT friend QDebug | operator<< (QDebug, const QCapturableWindow &) | 
\inmodule QtMultimedia
Used for getting the basic information of a capturable window.
The class contains a set of window information, except the method QCapturableWindow::isValid which pulls the current state whenever it's called.
Definition at line 19 of file qcapturablewindow.h.
| 
 | default | 
Constructs a null capturable window information that doesn't refer to any window.
| 
 | default | 
Destroys the window information.
| 
 | default | 
Construct a new window information using other QCapturableWindow.
| 
 | defaultnoexcept | 
\qmlvaluetype CapturableWindow \instantiates QCapturableWindow
The CapturableWindow type is used getting basic of a window that is available for capturing via WindowCapture.
\inqmlmodule QtMultimedia
The class contains a dump of window information, except the property 'isValid' which pulls the actual window state every time.
Constructs a QCapturableWindow by moving from other.
| QString QCapturableWindow::description | ( | ) | const | 
\qmlproperty string QtMultimedia::CapturableWindow::description
This property holds the description of the reffered window.
Returns a description of the window. In most cases it represents the window title.
Definition at line 129 of file qcapturablewindow.cpp.
References QCapturableWindowPrivate::description, QCapturableWindowPrivate::id, QString::isEmpty(), and QString::number().
 Here is the call graph for this function:
 Here is the call graph for this function:| bool QCapturableWindow::isValid | ( | ) | const | 
\qmlproperty string QtMultimedia::CapturableWindow::isValid
This property identifies whether a window information is valid.
An invalid window information refers to non-existing window or doesn't refer to any one.
Identifies whether a window information is valid.
An invalid window information refers to non-existing window or doesn't refer to any one.
Returns true if the window is valid, and false if it is not.
Definition at line 115 of file qcapturablewindow.cpp.
References QPlatformMediaIntegration::instance(), and QPlatformMediaIntegration::isCapturableWindowValid().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | default | 
Moves other into this QCapturableWindow.
Assigns the other window information to this QCapturableWindow.
| QCapturableWindow::QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP | ( | QCapturableWindow | ) | 
| 
 | inlinenoexcept | 
Swaps the current window information with other.
Definition at line 37 of file qcapturablewindow.h.
References other(), and QExplicitlySharedDataPointer< T >::swap().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | friend | 
Returns true if window information lhs and rhs refer to different windows, otherwise returns false. 
Definition at line 42 of file qcapturablewindow.h.
| 
 | friend | 
Definition at line 146 of file qcapturablewindow.cpp.
| 
 | friend | 
Returns true if window information lhs and rhs refer to the same window, otherwise returns false. 
Definition at line 95 of file qcapturablewindow.cpp.
| 
 | friend | 
Definition at line 55 of file qcapturablewindow.h.
| 
 | read | 
Definition at line 62 of file qcapturablewindow.h.
| 
 | read | 
Definition at line 62 of file qcapturablewindow.h.