Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QWaylandWlShellSurfacePrivate Class Reference

#include <qwaylandwlshell_p.h>

+ Inheritance diagram for QWaylandWlShellSurfacePrivate:
+ Collaboration diagram for QWaylandWlShellSurfacePrivate:

Public Member Functions

 QWaylandWlShellSurfacePrivate ()
 
 ~QWaylandWlShellSurfacePrivate () override
 
void ping (uint32_t serial)
 
void setWindowType (Qt::WindowType windowType)
 
- Public Member Functions inherited from QWaylandCompositorExtensionPrivate
 QWaylandCompositorExtensionPrivate ()
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
void _q_reregisterTimers (void *pointer)
 
bool isSender (const QObject *receiver, const char *signal) const
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Static Public Member Functions

static QWaylandWlShellSurfacePrivateget (QWaylandWlShellSurface *surface)
 
- Static Public Member Functions inherited from QWaylandCompositorExtensionPrivate
static QWaylandCompositorExtensionPrivateget (QWaylandCompositorExtension *extension)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (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)
 

Private Member Functions

void shell_surface_destroy_resource (Resource *resource) override
 
void shell_surface_move (Resource *resource, struct wl_resource *input_device_super, uint32_t time) override
 
void shell_surface_resize (Resource *resource, struct wl_resource *input_device, uint32_t time, uint32_t edges) override
 
void shell_surface_set_toplevel (Resource *resource) override
 
void shell_surface_set_transient (Resource *resource, struct wl_resource *parent_surface_resource, int x, int y, uint32_t flags) override
 
void shell_surface_set_fullscreen (Resource *resource, uint32_t method, uint32_t framerate, struct wl_resource *output_resource) override
 
void shell_surface_set_popup (Resource *resource, struct wl_resource *input_device, uint32_t time, struct wl_resource *parent, int32_t x, int32_t y, uint32_t flags) override
 
void shell_surface_set_maximized (Resource *resource, struct wl_resource *output_resource) override
 
void shell_surface_pong (Resource *resource, uint32_t serial) override
 
void shell_surface_set_title (Resource *resource, const QString &title) override
 
void shell_surface_set_class (Resource *resource, const QString &class_) override
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData >
 
- Public Attributes inherited from QWaylandCompositorExtensionPrivate
QWaylandObjectextension_container = nullptr
 
bool initialized = false
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
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
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Detailed Description

Definition at line 52 of file qwaylandwlshell_p.h.

Constructor & Destructor Documentation

◆ QWaylandWlShellSurfacePrivate()

QWaylandWlShellSurfacePrivate::QWaylandWlShellSurfacePrivate ( )

Definition at line 67 of file qwaylandwlshell.cpp.

◆ ~QWaylandWlShellSurfacePrivate()

QWaylandWlShellSurfacePrivate::~QWaylandWlShellSurfacePrivate ( )
override

Definition at line 71 of file qwaylandwlshell.cpp.

Member Function Documentation

◆ get()

static QWaylandWlShellSurfacePrivate * QWaylandWlShellSurfacePrivate::get ( QWaylandWlShellSurface surface)
inlinestatic

Definition at line 61 of file qwaylandwlshell_p.h.

◆ ping()

void QWaylandWlShellSurfacePrivate::ping ( uint32_t  serial)

Definition at line 75 of file qwaylandwlshell.cpp.

References QSet< T >::insert().

+ Here is the call graph for this function:

◆ setWindowType()

void QWaylandWlShellSurfacePrivate::setWindowType ( Qt::WindowType  windowType)

Definition at line 81 of file qwaylandwlshell.cpp.

References emit.

Referenced by shell_surface_set_fullscreen(), shell_surface_set_maximized(), shell_surface_set_popup(), shell_surface_set_toplevel(), and shell_surface_set_transient().

+ Here is the caller graph for this function:

◆ shell_surface_destroy_resource()

void QWaylandWlShellSurfacePrivate::shell_surface_destroy_resource ( Resource *  resource)
overrideprivate

Definition at line 91 of file qwaylandwlshell.cpp.

◆ shell_surface_move()

void QWaylandWlShellSurfacePrivate::shell_surface_move ( Resource *  resource,
struct wl_resource *  input_device_super,
uint32_t  time 
)
overrideprivate

Definition at line 98 of file qwaylandwlshell.cpp.

References emit, QWaylandSeat::fromSeatResource(), and Q_UNUSED.

+ Here is the call graph for this function:

◆ shell_surface_pong()

void QWaylandWlShellSurfacePrivate::shell_surface_pong ( Resource *  resource,
uint32_t  serial 
)
overrideprivate

Definition at line 186 of file qwaylandwlshell.cpp.

References emit, Q_UNUSED, qWarning, and QSet< T >::remove().

+ Here is the call graph for this function:

◆ shell_surface_resize()

void QWaylandWlShellSurfacePrivate::shell_surface_resize ( Resource *  resource,
struct wl_resource *  input_device,
uint32_t  time,
uint32_t  edges 
)
overrideprivate

Definition at line 110 of file qwaylandwlshell.cpp.

References emit, QWaylandSeat::fromSeatResource(), and Q_UNUSED.

+ Here is the call graph for this function:

◆ shell_surface_set_class()

void QWaylandWlShellSurfacePrivate::shell_surface_set_class ( Resource *  resource,
const QString class_ 
)
overrideprivate

Definition at line 208 of file qwaylandwlshell.cpp.

References className, emit, and Q_UNUSED.

◆ shell_surface_set_fullscreen()

void QWaylandWlShellSurfacePrivate::shell_surface_set_fullscreen ( Resource *  resource,
uint32_t  method,
uint32_t  framerate,
struct wl_resource *  output_resource 
)
overrideprivate

Definition at line 145 of file qwaylandwlshell.cpp.

References emit, QWaylandOutput::fromResource(), method, output, Q_UNUSED, setWindowType(), and Qt::Window.

+ Here is the call graph for this function:

◆ shell_surface_set_maximized()

void QWaylandWlShellSurfacePrivate::shell_surface_set_maximized ( Resource *  resource,
struct wl_resource *  output_resource 
)
overrideprivate

Definition at line 174 of file qwaylandwlshell.cpp.

References emit, QWaylandOutput::fromResource(), output, Q_UNUSED, setWindowType(), and Qt::Window.

+ Here is the call graph for this function:

◆ shell_surface_set_popup()

void QWaylandWlShellSurfacePrivate::shell_surface_set_popup ( Resource *  resource,
struct wl_resource *  input_device,
uint32_t  time,
struct wl_resource *  parent,
int32_t  x,
int32_t  y,
uint32_t  flags 
)
overrideprivate

Definition at line 161 of file qwaylandwlshell.cpp.

References emit, QWaylandSurface::fromResource(), QWaylandSeat::fromSeatResource(), QObjectData::parent, Qt::Popup, Q_UNUSED, and setWindowType().

+ Here is the call graph for this function:

◆ shell_surface_set_title()

void QWaylandWlShellSurfacePrivate::shell_surface_set_title ( Resource *  resource,
const QString title 
)
overrideprivate

Definition at line 197 of file qwaylandwlshell.cpp.

References emit, Q_UNUSED, and title.

◆ shell_surface_set_toplevel()

void QWaylandWlShellSurfacePrivate::shell_surface_set_toplevel ( Resource *  resource)
overrideprivate

Definition at line 123 of file qwaylandwlshell.cpp.

References emit, Q_UNUSED, setWindowType(), and Qt::Window.

+ Here is the call graph for this function:

◆ shell_surface_set_transient()

void QWaylandWlShellSurfacePrivate::shell_surface_set_transient ( Resource *  resource,
struct wl_resource *  parent_surface_resource,
int  x,
int  y,
uint32_t  flags 
)
overrideprivate

Definition at line 131 of file qwaylandwlshell.cpp.

References emit, QWaylandSurface::fromResource(), Q_UNUSED, setWindowType(), and Qt::SubWindow.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: