From d67214302f269242ae3d8d2b962fd91ec42c979e Mon Sep 17 00:00:00 2001 From: Gatis Paeglis Date: Sat, 22 Sep 2018 13:14:23 +0200 Subject: xcb: qxcbconnection_basic A basic base class that creates a connection and initializes extensions. The goal was to reduce the size of qxcbconnection.h/cpp. Made QXcbAtom into a class that handles atom initialization and exposes the relevant APIs. Before this patch, all of that logic was inside of qxcbconnection.h/cpp. Change-Id: Ia893c3b31e2343dfbe62fe2aa6bfd0017abf46ea Reviewed-by: Gatis Paeglis --- src/plugins/platforms/xcb/xcb_qpa_lib.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/plugins/platforms/xcb/xcb_qpa_lib.pro') diff --git a/src/plugins/platforms/xcb/xcb_qpa_lib.pro b/src/plugins/platforms/xcb/xcb_qpa_lib.pro index a747b25c88..c0704e4c18 100644 --- a/src/plugins/platforms/xcb/xcb_qpa_lib.pro +++ b/src/plugins/platforms/xcb/xcb_qpa_lib.pro @@ -31,7 +31,9 @@ SOURCES = \ qxcbxsettings.cpp \ qxcbsystemtraytracker.cpp \ qxcbeventqueue.cpp \ - qxcbeventdispatcher.cpp + qxcbeventdispatcher.cpp \ + qxcbconnection_basic.cpp \ + qxcbatom.cpp HEADERS = \ qxcbclipboard.h \ @@ -51,7 +53,9 @@ HEADERS = \ qxcbsystemtraytracker.h \ qxcbxkbcommon.h \ qxcbeventqueue.h \ - qxcbeventdispatcher.h + qxcbeventdispatcher.h \ + qxcbconnection_basic.h \ + qxcbatom.h qtConfig(draganddrop) { SOURCES += qxcbdrag.cpp -- cgit v1.2.3