[effects] Move the Desktop Cube Animation effect to its own directory
Summary: Just little tidying. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D15725
This commit is contained in:
parent
9ad3f1c672
commit
fa6fa27935
12 changed files with 29 additions and 22 deletions
|
@ -75,7 +75,7 @@ set( kwin4_effect_builtins_sources
|
|||
colorpicker/colorpicker.cpp
|
||||
cube/cube.cpp
|
||||
cube/cube_proxy.cpp
|
||||
cube/cubeslide.cpp
|
||||
cubeslide/cubeslide.cpp
|
||||
coverswitch/coverswitch.cpp
|
||||
desktopgrid/desktopgrid.cpp
|
||||
diminactive/diminactive.cpp
|
||||
|
@ -105,8 +105,8 @@ qt5_add_resources( kwin4_effect_builtins_sources shaders.qrc )
|
|||
|
||||
kconfig_add_kcfg_files(kwin4_effect_builtins_sources
|
||||
blur/blurconfig.kcfgc
|
||||
cube/cubeslideconfig.kcfgc
|
||||
cube/cubeconfig.kcfgc
|
||||
cubeslide/cubeslideconfig.kcfgc
|
||||
coverswitch/coverswitchconfig.kcfgc
|
||||
desktopgrid/desktopgridconfig.kcfgc
|
||||
diminactive/diminactiveconfig.kcfgc
|
||||
|
@ -173,6 +173,7 @@ add_subdirectory( blur )
|
|||
include( backgroundcontrast/CMakeLists.txt )
|
||||
add_subdirectory( coverswitch )
|
||||
add_subdirectory( cube )
|
||||
add_subdirectory( cubeslide )
|
||||
add_subdirectory( flipswitch )
|
||||
add_subdirectory( glide )
|
||||
add_subdirectory( invert )
|
||||
|
|
|
@ -9,7 +9,6 @@ install( FILES
|
|||
#######################################
|
||||
# Config
|
||||
|
||||
# cube
|
||||
set(kwin_cube_config_SRCS cube_config.cpp)
|
||||
ki18n_wrap_ui(kwin_cube_config_SRCS cube_config.ui)
|
||||
qt5_add_dbus_interface(kwin_cube_config_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
|
||||
|
@ -28,27 +27,9 @@ target_link_libraries(kwin_cube_config
|
|||
|
||||
kcoreaddons_desktop_to_json(kwin_cube_config cube_config.desktop SERVICE_TYPES kcmodule.desktop)
|
||||
|
||||
# cube slide
|
||||
set(kwin_cubeslide_config_SRCS cubeslide_config.cpp)
|
||||
ki18n_wrap_ui(kwin_cubeslide_config_SRCS cubeslide_config.ui)
|
||||
qt5_add_dbus_interface(kwin_cubeslide_config_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
|
||||
kconfig_add_kcfg_files(kwin_cubeslide_config_SRCS cubeslideconfig.kcfgc)
|
||||
|
||||
add_library(kwin_cubeslide_config MODULE ${kwin_cubeslide_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_cubeslide_config
|
||||
kwineffects
|
||||
KF5::ConfigWidgets
|
||||
KF5::I18n
|
||||
KF5::Service
|
||||
)
|
||||
|
||||
kcoreaddons_desktop_to_json(kwin_cubeslide_config cubeslide_config.desktop SERVICE_TYPES kcmodule.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
kwin_cube_config
|
||||
kwin_cubeslide_config
|
||||
DESTINATION
|
||||
${PLUGIN_INSTALL_DIR}/kwin/effects/configs
|
||||
)
|
||||
|
|
25
effects/cubeslide/CMakeLists.txt
Normal file
25
effects/cubeslide/CMakeLists.txt
Normal file
|
@ -0,0 +1,25 @@
|
|||
#######################################
|
||||
# Config
|
||||
|
||||
set(kwin_cubeslide_config_SRCS cubeslide_config.cpp)
|
||||
ki18n_wrap_ui(kwin_cubeslide_config_SRCS cubeslide_config.ui)
|
||||
qt5_add_dbus_interface(kwin_cubeslide_config_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
|
||||
kconfig_add_kcfg_files(kwin_cubeslide_config_SRCS cubeslideconfig.kcfgc)
|
||||
|
||||
add_library(kwin_cubeslide_config MODULE ${kwin_cubeslide_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_cubeslide_config
|
||||
kwineffects
|
||||
KF5::ConfigWidgets
|
||||
KF5::I18n
|
||||
KF5::Service
|
||||
)
|
||||
|
||||
kcoreaddons_desktop_to_json(kwin_cubeslide_config cubeslide_config.desktop SERVICE_TYPES kcmodule.desktop)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
kwin_cubeslide_config
|
||||
DESTINATION
|
||||
${PLUGIN_INSTALL_DIR}/kwin/effects/configs
|
||||
)
|
|
@ -49,7 +49,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
// OpenGL-specific effects for desktop
|
||||
#include "coverswitch/coverswitch.h"
|
||||
#include "cube/cube.h"
|
||||
#include "cube/cubeslide.h"
|
||||
#include "cubeslide/cubeslide.h"
|
||||
#include "flipswitch/flipswitch.h"
|
||||
#include "glide/glide.h"
|
||||
#include "invert/invert.h"
|
||||
|
|
Loading…
Reference in a new issue