diff --git a/containments/homescreen/homescreen.cpp b/containments/homescreen/homescreen.cpp index f3c72f9a..f4d68994 100644 --- a/containments/homescreen/homescreen.cpp +++ b/containments/homescreen/homescreen.cpp @@ -42,6 +42,6 @@ void HomeScreen::stackAfter(QQuickItem *item1, QQuickItem *item2) item1->stackAfter(item2); } -K_EXPORT_PLASMA_APPLET_WITH_JSON(homescreen, HomeScreen, "metadata.json") +K_PLUGIN_CLASS_WITH_JSON(HomeScreen, "metadata.json") #include "homescreen.moc" diff --git a/containments/panel/phonepanel.cpp b/containments/panel/phonepanel.cpp index 06aab12f..79c7c657 100644 --- a/containments/panel/phonepanel.cpp +++ b/containments/panel/phonepanel.cpp @@ -202,6 +202,6 @@ bool PhonePanel::isSystem24HourFormat() return timeFormat == QStringLiteral(FORMAT24H); } -K_EXPORT_PLASMA_APPLET_WITH_JSON(quicksettings, PhonePanel, "metadata.json") +K_PLUGIN_CLASS_WITH_JSON(PhonePanel, "metadata.json") #include "phonepanel.moc" diff --git a/containments/taskpanel/taskpanel.cpp b/containments/taskpanel/taskpanel.cpp index e469f8c1..d7742ff2 100644 --- a/containments/taskpanel/taskpanel.cpp +++ b/containments/taskpanel/taskpanel.cpp @@ -206,6 +206,6 @@ void TaskPanel::closeActiveWindow() } } -K_EXPORT_PLASMA_APPLET_WITH_JSON(taskpanel, TaskPanel, "metadata.json") +K_PLUGIN_CLASS_WITH_JSON(TaskPanel, "metadata.json") #include "taskpanel.moc"