/* This file is part of KDDockWidgets. SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sérgio Martins SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only Contact KDAB at for commercial licensing options. */ #include "StackViewInterface.h" #include "kddockwidgets/core/Stack.h" namespace KDDockWidgets::Core { StackViewInterface::StackViewInterface(Stack *controller) : m_stack(controller) { } StackViewInterface::~StackViewInterface() = default; bool StackViewInterface::isPositionDraggable(Point) const { return true; } void StackViewInterface::setDocumentMode(bool) { /// Only QtWidgets reimplements this } }