Advance Wayland and KDE package bring-up
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2024 Volker Krause <vkrause@kde.org>
|
||||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
ecm_add_qml_module(kguiaddonsqml URI "org.kde.guiaddons" GENERATE_PLUGIN_SOURCE INSTALLED_PLUGIN_TARGET KF6::kguiaddonsqml)
|
||||
target_sources(kguiaddonsqml PRIVATE types.h)
|
||||
target_link_libraries(kguiaddonsqml PRIVATE KF6GuiAddons Qt6::Qml)
|
||||
ecm_finalize_qml_module(kguiaddonsqml EXPORT KF6GuiAddonsTargets)
|
||||
@@ -0,0 +1,19 @@
|
||||
// SPDX-FileCopyrightText: 2024 Volker Krause <vkrause@kde.org>
|
||||
// SPDX-License-Identifier: LGPL-2.0-or-later
|
||||
|
||||
#ifndef KGUIADDONS_QML_TYPES
|
||||
#define KGUIADDONS_QML_TYPES
|
||||
|
||||
#include <KWindowInsetsController>
|
||||
|
||||
#include <QQmlEngine>
|
||||
|
||||
class KWindowInsetsControllerForeign : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
QML_NAMED_ELEMENT(WindowInsetsController)
|
||||
QML_FOREIGN(KWindowInsetsController)
|
||||
QML_SINGLETON
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user