diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-05-22 22:23:48 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-05-30 14:44:12 +0200 |
commit | 1b1142b305c9664dd9d3d9544a9db5b5e4b6bd08 (patch) | |
tree | e92c63636371a79730a0ea78ab3df361ec3b222f /src/plugins/platforms/xcb/qxcbconnection.h | |
parent | 1d3864488cb2ae4b105948d6569d08c477f77d80 (diff) |
Add xcb based mime type handling
Reworked the code from the xlib lighthouse
plugin to remove most of the Xlib dependencies.
The code originally comdes from qdnd_x11.cpp
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbconnection.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbconnection.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.h b/src/plugins/platforms/xcb/qxcbconnection.h index 23c704f6de..124b8512ea 100644 --- a/src/plugins/platforms/xcb/qxcbconnection.h +++ b/src/plugins/platforms/xcb/qxcbconnection.h @@ -164,9 +164,12 @@ namespace QXcbAtom { _NET_ACTIVE_WINDOW, // Property formats + XA_STRING, COMPOUND_TEXT, TEXT, UTF8_STRING, + XA_PIXMAP, + XA_BITMAP, // Xdnd XdndEnter, @@ -234,6 +237,8 @@ public: int primaryScreen() const { return m_primaryScreen; } xcb_atom_t atom(QXcbAtom::Atom atom); + xcb_atom_t internAtom(const char *name); + QByteArray atomName(xcb_atom_t atom); const char *displayName() const { return m_displayName.constData(); } |