From d32f9be5afcf9a89b5487845921a7803bdaa525f Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Sun, 2 Apr 2023 09:16:14 +0200 Subject: [PATCH] plugins/kpackage: Rename metadata json files Having them this long and the cpp file very short doesn't really make sense. Also, we no longer install those files, but embed then in the C++ plugins --- src/plugins/kpackage/aurorae/aurorae.cpp | 2 +- .../{kwin-packagestructure-aurorae.json => aurorae.json} | 0 src/plugins/kpackage/decoration/decoration.cpp | 2 +- .../{kwin-packagestructure-decoration.json => decoration.json} | 0 src/plugins/kpackage/effect/effect.cpp | 2 +- .../effect/{kwin-packagestructure-effect.json => effect.json} | 0 src/plugins/kpackage/scripts/scripts.cpp | 2 +- .../{kwin-packagestructure-scripts.json => scripts.json} | 0 src/plugins/kpackage/windowswitcher/windowswitcher.cpp | 2 +- ...packagestructure-windowswitcher.json => windowswitcher.json} | 0 10 files changed, 5 insertions(+), 5 deletions(-) rename src/plugins/kpackage/aurorae/{kwin-packagestructure-aurorae.json => aurorae.json} (100%) rename src/plugins/kpackage/decoration/{kwin-packagestructure-decoration.json => decoration.json} (100%) rename src/plugins/kpackage/effect/{kwin-packagestructure-effect.json => effect.json} (100%) rename src/plugins/kpackage/scripts/{kwin-packagestructure-scripts.json => scripts.json} (100%) rename src/plugins/kpackage/windowswitcher/{kwin-packagestructure-windowswitcher.json => windowswitcher.json} (100%) diff --git a/src/plugins/kpackage/aurorae/aurorae.cpp b/src/plugins/kpackage/aurorae/aurorae.cpp index 300645f656..0cbcde8f58 100644 --- a/src/plugins/kpackage/aurorae/aurorae.cpp +++ b/src/plugins/kpackage/aurorae/aurorae.cpp @@ -43,6 +43,6 @@ public: } }; -K_PLUGIN_CLASS_WITH_JSON(AuroraePackage, "kwin-packagestructure-aurorae.json") +K_PLUGIN_CLASS_WITH_JSON(AuroraePackage, "aurorae.json") #include "aurorae.moc" diff --git a/src/plugins/kpackage/aurorae/kwin-packagestructure-aurorae.json b/src/plugins/kpackage/aurorae/aurorae.json similarity index 100% rename from src/plugins/kpackage/aurorae/kwin-packagestructure-aurorae.json rename to src/plugins/kpackage/aurorae/aurorae.json diff --git a/src/plugins/kpackage/decoration/decoration.cpp b/src/plugins/kpackage/decoration/decoration.cpp index e4757cc1dc..a95404b211 100644 --- a/src/plugins/kpackage/decoration/decoration.cpp +++ b/src/plugins/kpackage/decoration/decoration.cpp @@ -41,6 +41,6 @@ public: } }; -K_PLUGIN_CLASS_WITH_JSON(DecorationPackage, "kwin-packagestructure-decoration.json") +K_PLUGIN_CLASS_WITH_JSON(DecorationPackage, "decoration.json") #include "decoration.moc" diff --git a/src/plugins/kpackage/decoration/kwin-packagestructure-decoration.json b/src/plugins/kpackage/decoration/decoration.json similarity index 100% rename from src/plugins/kpackage/decoration/kwin-packagestructure-decoration.json rename to src/plugins/kpackage/decoration/decoration.json diff --git a/src/plugins/kpackage/effect/effect.cpp b/src/plugins/kpackage/effect/effect.cpp index 0a26dce538..6c2044b4d4 100644 --- a/src/plugins/kpackage/effect/effect.cpp +++ b/src/plugins/kpackage/effect/effect.cpp @@ -43,6 +43,6 @@ public: } }; -K_PLUGIN_CLASS_WITH_JSON(EffectPackageStructure, "kwin-packagestructure-effect.json") +K_PLUGIN_CLASS_WITH_JSON(EffectPackageStructure, "effect.json") #include "effect.moc" diff --git a/src/plugins/kpackage/effect/kwin-packagestructure-effect.json b/src/plugins/kpackage/effect/effect.json similarity index 100% rename from src/plugins/kpackage/effect/kwin-packagestructure-effect.json rename to src/plugins/kpackage/effect/effect.json diff --git a/src/plugins/kpackage/scripts/scripts.cpp b/src/plugins/kpackage/scripts/scripts.cpp index 7c63b3deed..20f52fe34b 100644 --- a/src/plugins/kpackage/scripts/scripts.cpp +++ b/src/plugins/kpackage/scripts/scripts.cpp @@ -41,6 +41,6 @@ public: } }; -K_PLUGIN_CLASS_WITH_JSON(ScriptsPackage, "kwin-packagestructure-scripts.json") +K_PLUGIN_CLASS_WITH_JSON(ScriptsPackage, "scripts.json") #include "scripts.moc" diff --git a/src/plugins/kpackage/scripts/kwin-packagestructure-scripts.json b/src/plugins/kpackage/scripts/scripts.json similarity index 100% rename from src/plugins/kpackage/scripts/kwin-packagestructure-scripts.json rename to src/plugins/kpackage/scripts/scripts.json diff --git a/src/plugins/kpackage/windowswitcher/windowswitcher.cpp b/src/plugins/kpackage/windowswitcher/windowswitcher.cpp index 8e10066108..8b6c11f5d8 100644 --- a/src/plugins/kpackage/windowswitcher/windowswitcher.cpp +++ b/src/plugins/kpackage/windowswitcher/windowswitcher.cpp @@ -41,6 +41,6 @@ public: } }; -K_PLUGIN_CLASS_WITH_JSON(SwitcherPackage, "kwin-packagestructure-windowswitcher.json") +K_PLUGIN_CLASS_WITH_JSON(SwitcherPackage, "windowswitcher.json") #include "windowswitcher.moc" diff --git a/src/plugins/kpackage/windowswitcher/kwin-packagestructure-windowswitcher.json b/src/plugins/kpackage/windowswitcher/windowswitcher.json similarity index 100% rename from src/plugins/kpackage/windowswitcher/kwin-packagestructure-windowswitcher.json rename to src/plugins/kpackage/windowswitcher/windowswitcher.json