mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00

see 387bdaa93fd6adb0cd8a930454e3be578fa5fdc0 in the kdelibs repo, how a link will be opened depends on a few things now - the MIME type and what method is used for opening the URL. if KRun is used the MIME type will be detetermined and the prefered service for it will be launched, if KToolInvocation is used first the preferred service for "text/html" will be attempted with fallback to kde-open and xdg-open which solidifies the behaviour of "mimetype-determination-in-calling-application" (see kdelibs/kdecore/sycoca/kprotocolinfo.cpp) Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
32 lines
691 B
CMake
32 lines
691 B
CMake
add_subdirectory(componentservices)
|
|
add_subdirectory(windowmanagers)
|
|
|
|
########### next target ###############
|
|
|
|
set(kcm_componentchooser_SRCS
|
|
componentchooser.cpp
|
|
componentchooserfilemanager.cpp
|
|
componentchooseremail.cpp
|
|
kcm_componentchooser.cpp
|
|
componentchooserterminal.cpp
|
|
componentchooserwm.cpp
|
|
)
|
|
|
|
kde4_add_plugin(kcm_componentchooser ${kcm_componentchooser_SRCS})
|
|
|
|
target_link_libraries(kcm_componentchooser
|
|
KDE4::kio
|
|
KDE4::kemail
|
|
)
|
|
|
|
install(
|
|
TARGETS kcm_componentchooser
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
|
)
|
|
|
|
########### install files ###############
|
|
|
|
install(
|
|
FILES componentchooser.desktop
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
|
)
|