mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
Fix some typos: *Chanegd -> *Changed
Change-Id: I81970f0c3b6abe46a672e8f49936a9d2f0263d64
This commit is contained in:
parent
c71600e578
commit
cad692b40a
Notes:
Deepin Code Review
2017-02-08 16:57:32 +08:00
Code-Review+2: 石博文 <sbw@sbw.so> Verified+1: Anonymous Coward #1000004 Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Wed, 08 Feb 2017 16:57:30 +0800 Reviewed-on: https://cr.deepin.io/19992 Project: dde/dde-dock Branch: refs/heads/master
@ -97,7 +97,7 @@ DockSettings::DockSettings(QWidget *parent)
|
||||
connect(m_dockInter, &DBusDock::IconSizeChanged, this, &DockSettings::iconSizeChanged);
|
||||
connect(m_dockInter, &DBusDock::DisplayModeChanged, this, &DockSettings::displayModeChanged);
|
||||
connect(m_dockInter, &DBusDock::HideModeChanged, this, &DockSettings::hideModeChanged, Qt::QueuedConnection);
|
||||
connect(m_dockInter, &DBusDock::HideStateChanged, this, &DockSettings::hideStateChanegd);
|
||||
connect(m_dockInter, &DBusDock::HideStateChanged, this, &DockSettings::hideStateChanged);
|
||||
connect(m_dockInter, &DBusDock::ServiceRestarted, this, &DockSettings::resetFrontendGeometry);
|
||||
|
||||
connect(m_itemController, &DockItemController::itemInserted, this, &DockSettings::dockItemCountChanged, Qt::QueuedConnection);
|
||||
@ -321,7 +321,7 @@ void DockSettings::hideModeChanged()
|
||||
emit windowHideModeChanged();
|
||||
}
|
||||
|
||||
void DockSettings::hideStateChanegd()
|
||||
void DockSettings::hideStateChanged()
|
||||
{
|
||||
const Dock::HideState state = Dock::HideState(m_dockInter->hideState());
|
||||
|
||||
@ -330,7 +330,7 @@ void DockSettings::hideStateChanegd()
|
||||
|
||||
m_hideState = state;
|
||||
|
||||
emit windowVisibleChanegd();
|
||||
emit windowVisibleChanged();
|
||||
}
|
||||
|
||||
void DockSettings::dockItemCountChanged()
|
||||
|
@ -69,7 +69,7 @@ signals:
|
||||
void dataChanged() const;
|
||||
void positionChanged(const Position prevPosition) const;
|
||||
void autoHideChanged(const bool autoHide) const;
|
||||
void windowVisibleChanegd() const;
|
||||
void windowVisibleChanged() const;
|
||||
void windowHideModeChanged() const;
|
||||
void windowGeometryChanged() const;
|
||||
|
||||
@ -83,7 +83,7 @@ private slots:
|
||||
void iconSizeChanged();
|
||||
void displayModeChanged();
|
||||
void hideModeChanged();
|
||||
void hideStateChanegd();
|
||||
void hideStateChanged();
|
||||
void dockItemCountChanged();
|
||||
void primaryScreenChanged();
|
||||
void resetFrontendGeometry();
|
||||
|
@ -151,7 +151,7 @@ void MainWindow::initConnections()
|
||||
connect(m_settings, &DockSettings::windowGeometryChanged, this, &MainWindow::updateGeometry, Qt::DirectConnection);
|
||||
connect(m_settings, &DockSettings::windowHideModeChanged, this, &MainWindow::setStrutPartial, Qt::QueuedConnection);
|
||||
connect(m_settings, &DockSettings::windowHideModeChanged, [this] { resetPanelEnvironment(true); });
|
||||
connect(m_settings, &DockSettings::windowVisibleChanegd, this, &MainWindow::updatePanelVisible, Qt::QueuedConnection);
|
||||
connect(m_settings, &DockSettings::windowVisibleChanged, this, &MainWindow::updatePanelVisible, Qt::QueuedConnection);
|
||||
connect(m_settings, &DockSettings::autoHideChanged, this, &MainWindow::updatePanelVisible);
|
||||
|
||||
connect(m_mainPanel, &MainPanel::requestRefershWindowVisible, this, &MainWindow::updatePanelVisible, Qt::QueuedConnection);
|
||||
|
@ -62,7 +62,7 @@ WirelessList::WirelessList(const QSet<NetworkDevice>::const_iterator &deviceIter
|
||||
connect(m_networkInter, &DBusNetwork::AccessPointAdded, this, &WirelessList::APAdded);
|
||||
connect(m_networkInter, &DBusNetwork::AccessPointRemoved, this, &WirelessList::APRemoved);
|
||||
connect(m_networkInter, &DBusNetwork::AccessPointPropertiesChanged, this, &WirelessList::APPropertiesChanged);
|
||||
connect(m_networkInter, &DBusNetwork::DevicesChanged, this, &WirelessList::deviceStateChanegd);
|
||||
connect(m_networkInter, &DBusNetwork::DevicesChanged, this, &WirelessList::deviceStateChanged);
|
||||
connect(m_networkInter, &DBusNetwork::NeedSecrets, this, &WirelessList::needSecrets);
|
||||
connect(m_networkInter, &DBusNetwork::DeviceEnabled, this, &WirelessList::deviceEnabled);
|
||||
|
||||
@ -104,7 +104,7 @@ void WirelessList::init()
|
||||
{
|
||||
loadAPList();
|
||||
onActiveAPChanged();
|
||||
deviceStateChanegd();
|
||||
deviceStateChanged();
|
||||
}
|
||||
|
||||
void WirelessList::APAdded(const QString &devPath, const QString &info)
|
||||
@ -250,7 +250,7 @@ void WirelessList::deviceEnableChanged(const bool enable)
|
||||
m_updateAPTimer->start();
|
||||
}
|
||||
|
||||
void WirelessList::deviceStateChanegd()
|
||||
void WirelessList::deviceStateChanged()
|
||||
{
|
||||
const QJsonDocument doc = QJsonDocument::fromJson(m_networkInter->devices().toUtf8());
|
||||
Q_ASSERT(doc.isObject());
|
||||
|
@ -41,7 +41,7 @@ private slots:
|
||||
void APPropertiesChanged(const QString &devPath, const QString &info);
|
||||
void updateAPList();
|
||||
void deviceEnableChanged(const bool enable);
|
||||
void deviceStateChanegd();
|
||||
void deviceStateChanged();
|
||||
void onActiveAPChanged();
|
||||
void pwdDialogAccepted();
|
||||
void pwdDialogCanceled();
|
||||
|
@ -125,7 +125,7 @@ void SoundApplet::onVolumeChanged()
|
||||
const bool mute = m_defSinkInter->mute();
|
||||
|
||||
m_volumeSlider->setValue(std::min(1000.0, volmue * 1000));
|
||||
emit volumeChanegd(m_volumeSlider->value());
|
||||
emit volumeChanged(m_volumeSlider->value());
|
||||
|
||||
QString volumeString;
|
||||
if (mute)
|
||||
|
@ -23,7 +23,7 @@ public:
|
||||
VolumeSlider *mainSlider();
|
||||
|
||||
signals:
|
||||
void volumeChanegd(const int value) const;
|
||||
void volumeChanged(const int value) const;
|
||||
void defaultSinkChanged(DBusSink *sink) const;
|
||||
|
||||
private slots:
|
||||
|
@ -29,7 +29,7 @@ SoundItem::SoundItem(QWidget *parent)
|
||||
m_applet->setVisible(false);
|
||||
|
||||
connect(m_applet, static_cast<void (SoundApplet::*)(DBusSink*) const>(&SoundApplet::defaultSinkChanged), this, &SoundItem::sinkChanged);
|
||||
connect(m_applet, &SoundApplet::volumeChanegd, this, &SoundItem::refershTips);
|
||||
connect(m_applet, &SoundApplet::volumeChanged, this, &SoundItem::refershTips);
|
||||
}
|
||||
|
||||
QWidget *SoundItem::tipsWidget()
|
||||
|
Loading…
x
Reference in New Issue
Block a user