mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
applets: Use K_PLUGIN_CLASS_WITH_JSON instead of K_EXPORT_PLASMA_APPLET_WITH_JSON
Task: https://phabricator.kde.org/T14542
This commit is contained in:
parent
7ef50d4af4
commit
bacfccd323
3 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue