mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
fix: typo2
Change-Id: I2b1c9b1936becb74be46ca42fc764ba4a4ce87b4
This commit is contained in:
parent
a87911ce80
commit
9c37265713
@ -111,7 +111,7 @@ QSize PluginsItem::sizeHint() const
|
||||
|
||||
void PluginsItem::refershIcon()
|
||||
{
|
||||
m_pluginInter->refershIcon(m_itemKey);
|
||||
m_pluginInter->refreshIcon(m_itemKey);
|
||||
}
|
||||
|
||||
QWidget *PluginsItem::centralWidget() const
|
||||
|
@ -184,12 +184,12 @@ public:
|
||||
virtual void positionChanged(const Dock::Position position) {Q_UNUSED(position);}
|
||||
|
||||
///
|
||||
/// \brief refershIcon
|
||||
/// refersh item icon, its triggered when system icon theme changed.
|
||||
/// \brief refreshIcon
|
||||
/// refresh item icon, its triggered when system icon theme changed.
|
||||
/// \param itemKey
|
||||
/// item key
|
||||
///
|
||||
virtual void refershIcon(const QString &itemKey) { Q_UNUSED(itemKey); }
|
||||
virtual void refreshIcon(const QString &itemKey) { Q_UNUSED(itemKey); }
|
||||
|
||||
|
||||
protected:
|
||||
|
@ -75,7 +75,7 @@ void NetworkPlugin::invokedMenuItem(const QString &itemKey, const QString &menuI
|
||||
Q_UNREACHABLE();
|
||||
}
|
||||
|
||||
void NetworkPlugin::refershIcon(const QString &itemKey)
|
||||
void NetworkPlugin::refreshIcon(const QString &itemKey)
|
||||
{
|
||||
Q_UNUSED(itemKey);
|
||||
|
||||
|
@ -41,7 +41,7 @@ public:
|
||||
const QString pluginDisplayName() const;
|
||||
void init(PluginProxyInterface *proxyInter);
|
||||
void invokedMenuItem(const QString &itemKey, const QString &menuId, const bool checked);
|
||||
void refershIcon(const QString &itemKey);
|
||||
void refreshIcon(const QString &itemKey);
|
||||
void pluginStateSwitched();
|
||||
bool pluginIsAllowDisable() { return true; }
|
||||
bool pluginIsDisable();
|
||||
|
@ -112,7 +112,7 @@ const QString TrashPlugin::itemContextMenu(const QString &itemKey)
|
||||
return m_trashWidget->contextMenu();
|
||||
}
|
||||
|
||||
void TrashPlugin::refershIcon(const QString &itemKey)
|
||||
void TrashPlugin::refreshIcon(const QString &itemKey)
|
||||
{
|
||||
Q_UNUSED(itemKey);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
QWidget *itemPopupApplet(const QString &itemKey);
|
||||
const QString itemCommand(const QString &itemKey);
|
||||
const QString itemContextMenu(const QString &itemKey);
|
||||
void refershIcon(const QString &itemKey);
|
||||
void refreshIcon(const QString &itemKey);
|
||||
void invokedMenuItem(const QString &itemKey, const QString &menuId, const bool checked);
|
||||
|
||||
int itemSortKey(const QString &itemKey) override;
|
||||
|
@ -90,7 +90,7 @@ void SystemTrayItem::setActive(const bool active)
|
||||
|
||||
void SystemTrayItem::updateIcon()
|
||||
{
|
||||
m_pluginInter->refershIcon(m_itemKey);
|
||||
m_pluginInter->refreshIcon(m_itemKey);
|
||||
}
|
||||
|
||||
const QImage SystemTrayItem::trayImage()
|
||||
|
Loading…
x
Reference in New Issue
Block a user