The ScreenPreviewWidget doesn't make much sense any more for the general useage as it's not QML based and thus not suited for any usage in Plasma. This means that features like previewing the Plasma wallpaper cannot work any more. The Widget is only used in a few KCMs (KDM, Screensavers, Screenedges). Currently we expect that KDM and legacy X Screensavers won't make it into the next release, it makes sense to just move the widget to screenedges where it's still useful. This change has been discussed with notmart.
14 lines
540 B
CMake
14 lines
540 B
CMake
include_directories( ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin )
|
|
|
|
set(
|
|
kcm_kwinscreenedges_PART_SRCS
|
|
main.cpp
|
|
monitor.cpp
|
|
screenpreviewwidget.cpp
|
|
)
|
|
kde4_add_ui_files( kcm_kwinscreenedges_PART_SRCS main.ui )
|
|
kde4_add_plugin( kcm_kwinscreenedges ${kcm_kwinscreenedges_PART_SRCS} )
|
|
target_link_libraries( kcm_kwinscreenedges ${X11_LIBRARIES} kworkspace ${KDE4_PLASMA_LIBS})
|
|
install( TARGETS kcm_kwinscreenedges DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
install( FILES kwinscreenedges.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|