2014-04-30 06:55:58 +00:00
|
|
|
# KI18N Translation Domain for this library
|
2020-05-12 08:58:11 +00:00
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_kwinrules\")
|
2013-11-15 12:37:47 +00:00
|
|
|
add_definitions(-DKCMRULES)
|
2007-04-29 17:35:43 +00:00
|
|
|
|
2016-08-16 13:31:14 +00:00
|
|
|
include_directories(../../)
|
KWinRules KCM Redesign
Summary:
Replacement KCM to configure kwin rules, using a QML-based UI.
After some work on the task T12729, it is almost feature-par with the previous module, and adapted to the recent move to KConfigXT.
Test Plan:
{F8208046}
{F8208047}
Reviewers: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Reviewed By: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Subscribers: ngraham, davidedmundson, hchain, broulik, zzag, kwin
Tags: #kwin, #vdg
Differential Revision: https://phabricator.kde.org/D28152
2020-04-20 20:01:55 +00:00
|
|
|
|
|
|
|
set(kwinrules_SRCS
|
|
|
|
../../rulebooksettings.cpp
|
|
|
|
../../cursor.cpp
|
|
|
|
../../plugins/platforms/x11/standalone/x11cursor.cpp
|
|
|
|
../../rules.cpp
|
|
|
|
../../placement.cpp
|
|
|
|
../../utils.cpp
|
2020-05-17 01:34:21 +00:00
|
|
|
../../virtualdesktopsdbustypes.cpp
|
KWinRules KCM Redesign
Summary:
Replacement KCM to configure kwin rules, using a QML-based UI.
After some work on the task T12729, it is almost feature-par with the previous module, and adapted to the recent move to KConfigXT.
Test Plan:
{F8208046}
{F8208047}
Reviewers: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Reviewed By: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Subscribers: ngraham, davidedmundson, hchain, broulik, zzag, kwin
Tags: #kwin, #vdg
Differential Revision: https://phabricator.kde.org/D28152
2020-04-20 20:01:55 +00:00
|
|
|
kwinsrc.cpp
|
|
|
|
optionsmodel.cpp
|
|
|
|
ruleitem.cpp
|
|
|
|
rulesmodel.cpp
|
|
|
|
)
|
2007-04-29 17:35:43 +00:00
|
|
|
|
2020-02-18 13:52:08 +00:00
|
|
|
kconfig_add_kcfg_files(kwinrules_SRCS ../../rulesettings.kcfgc)
|
|
|
|
kconfig_add_kcfg_files(kwinrules_SRCS ../../rulebooksettingsbase.kcfgc)
|
|
|
|
|
2020-04-02 11:14:23 +00:00
|
|
|
add_library(KWinRulesObjects STATIC ${kwinrules_SRCS})
|
2007-04-29 17:35:43 +00:00
|
|
|
|
2013-05-02 09:14:40 +00:00
|
|
|
set(kwin_kcm_rules_XCB_LIBS
|
2019-09-17 09:15:35 +00:00
|
|
|
XCB::CURSOR
|
2014-02-25 14:48:39 +00:00
|
|
|
XCB::XCB
|
|
|
|
XCB::XFIXES
|
2013-05-02 09:14:40 +00:00
|
|
|
)
|
|
|
|
|
2013-09-30 07:56:35 +00:00
|
|
|
set(kcm_libs
|
KWinRules KCM Redesign
Summary:
Replacement KCM to configure kwin rules, using a QML-based UI.
After some work on the task T12729, it is almost feature-par with the previous module, and adapted to the recent move to KConfigXT.
Test Plan:
{F8208046}
{F8208047}
Reviewers: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Reviewed By: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Subscribers: ngraham, davidedmundson, hchain, broulik, zzag, kwin
Tags: #kwin, #vdg
Differential Revision: https://phabricator.kde.org/D28152
2020-04-20 20:01:55 +00:00
|
|
|
Qt5::Quick
|
|
|
|
Qt5::QuickWidgets
|
2019-09-18 10:31:02 +00:00
|
|
|
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::I18n
|
KWinRules KCM Redesign
Summary:
Replacement KCM to configure kwin rules, using a QML-based UI.
After some work on the task T12729, it is almost feature-par with the previous module, and adapted to the recent move to KConfigXT.
Test Plan:
{F8208046}
{F8208047}
Reviewers: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Reviewed By: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Subscribers: ngraham, davidedmundson, hchain, broulik, zzag, kwin
Tags: #kwin, #vdg
Differential Revision: https://phabricator.kde.org/D28152
2020-04-20 20:01:55 +00:00
|
|
|
KF5::QuickAddons
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::WindowSystem
|
2013-09-30 07:56:35 +00:00
|
|
|
KF5::XmlGui
|
|
|
|
)
|
|
|
|
|
2019-09-17 09:15:35 +00:00
|
|
|
if (KWIN_BUILD_ACTIVITIES)
|
2014-02-13 19:06:33 +00:00
|
|
|
set(kcm_libs ${kcm_libs} KF5::Activities)
|
2014-02-03 12:40:47 +00:00
|
|
|
endif()
|
2020-04-01 22:41:38 +00:00
|
|
|
target_link_libraries(KWinRulesObjects ${kcm_libs} ${kwin_kcm_rules_XCB_LIBS})
|
2014-02-03 12:40:47 +00:00
|
|
|
|
KWinRules KCM Redesign
Summary:
Replacement KCM to configure kwin rules, using a QML-based UI.
After some work on the task T12729, it is almost feature-par with the previous module, and adapted to the recent move to KConfigXT.
Test Plan:
{F8208046}
{F8208047}
Reviewers: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Reviewed By: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Subscribers: ngraham, davidedmundson, hchain, broulik, zzag, kwin
Tags: #kwin, #vdg
Differential Revision: https://phabricator.kde.org/D28152
2020-04-20 20:01:55 +00:00
|
|
|
add_executable(kwin_rules_dialog main.cpp rulesdialog.cpp)
|
2020-04-01 22:41:38 +00:00
|
|
|
target_link_libraries(kwin_rules_dialog KWinRulesObjects)
|
2019-09-17 09:15:35 +00:00
|
|
|
install(TARGETS kwin_rules_dialog DESTINATION ${LIBEXEC_INSTALL_DIR})
|
2007-04-29 17:35:43 +00:00
|
|
|
|
KWinRules KCM Redesign
Summary:
Replacement KCM to configure kwin rules, using a QML-based UI.
After some work on the task T12729, it is almost feature-par with the previous module, and adapted to the recent move to KConfigXT.
Test Plan:
{F8208046}
{F8208047}
Reviewers: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Reviewed By: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Subscribers: ngraham, davidedmundson, hchain, broulik, zzag, kwin
Tags: #kwin, #vdg
Differential Revision: https://phabricator.kde.org/D28152
2020-04-20 20:01:55 +00:00
|
|
|
add_library(kcm_kwinrules MODULE kcmrules.cpp rulebookmodel.cpp)
|
2020-04-01 22:41:38 +00:00
|
|
|
target_link_libraries(kcm_kwinrules KWinRulesObjects)
|
KWinRules KCM Redesign
Summary:
Replacement KCM to configure kwin rules, using a QML-based UI.
After some work on the task T12729, it is almost feature-par with the previous module, and adapted to the recent move to KConfigXT.
Test Plan:
{F8208046}
{F8208047}
Reviewers: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Reviewed By: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Subscribers: ngraham, davidedmundson, hchain, broulik, zzag, kwin
Tags: #kwin, #vdg
Differential Revision: https://phabricator.kde.org/D28152
2020-04-20 20:01:55 +00:00
|
|
|
kcoreaddons_desktop_to_json(kcm_kwinrules "kcm_kwinrules.desktop" SERVICE_TYPES kcmodule.desktop)
|
2007-04-29 17:35:43 +00:00
|
|
|
|
KWinRules KCM Redesign
Summary:
Replacement KCM to configure kwin rules, using a QML-based UI.
After some work on the task T12729, it is almost feature-par with the previous module, and adapted to the recent move to KConfigXT.
Test Plan:
{F8208046}
{F8208047}
Reviewers: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Reviewed By: #plasma, #kwin, #vdg, ngraham, davidedmundson, zzag
Subscribers: ngraham, davidedmundson, hchain, broulik, zzag, kwin
Tags: #kwin, #vdg
Differential Revision: https://phabricator.kde.org/D28152
2020-04-20 20:01:55 +00:00
|
|
|
install(TARGETS kcm_kwinrules DESTINATION ${PLUGIN_INSTALL_DIR}/kcms)
|
|
|
|
install(FILES kcm_kwinrules.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
kpackage_install_package(package kcm_kwinrules kcms)
|