From c2fdc440ca6de61fe15a7bb041f219f74e9ae421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= Date: Tue, 16 Apr 2024 02:26:27 +0300 Subject: [PATCH] Port kcm desktop to json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Björn Bidar --- CMakeLists.txt | 1 + kcm_krunner_pass.json | 12 ++++++++++++ plasma-runner-pass_config.desktop | 8 -------- 3 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 kcm_krunner_pass.json delete mode 100644 plasma-runner-pass_config.desktop diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ef7368..45a55b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,6 +86,7 @@ target_link_libraries(kcm_krunner_pass KF${KF_MAJOR_VERSION}::Runner KF${KF_MAJOR_VERSION}::KCMUtils ) +kcmutils_generate_desktop_file(kcm_krunner_pass) add_library(krunner_pass MODULE ${krunner_pass_SRCS}) target_link_libraries(krunner_pass KF${KF_MAJOR_VERSION}::Runner Qt${QT_MAJOR_VERSION}::Widgets diff --git a/kcm_krunner_pass.json b/kcm_krunner_pass.json new file mode 100644 index 0000000..e7cff94 --- /dev/null +++ b/kcm_krunner_pass.json @@ -0,0 +1,12 @@ +{ + "KPlugin": { + "Name": "Pass", + "ServiceTypes": [ + "KCModule" + ] + }, + "X-KDE-ParentComponents": [ + "Pass" + ], + "X-KDE-PluginKeyword": "kcm_krunner_pass" +} diff --git a/plasma-runner-pass_config.desktop b/plasma-runner-pass_config.desktop deleted file mode 100644 index c3233c5..0000000 --- a/plasma-runner-pass_config.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Type=Service -X-KDE-ServiceTypes=KCModule -X-KDE-Library=kcm_krunner_pass -X-KDE-ParentComponents=Pass -X-KDE-PluginKeyword=kcm_krunner_pass - -Name=Pass