Qt 4.8
Public Functions | Properties | List of all members
QXcbObject Class Reference

#include <qxcbobject.h>

Inheritance diagram for QXcbObject:
QXcbKeyboard QXcbScreen QXcbShmImage QXcbWindow QXcbWindowSurface

Public Functions

xcb_atom_t atom (QXcbAtom::Atom atom) const
 
QXcbConnectionconnection () const
 
 QXcbObject (QXcbConnection *connection=0)
 
void setConnection (QXcbConnection *connection)
 
xcb_connection_t * xcb_connection () const
 

Properties

QXcbConnectionm_connection
 

Detailed Description

Definition at line 47 of file qxcbobject.h.

Constructors and Destructors

◆ QXcbObject()

QXcbObject::QXcbObject ( QXcbConnection connection = 0)
inline

Definition at line 50 of file qxcbobject.h.

50 : m_connection(connection) {}
QXcbConnection * m_connection
Definition: qxcbobject.h:59

Functions

◆ atom()

xcb_atom_t QXcbObject::atom ( QXcbAtom::Atom  atom) const
inline

Definition at line 55 of file qxcbobject.h.

Referenced by QXcbWindow::handleClientMessageEvent(), QXcbScreen::QXcbScreen(), QXcbWindow::QXcbWindow(), QXcbWindow::setNetWmWindowTypes(), QXcbWindow::setWindowFlags(), and QXcbWindow::setWindowTitle().

55 { return m_connection->atom(atom); }
QXcbConnection * m_connection
Definition: qxcbobject.h:59
xcb_atom_t atom(QXcbAtom::Atom atom)
xcb_atom_t atom(QXcbAtom::Atom atom) const
Definition: qxcbobject.h:55

◆ connection()

QXcbConnection* QXcbObject::connection ( ) const
inline

◆ setConnection()

void QXcbObject::setConnection ( QXcbConnection connection)
inline

Definition at line 52 of file qxcbobject.h.

Referenced by QXcbWindow::QXcbWindow(), and QXcbWindowSurface::QXcbWindowSurface().

QXcbConnection * m_connection
Definition: qxcbobject.h:59
QXcbConnection * connection() const
Definition: qxcbobject.h:53

◆ xcb_connection()

xcb_connection_t* QXcbObject::xcb_connection ( ) const
inline

Properties

◆ m_connection

QXcbConnection* QXcbObject::m_connection
private

Definition at line 59 of file qxcbobject.h.

Referenced by atom(), connection(), setConnection(), and xcb_connection().


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