![]() |
Qt 6.x
The Qt SDK
|
#include <qwaylandoutput_p.h>
Static Public Member Functions | |
static QWaylandOutputPrivate * | get (QWaylandOutput *output) |
![]() | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Public Attributes | ||
QPointer< QWaylandXdgOutputV1 > | xdgOutput | |
![]() | ||
ExtraData * | extraData | |
QAtomicPointer< QThreadData > | threadData | |
QAtomicPointer< ConnectionData > | connections | |
union { | ||
QObject * currentChildBeingDeleted | ||
QAbstractDeclarativeData * declarativeData | ||
}; | ||
QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount | |
![]() | ||
QObject * | q_ptr | |
QObject * | parent | |
QObjectList | children | |
uint | isWidget: 1 | |
uint | blockSig: 1 | |
uint | wasDeleted: 1 | |
uint | isDeletingChildren: 1 | |
uint | sendChildEvents: 1 | |
uint | receiveChildEvents: 1 | |
uint | isWindow: 1 | |
uint | deleteLaterCalled: 1 | |
uint | isQuickItem: 1 | |
uint | willBeWidget: 1 | |
uint | wasWidget: 1 | |
uint | unused: 21 | |
QAtomicInt | postedEvents | |
QDynamicMetaObjectData * | metaObject | |
QBindingStorage | bindingStorage | |
Protected Member Functions | |
void | output_bind_resource (Resource *resource) override |
Friends | |
class | QWaylandXdgOutputManagerV1Private |
Additional Inherited Members | |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 59 of file qwaylandoutput_p.h.
QWaylandOutputPrivate::QWaylandOutputPrivate | ( | ) |
Definition at line 72 of file qwaylandoutput.cpp.
|
override |
Definition at line 76 of file qwaylandoutput.cpp.
void QWaylandOutputPrivate::addView | ( | QWaylandView * | view, |
QWaylandSurface * | surface | ||
) |
Definition at line 188 of file qwaylandoutput.cpp.
References QList< T >::append(), QList< T >::at(), QListSpecialMethodsBase< T >::contains(), i, QList< T >::size(), QWaylandSurfaceViewMapper::surface, view, and QWaylandSurfaceViewMapper::views.
Referenced by QWaylandView::setOutput(), and QWaylandViewPrivate::setSurface().
|
inlinestatic |
Definition at line 67 of file qwaylandoutput_p.h.
References output.
Referenced by QWaylandView::~QWaylandView(), QWaylandXdgOutputManagerV1Private::registerXdgOutput(), QWaylandView::setOutput(), and QWaylandViewPrivate::setSurface().
void QWaylandOutputPrivate::handleWindowPixelSizeChanged | ( | ) |
Definition at line 161 of file qwaylandoutput.cpp.
References QList< T >::at(), QList< T >::clear(), emit, QRect::isValid(), Q_ASSERT, qFloor(), QScreen::refreshRate, QList< T >::replace(), sendModesInfo(), and QList< T >::size().
|
overrideprotected |
Definition at line 80 of file qwaylandoutput.cpp.
References sendGeometry(), and sendMode().
void QWaylandOutputPrivate::removeView | ( | QWaylandView * | view, |
QWaylandSurface * | surface | ||
) |
Definition at line 202 of file qwaylandoutput.cpp.
References QList< T >::at(), QWaylandSurfaceViewMapper::has_entered, i, QList< T >::isEmpty(), Q_FUNC_INFO, qWarning, QList< T >::remove(), QList< T >::removeOne(), QList< T >::size(), QWaylandSurfaceViewMapper::surface, view, and QWaylandSurfaceViewMapper::views.
Referenced by QWaylandView::~QWaylandView(), QWaylandView::setOutput(), and QWaylandViewPrivate::setSurface().
void QWaylandOutputPrivate::sendGeometry | ( | const Resource * | resource | ) |
Definition at line 114 of file qwaylandoutput.cpp.
References QSize::height(), toWlSubpixel(), toWlTransform(), QSize::width(), QPoint::x(), and QPoint::y().
Referenced by output_bind_resource(), and sendGeometryInfo().
void QWaylandOutputPrivate::sendGeometryInfo | ( | ) |
Definition at line 123 of file qwaylandoutput.cpp.
References QWaylandXdgOutputV1Private::get(), QWaylandXdgOutputV1Private::sendDone(), sendGeometry(), and xdgOutput.
void QWaylandOutputPrivate::sendMode | ( | const Resource * | resource, |
const QWaylandOutputMode & | mode | ||
) |
Definition at line 135 of file qwaylandoutput.cpp.
References QListSpecialMethodsBase< T >::indexOf().
Referenced by output_bind_resource(), and sendModesInfo().
void QWaylandOutputPrivate::sendModesInfo | ( | ) |
Definition at line 148 of file qwaylandoutput.cpp.
References QWaylandXdgOutputV1Private::get(), QWaylandXdgOutputV1Private::sendDone(), sendMode(), and xdgOutput.
Referenced by handleWindowPixelSizeChanged().
|
friend |
Definition at line 109 of file qwaylandoutput_p.h.
QPointer<QWaylandXdgOutputV1> QWaylandOutputPrivate::xdgOutput |
Definition at line 80 of file qwaylandoutput_p.h.
Referenced by QWaylandXdgOutputManagerV1Private::registerXdgOutput(), sendGeometryInfo(), and sendModesInfo().