templates: Use K_PLUGIN_CLASS_WITH_JSON directly

Task: https://phabricator.kde.org/T14542
This commit is contained in:
Alexander Lohnau 2021-06-18 21:57:19 +02:00
parent 3c84e6ae81
commit 094f82f9b4

View File

@ -21,6 +21,6 @@ QString %{APPNAME}::nativeText() const
return m_nativeText; return m_nativeText;
} }
K_EXPORT_PLASMA_APPLET_WITH_JSON(%{APPNAMELC}, %{APPNAME}, "metadata.json") K_PLUGIN_CLASS_WITH_JSON(%{APPNAME}, "metadata.json")
#include "%{APPNAMELC}.moc" #include "%{APPNAMELC}.moc"