Verified Commit b98dbd14 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

applet: Rename Handler's signal isScanningChanged

This is more conventional naming scheme for bool properties in Qt.

(cherry picked from commit 98cb73ac)
parent 6a16ae61
Pipeline #242378 passed with stage
in 1 minute and 46 seconds
......@@ -543,7 +543,7 @@ void Handler::incrementScansCount()
{
m_ongoingScansCount += 1;
if (m_ongoingScansCount == 1) {
Q_EMIT isScanningChanged();
Q_EMIT scanningChanged();
}
}
......@@ -555,7 +555,7 @@ void Handler::decrementScansCount()
}
m_ongoingScansCount -= 1;
if (m_ongoingScansCount == 0) {
Q_EMIT isScanningChanged();
Q_EMIT scanningChanged();
}
}
......
......@@ -40,7 +40,7 @@ public:
Q_PROPERTY(bool hotspotSupported READ hotspotSupported NOTIFY hotspotSupportedChanged)
// Not scientifically correct, but a good estimation of whether a scanning is currently in progress.
Q_PROPERTY(bool scanning READ isScanning NOTIFY isScanningChanged)
Q_PROPERTY(bool scanning READ isScanning NOTIFY scanningChanged)
public:
bool hotspotSupported() const
......@@ -135,7 +135,7 @@ Q_SIGNALS:
void hotspotCreated();
void hotspotDisabled();
void hotspotSupportedChanged(bool hotspotSupported);
void isScanningChanged();
void scanningChanged();
private:
void addAndActivateConnectionDBus(const NMVariantMapMap &map, const QString &device, const QString &specificObject);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment