refact!: change property IconName to Icons

Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe
2023-08-29 13:28:25 +08:00
committed by Comix
parent 26a0b67157
commit 64454bd149
5 changed files with 4 additions and 71 deletions

View File

@ -248,7 +248,7 @@ PropMap ApplicationService::displayName() const noexcept
return ret;
}
PropMap ApplicationService::iconName() const noexcept
PropMap ApplicationService::icons() const noexcept
{
PropMap ret;
auto actionList = actions();
@ -283,19 +283,6 @@ qulonglong ApplicationService::lastLaunchedTime() const noexcept
return m_lastLaunch;
}
IconMap ApplicationService::icons() const
{
if (m_Icons) {
return m_Icons->icons();
}
return {};
}
IconMap &ApplicationService::iconsRef()
{
return m_Icons->iconsRef();
}
bool ApplicationService::isAutoStart() const noexcept
{
return m_AutoStart;