From 17df7b5b4ed07920537fd92ebc32ca6a6073d774 Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Fri, 9 Oct 2020 16:49:16 +0100 Subject: [PATCH] Install DragController_p.h Still private. It's for advanced used only. --- src/CMakeLists.txt | 2 ++ src/private/DragController_p.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3b838128..36d72444 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -62,12 +62,14 @@ set(DOCKS_INSTALLABLE_INCLUDES ) set(DOCKS_INSTALLABLE_PRIVATE_INCLUDES + private/DragController_p.h private/Draggable_p.h private/DropIndicatorOverlayInterface_p.h private/FloatingWindow_p.h private/Frame_p.h private/SideBar_p.h private/TitleBar_p.h + private/WindowBeingDragged_p.h ) set(DOCKS_INSTALLABLE_PRIVATE_WIDGET_INCLUDES diff --git a/src/private/DragController_p.h b/src/private/DragController_p.h index 16b95dff..0eb3d64c 100644 --- a/src/private/DragController_p.h +++ b/src/private/DragController_p.h @@ -12,6 +12,8 @@ #ifndef KD_DRAGCONTROLLER_P_H #define KD_DRAGCONTROLLER_P_H +#include "docks_export.h" + #include "TitleBar_p.h" #include "WindowBeingDragged_p.h" @@ -26,7 +28,7 @@ class DropArea; class Draggable; class FallbackMouseGrabber; -class DragController : public QStateMachine +class DOCKS_EXPORT DragController : public QStateMachine { Q_OBJECT public: