/* 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. */ #pragma once #include "core/Platform.h" #include "kdbindings/signal.h" #include #include namespace KDDockWidgets::Core { class EventFilterInterface; class Platform::Private { public: Private(); /// @brief This signal is emitted when the currently focused view changes KDBindings::Signal> focusedViewChanged; /// @brief Emitted whenever a window gets activated (gets keyboard focus) /// Not really used within the framework. Implement only if you want your application to react /// to window activations and use a different style depending on activation state. KDBindings::Signal> windowActivated; KDBindings::Signal> windowDeactivated; bool inDestruction() const { return m_inDestruction; } bool m_inDestruction = false; std::vector m_globalEventFilters; }; }