mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
The module exposes TaskFilterModel, which extends QSortFilterProxyModel QSortFilterProxyModel is registered to QML as part of the QtCore module, so we need to add that to DEPENDENCIES for tools like qmllint to work properly
30 lines
684 B
CMake
30 lines
684 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
|
|
DEPENDENCIES QtCore
|
|
)
|
|
|
|
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)
|