ea5c84dd35
Next to the preview/configure button a GHNS button is included as a simple button with icon only to not break the layout. Currently the button is not shown as the category on kde-look has not yet been created yet. CCBUG: 297636 REVIEW: 104894
31 lines
1.3 KiB
CMake
31 lines
1.3 KiB
CMake
include_directories( ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox )
|
|
|
|
########### next target ###############
|
|
|
|
ADD_DEFINITIONS(-DTABBOX_KCM)
|
|
|
|
set(kcm_kwintabbox_PART_SRCS
|
|
main.cpp
|
|
layoutpreview.cpp
|
|
thumbnailitem.cpp
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox/clientmodel.cpp
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox/declarative.cpp
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox/desktopmodel.cpp
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox/tabboxconfig.cpp
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox/tabboxhandler.cpp
|
|
)
|
|
|
|
kde4_add_ui_files( kcm_kwintabbox_PART_SRCS main.ui )
|
|
|
|
kde4_add_plugin(kcm_kwintabbox ${kcm_kwintabbox_PART_SRCS})
|
|
|
|
target_link_libraries(kcm_kwintabbox ${KDE4_KNEWSTUFF3_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KCMUTILS_LIBS} ${KDE4_PLASMA_LIBS} ${X11_LIBRARIES} ${QT_QTDECLARATIVE_LIBRARY} ${KDECLARATIVE_LIBRARIES})
|
|
|
|
install(TARGETS kcm_kwintabbox DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
########### install files ###############
|
|
install( FILES kwintabbox.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
install( FILES qml/main.qml DESTINATION ${DATA_INSTALL_DIR}/kwin/kcm_kwintabbox)
|
|
install( FILES thumbnails/konqueror.png thumbnails/kmail.png thumbnails/systemsettings.png thumbnails/dolphin.png DESTINATION ${DATA_INSTALL_DIR}/kwin/kcm_kwintabbox)
|
|
install( FILES kwinswitcher.knsrc DESTINATION ${CONFIG_INSTALL_DIR} )
|