mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
This switches the kwin effect to be a declarative effect. However, for now I have retained much of the logic that exists in cpp as a QML plugin. Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/448 Also implements https://invent.kde.org/plasma/plasma-mobile/-/issues/408 now that we can access the QML api
26 lines
651 B
CMake
26 lines
651 B
CMake
# SPDX-FileCopyrightText: 2025 Devin Lin <devin@kde.org>
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
ecm_add_qml_module(mobiletaskswitcherplugin URI org.kde.plasma.private.mobileshell.taskswitcherplugin GENERATE_PLUGIN_SOURCE)
|
|
|
|
target_sources(mobiletaskswitcherplugin PRIVATE
|
|
mobiletaskswitchereffect.cpp
|
|
effecttouchborder.cpp
|
|
taskfiltermodel.cpp
|
|
taskmodel.cpp)
|
|
|
|
target_link_libraries(mobiletaskswitcherplugin PRIVATE
|
|
KF6::ConfigGui
|
|
KF6::GlobalAccel
|
|
KF6::I18n
|
|
KF6::CoreAddons
|
|
KF6::WindowSystem
|
|
|
|
Qt::Quick
|
|
Qt::Core
|
|
|
|
KWin::kwin
|
|
Plasma::Activities
|
|
)
|
|
|
|
ecm_finalize_qml_module(mobiletaskswitcherplugin)
|