35 lines
885 B
C++
35 lines
885 B
C++
/*
|
|
This file is part of KDDockWidgets.
|
|
|
|
SPDX-FileCopyrightText: 2020-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
|
|
Author: Sérgio Martins <sergio.martins@kdab.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
|
|
|
|
Contact KDAB at <info@kdab.com> for commercial licensing options.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "qtcommon/Platform_qt.h"
|
|
#include "qtwidgets/DebugWindow_p.h"
|
|
|
|
namespace KDDockWidgets {
|
|
|
|
/// @brief implements functions specific to a particular platform
|
|
/// A platform can be for example qtwidgets, qtquick, etc.
|
|
class DOCKS_EXPORT Platform_qtwidgets : public Platform_qt
|
|
{
|
|
public:
|
|
Platform_qtwidgets();
|
|
~Platform_qtwidgets() override;
|
|
const char *name() const override;
|
|
bool hasActivePopup() const override;
|
|
std::shared_ptr<ViewWrapper> qobjectAsView(QObject *) const override;
|
|
|
|
private:
|
|
void init();
|
|
};
|
|
|
|
}
|