Add a DockWidgetViewInterface
to share code between both QtQuick and QtWidget DockWidget views
This commit is contained in:
33
src/views/DockWidgetViewInterface.h
Normal file
33
src/views/DockWidgetViewInterface.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
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 "kddockwidgets/KDDockWidgets.h"
|
||||
|
||||
namespace KDDockWidgets {
|
||||
|
||||
namespace Controllers {
|
||||
class DockWidget;
|
||||
}
|
||||
|
||||
namespace Views {
|
||||
|
||||
/// @brief The interface that DockWidget views should implement
|
||||
class DOCKS_EXPORT DockWidgetViewInterface
|
||||
{
|
||||
public:
|
||||
virtual ~DockWidgetViewInterface();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user