98d813050e
The desktops KCM allows selecting between the virtual desktop switching effects. For those it offers configuring and showing the information. The KServiceTypeTrader based search is adjusted to be only used for the scripted effects. The built-in effects are queried through the information available through the BuiltInEffects namespace.
27 lines
669 B
CMake
27 lines
669 B
CMake
|
|
########### next target ###############
|
|
include_directories(${KWIN_SOURCE_DIR}/effects)
|
|
|
|
set(kcm_kwindesktop_PART_SRCS main.cpp desktopnameswidget.cpp)
|
|
qt5_wrap_ui(kcm_kwindesktop_PART_SRCS main.ui)
|
|
|
|
add_library(kcm_kwindesktop MODULE ${kcm_kwindesktop_PART_SRCS})
|
|
|
|
target_link_libraries(kcm_kwindesktop
|
|
Qt5::X11Extras
|
|
KF5::KCMUtils
|
|
KF5::Completion
|
|
KF5::GlobalAccel
|
|
KF5::I18n
|
|
KF5::WindowSystem
|
|
KF5::XmlGui
|
|
${X11_LIBRARIES}
|
|
kwin4_effect_builtins
|
|
)
|
|
|
|
install(TARGETS kcm_kwindesktop DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
########### install files ###############
|
|
install( FILES desktop.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
|