diff --git a/src/FloatingDockContainer.h b/src/FloatingDockContainer.h index 7e6faec..2dd9d49 100644 --- a/src/FloatingDockContainer.h +++ b/src/FloatingDockContainer.h @@ -131,15 +131,6 @@ protected: virtual void startFloating(const QPoint& DragStartMousePos, const QSize& Size, eDragState DragState, QWidget* MouseEventHandler) override; - /** - * Call this function to start dragging the floating widget - */ - void startDragging(const QPoint& DragStartMousePos, const QSize& Size, - QWidget* MouseEventHandler) - { - startFloating(DragStartMousePos, Size, DraggingFloatingWidget, MouseEventHandler); - } - /** * Call this function if you explicitly want to signal that dragging has * finished @@ -149,7 +140,7 @@ protected: /** * This function deletes all dock widgets in it. * This functions should be called only from dock manager in its - * destructor before deleting the floating widget + * destructor before deleting the floating widget */ void deleteContent(); @@ -236,6 +227,15 @@ public: */ CDockContainerWidget* dockContainer() const; + /** + * Call this function to start dragging the floating widget + */ + void startDragging(const QPoint& DragStartMousePos, const QSize& Size, + QWidget* MouseEventHandler) + { + startFloating(DragStartMousePos, Size, DraggingFloatingWidget, MouseEventHandler); + } + /** * This function returns true, if it can be closed. * It can be closed, if all dock widgets in all dock areas can be closed