Qt 4.8
Classes | Namespaces | Macros | Enumerations | Functions
qxcbconnection.h File Reference
#include <xcb/xcb.h>
#include <QList>
#include <QObject>
#include <QVector>

Go to the source code of this file.

Classes

class  QXcbConnection
 
struct  QXcbConnection::CallInfo
 

Namespaces

 QXcbAtom
 

Macros

#define DISPLAY_FROM_XCB(object)   ((Display *)(object->connection()->xlib_display()))
 
#define Q_XCB_CALL(x)   q_xcb_call_template(x, connection(), __FILE__, __LINE__)
 
#define Q_XCB_CALL2(x, connection)   q_xcb_call_template(x, connection, __FILE__, __LINE__)
 
#define Q_XCB_DEBUG
 
#define Q_XCB_NOOP(c)   q_xcb_call_template(xcb_no_operation(c->xcb_connection()), c, __FILE__, __LINE__);
 

Enumerations

enum  QXcbAtom::Atom {
  QXcbAtom::WM_PROTOCOLS, QXcbAtom::WM_DELETE_WINDOW, QXcbAtom::WM_TAKE_FOCUS, QXcbAtom::_NET_WM_PING,
  QXcbAtom::_NET_WM_CONTEXT_HELP, QXcbAtom::_NET_WM_SYNC_REQUEST, QXcbAtom::_NET_WM_SYNC_REQUEST_COUNTER, QXcbAtom::WM_STATE,
  QXcbAtom::WM_CHANGE_STATE, QXcbAtom::WM_CLIENT_LEADER, QXcbAtom::WM_WINDOW_ROLE, QXcbAtom::SM_CLIENT_ID,
  QXcbAtom::CLIPBOARD, QXcbAtom::INCR, QXcbAtom::TARGETS, QXcbAtom::MULTIPLE,
  QXcbAtom::TIMESTAMP, QXcbAtom::SAVE_TARGETS, QXcbAtom::CLIP_TEMPORARY, QXcbAtom::_QT_SELECTION,
  QXcbAtom::_QT_CLIPBOARD_SENTINEL, QXcbAtom::_QT_SELECTION_SENTINEL, QXcbAtom::CLIPBOARD_MANAGER, QXcbAtom::RESOURCE_MANAGER,
  QXcbAtom::_XSETROOT_ID, QXcbAtom::_QT_SCROLL_DONE, QXcbAtom::_QT_INPUT_ENCODING, QXcbAtom::_MOTIF_WM_HINTS,
  QXcbAtom::DTWM_IS_RUNNING, QXcbAtom::ENLIGHTENMENT_DESKTOP, QXcbAtom::_DT_SAVE_MODE, QXcbAtom::_SGI_DESKS_MANAGER,
  QXcbAtom::_NET_SUPPORTED, QXcbAtom::_NET_VIRTUAL_ROOTS, QXcbAtom::_NET_WORKAREA, QXcbAtom::_NET_MOVERESIZE_WINDOW,
  QXcbAtom::_NET_WM_MOVERESIZE, QXcbAtom::_NET_WM_NAME, QXcbAtom::_NET_WM_ICON_NAME, QXcbAtom::_NET_WM_ICON,
  QXcbAtom::_NET_WM_PID, QXcbAtom::_NET_WM_WINDOW_OPACITY, QXcbAtom::_NET_WM_STATE, QXcbAtom::_NET_WM_STATE_ABOVE,
  QXcbAtom::_NET_WM_STATE_BELOW, QXcbAtom::_NET_WM_STATE_FULLSCREEN, QXcbAtom::_NET_WM_STATE_MAXIMIZED_HORZ, QXcbAtom::_NET_WM_STATE_MAXIMIZED_VERT,
  QXcbAtom::_NET_WM_STATE_MODAL, QXcbAtom::_NET_WM_STATE_STAYS_ON_TOP, QXcbAtom::_NET_WM_STATE_DEMANDS_ATTENTION, QXcbAtom::_NET_WM_USER_TIME,
  QXcbAtom::_NET_WM_USER_TIME_WINDOW, QXcbAtom::_NET_WM_FULL_PLACEMENT, QXcbAtom::_NET_WM_WINDOW_TYPE, QXcbAtom::_NET_WM_WINDOW_TYPE_DESKTOP,
  QXcbAtom::_NET_WM_WINDOW_TYPE_DOCK, QXcbAtom::_NET_WM_WINDOW_TYPE_TOOLBAR, QXcbAtom::_NET_WM_WINDOW_TYPE_MENU, QXcbAtom::_NET_WM_WINDOW_TYPE_UTILITY,
  QXcbAtom::_NET_WM_WINDOW_TYPE_SPLASH, QXcbAtom::_NET_WM_WINDOW_TYPE_DIALOG, QXcbAtom::_NET_WM_WINDOW_TYPE_DROPDOWN_MENU, QXcbAtom::_NET_WM_WINDOW_TYPE_POPUP_MENU,
  QXcbAtom::_NET_WM_WINDOW_TYPE_TOOLTIP, QXcbAtom::_NET_WM_WINDOW_TYPE_NOTIFICATION, QXcbAtom::_NET_WM_WINDOW_TYPE_COMBO, QXcbAtom::_NET_WM_WINDOW_TYPE_DND,
  QXcbAtom::_NET_WM_WINDOW_TYPE_NORMAL, QXcbAtom::_KDE_NET_WM_WINDOW_TYPE_OVERRIDE, QXcbAtom::_KDE_NET_WM_FRAME_STRUT, QXcbAtom::_NET_STARTUP_INFO,
  QXcbAtom::_NET_STARTUP_INFO_BEGIN, QXcbAtom::_NET_SUPPORTING_WM_CHECK, QXcbAtom::_NET_WM_CM_S0, QXcbAtom::_NET_SYSTEM_TRAY_VISUAL,
  QXcbAtom::_NET_ACTIVE_WINDOW, QXcbAtom::COMPOUND_TEXT, QXcbAtom::TEXT, QXcbAtom::UTF8_STRING,
  QXcbAtom::XdndEnter, QXcbAtom::XdndPosition, QXcbAtom::XdndStatus, QXcbAtom::XdndLeave,
  QXcbAtom::XdndDrop, QXcbAtom::XdndFinished, QXcbAtom::XdndTypelist, QXcbAtom::XdndActionList,
  QXcbAtom::XdndSelection, QXcbAtom::XdndAware, QXcbAtom::XdndProxy, QXcbAtom::XdndActionCopy,
  QXcbAtom::XdndActionLink, QXcbAtom::XdndActionMove, QXcbAtom::XdndActionPrivate, QXcbAtom::_MOTIF_DRAG_AND_DROP_MESSAGE,
  QXcbAtom::_MOTIF_DRAG_INITIATOR_INFO, QXcbAtom::_MOTIF_DRAG_RECEIVER_INFO, QXcbAtom::_MOTIF_DRAG_WINDOW, QXcbAtom::_MOTIF_DRAG_TARGETS,
  QXcbAtom::XmTRANSFER_SUCCESS, QXcbAtom::XmTRANSFER_FAILURE, QXcbAtom::_XKB_RULES_NAMES, QXcbAtom::_XEMBED,
  QXcbAtom::_XEMBED_INFO, QXcbAtom::XWacomStylus, QXcbAtom::XWacomCursor, QXcbAtom::XWacomEraser,
  QXcbAtom::XTabletStylus, QXcbAtom::XTabletEraser, QXcbAtom::NPredefinedAtoms, QXcbAtom::_QT_SETTINGS_TIMESTAMP = NPredefinedAtoms,
  QXcbAtom::NAtoms
}
 

Functions

template<typename cookie_t >
cookie_t q_xcb_call_template (const cookie_t &cookie, QXcbConnection *connection, const char *file, int line)
 

Macro Definition Documentation

◆ DISPLAY_FROM_XCB

#define DISPLAY_FROM_XCB (   object)    ((Display *)(object->connection()->xlib_display()))

◆ Q_XCB_CALL

#define Q_XCB_CALL (   x)    q_xcb_call_template(x, connection(), __FILE__, __LINE__)

◆ Q_XCB_CALL2

#define Q_XCB_CALL2 (   x,
  connection 
)    q_xcb_call_template(x, connection, __FILE__, __LINE__)

Definition at line 318 of file qxcbconnection.h.

◆ Q_XCB_DEBUG

#define Q_XCB_DEBUG

Definition at line 51 of file qxcbconnection.h.

◆ Q_XCB_NOOP

#define Q_XCB_NOOP (   c)    q_xcb_call_template(xcb_no_operation(c->xcb_connection()), c, __FILE__, __LINE__);

Function Documentation

◆ q_xcb_call_template()

template<typename cookie_t >
cookie_t q_xcb_call_template ( const cookie_t &  cookie,
QXcbConnection connection,
const char *  file,
int  line 
)

Definition at line 312 of file qxcbconnection.h.

313 {
314  connection->log(file, line, cookie.sequence);
315  return cookie;
316 }
void log(const char *file, int line, int sequence)