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
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 188 of file qxcbxsettings.cpp.

References QXcbXSettingsPrivate::QXcbXSettingsPrivate(), QXcbObject::connection(), QXcbXSettingsPrivate::initialized, QXcbXSettingsPrivate::x_settings_window, and QXcbObject::xcb_connection().

Here is the call graph for this function:

◆ ~QXcbXSettings()

QXcbXSettings::~QXcbXSettings ( )

Definition at line 220 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 232 of file qxcbxsettings.cpp.

◆ initialized()

bool QXcbXSettings::initialized ( ) const

Definition at line 226 of file qxcbxsettings.cpp.

◆ registerCallbackForProperty()

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

Definition at line 241 of file qxcbxsettings.cpp.

◆ removeCallbackForHandle() [1/2]

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

Definition at line 247 of file qxcbxsettings.cpp.

References QXcbXSettingsCallback::handle.

◆ removeCallbackForHandle() [2/2]

void QXcbXSettings::removeCallbackForHandle ( void * handle)

Definition at line 259 of file qxcbxsettings.cpp.

References removeCallbackForHandle().

Referenced by removeCallbackForHandle().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setting()

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

Definition at line 268 of file qxcbxsettings.cpp.


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