Use K_PLUGIN_CLASS_WITH_JSON instead of K_EXPORT_KPACKAGE_PACKAGE_WITH_JSON

Task: https://phabricator.kde.org/T14542
This commit is contained in:
Alexander Lohnau 2021-06-19 07:11:40 +02:00
parent b494efb23e
commit e170c3be7d
No known key found for this signature in database
GPG key ID: 1F58708D54A003E7
5 changed files with 5 additions and 5 deletions

View file

@ -66,7 +66,7 @@ void AuroraePackage::pathChanged(KPackage::Package *package)
}
}
K_EXPORT_KPACKAGE_PACKAGE_WITH_JSON(AuroraePackage, "kwin-packagestructure-aurorae.json")
K_PLUGIN_CLASS_WITH_JSON(AuroraePackage, "kwin-packagestructure-aurorae.json")
#include "aurorae.moc"

View file

@ -43,7 +43,7 @@ void DecorationPackage::pathChanged(KPackage::Package *package)
}
}
K_EXPORT_KPACKAGE_PACKAGE_WITH_JSON(DecorationPackage, "kwin-packagestructure-decoration.json")
K_PLUGIN_CLASS_WITH_JSON(DecorationPackage, "kwin-packagestructure-decoration.json")
#include "decoration.moc"

View file

@ -45,6 +45,6 @@ void EffectPackageStructure::pathChanged(KPackage::Package *package)
package->addFileDefinition("mainscript", mainScript, i18n("Main Script File"));
}
K_EXPORT_KPACKAGE_PACKAGE_WITH_JSON(EffectPackageStructure, "kwin-packagestructure-effect.json")
K_PLUGIN_CLASS_WITH_JSON(EffectPackageStructure, "kwin-packagestructure-effect.json")
#include "effect.moc"

View file

@ -43,7 +43,7 @@ void ScriptsPackage::pathChanged(KPackage::Package *package)
}
}
K_EXPORT_KPACKAGE_PACKAGE_WITH_JSON(ScriptsPackage, "kwin-packagestructure-scripts.json")
K_PLUGIN_CLASS_WITH_JSON(ScriptsPackage, "kwin-packagestructure-scripts.json")
#include "scripts.moc"

View file

@ -43,7 +43,7 @@ void SwitcherPackage::pathChanged(KPackage::Package *package)
}
}
K_EXPORT_KPACKAGE_PACKAGE_WITH_JSON(SwitcherPackage, "kwin-packagestructure-windowswitcher.json")
K_PLUGIN_CLASS_WITH_JSON(SwitcherPackage, "kwin-packagestructure-windowswitcher.json")
#include "windowswitcher.moc"