fix: typo2

Change-Id: I2b1c9b1936becb74be46ca42fc764ba4a4ce87b4
This commit is contained in:
listenerri 2018-12-04 16:05:15 +08:00
parent a87911ce80
commit 9c37265713
7 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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:

View File

@ -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);

View File

@ -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();

View File

@ -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);

View File

@ -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;

View File

@ -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()