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:
parent
b494efb23e
commit
e170c3be7d
5 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue