Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QXcbXSettings Class Reference

#include <qxcbxsettings.h>

+ Inheritance diagram for QXcbXSettings:
+ Collaboration diagram for QXcbXSettings:

Public Types

typedef void(* PropertyChangeFunc) (QXcbVirtualDesktop *screen, const QByteArray &name, const QVariant &property, void *handle)
 

Public Member Functions

 QXcbXSettings (QXcbVirtualDesktop *screen)
 
 ~QXcbXSettings ()
 
bool initialized () const
 
QVariant setting (const QByteArray &property) const
 
void registerCallbackForProperty (const QByteArray &property, PropertyChangeFunc func, void *handle)
 
void removeCallbackForHandle (const QByteArray &property, void *handle)
 
void removeCallbackForHandle (void *handle)
 
void handlePropertyNotifyEvent (const xcb_property_notify_event_t *event) override
 
- Public Member Functions inherited from QXcbWindowEventListener
virtual ~QXcbWindowEventListener ()
 
virtual bool handleNativeEvent (xcb_generic_event_t *)
 
virtual void handleExposeEvent (const xcb_expose_event_t *)
 
virtual void handleClientMessageEvent (const xcb_client_message_event_t *)
 
virtual void handleConfigureNotifyEvent (const xcb_configure_notify_event_t *)
 
virtual void handleMapNotifyEvent (const xcb_map_notify_event_t *)
 
virtual void handleUnmapNotifyEvent (const xcb_unmap_notify_event_t *)
 
virtual void handleDestroyNotifyEvent (const xcb_destroy_notify_event_t *)
 
virtual void handleButtonPressEvent (const xcb_button_press_event_t *)
 
virtual void handleButtonReleaseEvent (const xcb_button_release_event_t *)
 
virtual void handleMotionNotifyEvent (const xcb_motion_notify_event_t *)
 
virtual void handleEnterNotifyEvent (const xcb_enter_notify_event_t *)
 
virtual void handleLeaveNotifyEvent (const xcb_leave_notify_event_t *)
 
virtual void handleFocusInEvent (const xcb_focus_in_event_t *)
 
virtual void handleFocusOutEvent (const xcb_focus_out_event_t *)
 
virtual void handleXIMouseEvent (xcb_ge_event_t *, Qt::MouseEventSource=Qt::MouseEventNotSynthesized)
 
virtual void handleXIEnterLeave (xcb_ge_event_t *)
 
virtual QXcbWindowtoWindow ()
 

Detailed Description

Definition at line 13 of file qxcbxsettings.h.

Member Typedef Documentation

◆ PropertyChangeFunc

typedef void(* QXcbXSettings::PropertyChangeFunc) (QXcbVirtualDesktop *screen, const QByteArray &name, const QVariant &property, void *handle)

Definition at line 23 of file qxcbxsettings.h.

Constructor & Destructor Documentation

◆ QXcbXSettings()

QXcbXSettings::QXcbXSettings ( QXcbVirtualDesktop * screen)

Definition at line 187 of file qxcbxsettings.cpp.

References QXcbXSettingsPrivate::getSettings(), QXcbXSettingsPrivate::initialized, QByteArray::number(), QXcbXSettingsPrivate::populateSettings(), Q_XCB_REPLY, screen, QScreen::size, and QXcbXSettingsPrivate::x_settings_window.

+ Here is the call graph for this function:

◆ ~QXcbXSettings()

QXcbXSettings::~QXcbXSettings ( )

Definition at line 219 of file qxcbxsettings.cpp.

Member Function Documentation

◆ handlePropertyNotifyEvent()

void QXcbXSettings::handlePropertyNotifyEvent ( const xcb_property_notify_event_t * event)
overridevirtual

Reimplemented from QXcbWindowEventListener.

Definition at line 231 of file qxcbxsettings.cpp.

References d.

◆ initialized()

bool QXcbXSettings::initialized ( ) const

Definition at line 225 of file qxcbxsettings.cpp.

References d.

◆ registerCallbackForProperty()

void QXcbXSettings::registerCallbackForProperty ( const QByteArray & property,
QXcbXSettings::PropertyChangeFunc func,
void * handle )

Definition at line 240 of file qxcbxsettings.cpp.

References d, and property.

Referenced by QXcbVirtualDesktop::QXcbVirtualDesktop(), and QXcbIntegration::initialize().

+ Here is the caller graph for this function:

◆ removeCallbackForHandle() [1/2]

void QXcbXSettings::removeCallbackForHandle ( const QByteArray & property,
void * handle )

Definition at line 246 of file qxcbxsettings.cpp.

References callbacks, cb, d, and property.

Referenced by QXcbCursor::~QXcbCursor(), and removeCallbackForHandle().

+ Here is the caller graph for this function:

◆ removeCallbackForHandle() [2/2]

void QXcbXSettings::removeCallbackForHandle ( void * handle)

Definition at line 258 of file qxcbxsettings.cpp.

References QSet< T >::cbegin(), QSet< T >::cend(), d, it, and removeCallbackForHandle().

+ Here is the call graph for this function:

◆ setting()

QVariant QXcbXSettings::setting ( const QByteArray & property) const

Definition at line 267 of file qxcbxsettings.cpp.

References d, and property.


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