Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QWaylandXdgToplevelPrivate Class Reference

#include <qwaylandxdgshell_p.h>

+ Inheritance diagram for QWaylandXdgToplevelPrivate:
+ Collaboration diagram for QWaylandXdgToplevelPrivate:

Classes

struct  ConfigureEvent
 

Public Member Functions

 QWaylandXdgToplevelPrivate (QWaylandXdgSurface *xdgSurface, const QWaylandResource &resource)
 
ConfigureEvent lastSentConfigure () const
 
void handleAckConfigure (uint serial)
 
void handleFocusLost ()
 
void handleFocusReceived ()
 
- 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)
 
QObjectList receiverList (const char *signal) 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
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Static Public Member Functions

static QWaylandXdgToplevelPrivateget (QWaylandXdgToplevel *toplevel)
 
static Qt::Edges convertToEdges (resize_edge edge)
 
- 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)
 

Public Attributes

QWaylandXdgSurfacem_xdgSurface = nullptr
 
QWaylandXdgToplevelm_parentToplevel = nullptr
 
QList< ConfigureEventm_pendingConfigures
 
ConfigureEvent m_lastAckedConfigure
 
QString m_title
 
QString m_appId
 
QSize m_maxSize
 
QSize m_minSize = {0, 0}
 
QWaylandXdgToplevelDecorationV1m_decoration = nullptr
 
bool m_modal = 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 receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Static Public Attributes

static QWaylandSurfaceRole s_role
 

Protected Member Functions

void xdg_toplevel_destroy_resource (Resource *resource) override
 
void xdg_toplevel_destroy (Resource *resource) override
 
void xdg_toplevel_set_parent (Resource *resource, struct ::wl_resource *parent) override
 
void xdg_toplevel_set_title (Resource *resource, const QString &title) override
 
void xdg_toplevel_set_app_id (Resource *resource, const QString &app_id) override
 
void xdg_toplevel_show_window_menu (Resource *resource, struct ::wl_resource *seat, uint32_t serial, int32_t x, int32_t y) override
 
void xdg_toplevel_move (Resource *resource, struct ::wl_resource *seatResource, uint32_t serial) override
 
void xdg_toplevel_resize (Resource *resource, struct ::wl_resource *seat, uint32_t serial, uint32_t edges) override
 
void xdg_toplevel_set_max_size (Resource *resource, int32_t width, int32_t height) override
 
void xdg_toplevel_set_min_size (Resource *resource, int32_t width, int32_t height) override
 
void xdg_toplevel_set_maximized (Resource *resource) override
 
void xdg_toplevel_unset_maximized (Resource *resource) override
 
void xdg_toplevel_set_fullscreen (Resource *resource, struct ::wl_resource *output) override
 
void xdg_toplevel_unset_fullscreen (Resource *resource) override
 
void xdg_toplevel_set_minimized (Resource *resource) override
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(*) StaticMetaCallFunction(QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 

Detailed Description

Definition at line 102 of file qwaylandxdgshell_p.h.

Constructor & Destructor Documentation

◆ QWaylandXdgToplevelPrivate()

QWaylandXdgToplevelPrivate::QWaylandXdgToplevelPrivate ( QWaylandXdgSurface * xdgSurface,
const QWaylandResource & resource )

Definition at line 1291 of file qwaylandxdgshell.cpp.

Member Function Documentation

◆ convertToEdges()

Qt::Edges QWaylandXdgToplevelPrivate::convertToEdges ( resize_edge edge)
static

Definition at line 1361 of file qwaylandxdgshell.cpp.

◆ get()

static QWaylandXdgToplevelPrivate * QWaylandXdgToplevelPrivate::get ( QWaylandXdgToplevel * toplevel)
inlinestatic

Definition at line 124 of file qwaylandxdgshell_p.h.

◆ handleAckConfigure()

void QWaylandXdgToplevelPrivate::handleAckConfigure ( uint serial)

Definition at line 1297 of file qwaylandxdgshell.cpp.

◆ handleFocusLost()

void QWaylandXdgToplevelPrivate::handleFocusLost ( )

Definition at line 1343 of file qwaylandxdgshell.cpp.

◆ handleFocusReceived()

void QWaylandXdgToplevelPrivate::handleFocusReceived ( )

Definition at line 1351 of file qwaylandxdgshell.cpp.

◆ lastSentConfigure()

ConfigureEvent QWaylandXdgToplevelPrivate::lastSentConfigure ( ) const
inline

Definition at line 119 of file qwaylandxdgshell_p.h.

◆ xdg_toplevel_destroy()

void QWaylandXdgToplevelPrivate::xdg_toplevel_destroy ( Resource * resource)
overrideprotected

Definition at line 1373 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_destroy_resource()

void QWaylandXdgToplevelPrivate::xdg_toplevel_destroy_resource ( Resource * resource)
overrideprotected

Definition at line 1366 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_move()

void QWaylandXdgToplevelPrivate::xdg_toplevel_move ( Resource * resource,
struct ::wl_resource * seatResource,
uint32_t serial )
overrideprotected

Definition at line 1433 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_resize()

void QWaylandXdgToplevelPrivate::xdg_toplevel_resize ( Resource * resource,
struct ::wl_resource * seat,
uint32_t serial,
uint32_t edges )
overrideprotected

Definition at line 1442 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_set_app_id()

void QWaylandXdgToplevelPrivate::xdg_toplevel_set_app_id ( Resource * resource,
const QString & app_id )
overrideprotected

Definition at line 1413 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_set_fullscreen()

void QWaylandXdgToplevelPrivate::xdg_toplevel_set_fullscreen ( Resource * resource,
struct ::wl_resource * output )
overrideprotected

Definition at line 1525 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_set_max_size()

void QWaylandXdgToplevelPrivate::xdg_toplevel_set_max_size ( Resource * resource,
int32_t width,
int32_t height )
overrideprotected

Definition at line 1451 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_set_maximized()

void QWaylandXdgToplevelPrivate::xdg_toplevel_set_maximized ( Resource * resource)
overrideprotected

Definition at line 1511 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_set_min_size()

void QWaylandXdgToplevelPrivate::xdg_toplevel_set_min_size ( Resource * resource,
int32_t width,
int32_t height )
overrideprotected

Definition at line 1481 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_set_minimized()

void QWaylandXdgToplevelPrivate::xdg_toplevel_set_minimized ( Resource * resource)
overrideprotected

Definition at line 1540 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_set_parent()

void QWaylandXdgToplevelPrivate::xdg_toplevel_set_parent ( Resource * resource,
struct ::wl_resource * parent )
overrideprotected

Definition at line 1382 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_set_title()

void QWaylandXdgToplevelPrivate::xdg_toplevel_set_title ( Resource * resource,
const QString & title )
overrideprotected

Definition at line 1403 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_show_window_menu()

void QWaylandXdgToplevelPrivate::xdg_toplevel_show_window_menu ( Resource * resource,
struct ::wl_resource * seat,
uint32_t serial,
int32_t x,
int32_t y )
overrideprotected

Definition at line 1423 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_unset_fullscreen()

void QWaylandXdgToplevelPrivate::xdg_toplevel_unset_fullscreen ( Resource * resource)
overrideprotected

Definition at line 1533 of file qwaylandxdgshell.cpp.

◆ xdg_toplevel_unset_maximized()

void QWaylandXdgToplevelPrivate::xdg_toplevel_unset_maximized ( Resource * resource)
overrideprotected

Definition at line 1518 of file qwaylandxdgshell.cpp.

Member Data Documentation

◆ m_appId

QString QWaylandXdgToplevelPrivate::m_appId

Definition at line 152 of file qwaylandxdgshell_p.h.

◆ m_decoration

QWaylandXdgToplevelDecorationV1* QWaylandXdgToplevelPrivate::m_decoration = nullptr

Definition at line 155 of file qwaylandxdgshell_p.h.

◆ m_lastAckedConfigure

ConfigureEvent QWaylandXdgToplevelPrivate::m_lastAckedConfigure

Definition at line 150 of file qwaylandxdgshell_p.h.

◆ m_maxSize

QSize QWaylandXdgToplevelPrivate::m_maxSize

Definition at line 153 of file qwaylandxdgshell_p.h.

◆ m_minSize

QSize QWaylandXdgToplevelPrivate::m_minSize = {0, 0}

Definition at line 154 of file qwaylandxdgshell_p.h.

◆ m_modal

bool QWaylandXdgToplevelPrivate::m_modal = false

Definition at line 156 of file qwaylandxdgshell_p.h.

◆ m_parentToplevel

QWaylandXdgToplevel* QWaylandXdgToplevelPrivate::m_parentToplevel = nullptr

Definition at line 148 of file qwaylandxdgshell_p.h.

◆ m_pendingConfigures

QList<ConfigureEvent> QWaylandXdgToplevelPrivate::m_pendingConfigures

Definition at line 149 of file qwaylandxdgshell_p.h.

◆ m_title

QString QWaylandXdgToplevelPrivate::m_title

Definition at line 151 of file qwaylandxdgshell_p.h.

◆ m_xdgSurface

QWaylandXdgSurface* QWaylandXdgToplevelPrivate::m_xdgSurface = nullptr

Definition at line 147 of file qwaylandxdgshell_p.h.

◆ s_role

QWaylandSurfaceRole QWaylandXdgToplevelPrivate::s_role
static

Definition at line 158 of file qwaylandxdgshell_p.h.


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