/* This file is part of KDDockWidgets. SPDX-FileCopyrightText: 2023 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. */ #pragma once // Pimpl class so we can keep kdbindings private #include "TabBar.h" #include "DockWidget.h" #include "ObjectGuard_p.h" #include #include namespace KDDockWidgets { namespace Core { class Stack; class Group; class TabBar::Private { public: explicit Private(Stack *stack) : m_stack(stack) { } void moveTabTo(int from, int to); Core::Stack *const m_stack; ObjectGuard m_lastPressedDockWidget = nullptr; DockWidget *m_currentDockWidget = nullptr; Vector m_dockWidgets; bool m_removeGuard = false; bool m_isMovingTab = false; std::unordered_map aboutToDeleteConnections; KDBindings::Signal currentDockWidgetChanged; KDBindings::Signal<> countChanged; }; } }