Merge branch 'up-dbus' into 'dbus-interface'
signal add parameter See merge request kylin-desktop/kylin-nm!354
This commit is contained in:
commit
a42b981567
|
@ -98,7 +98,7 @@ Q_SIGNALS: // SIGNALS
|
||||||
void deactivateFailed(QString errorMessage);
|
void deactivateFailed(QString errorMessage);
|
||||||
//设备插拔
|
//设备插拔
|
||||||
void deviceStatusChanged();
|
void deviceStatusChanged();
|
||||||
void deviceNameChanged(QString oldName, QString newName);
|
void deviceNameChanged(QString oldName, QString newName, int type);
|
||||||
//热点断开
|
//热点断开
|
||||||
void hotspotDeactivated(QString devName, QString ssid);
|
void hotspotDeactivated(QString devName, QString ssid);
|
||||||
//热点连接
|
//热点连接
|
||||||
|
|
|
@ -60,7 +60,7 @@ signals:
|
||||||
//设备插拔
|
//设备插拔
|
||||||
void deviceStatusChanged();
|
void deviceStatusChanged();
|
||||||
//设备名称变化
|
//设备名称变化
|
||||||
void deviceNameChanged(QString oldName, QString newName);
|
void deviceNameChanged(QString oldName, QString newName, int type);
|
||||||
//有线无线列表更新(有线增删、无线增加减少)
|
//有线无线列表更新(有线增删、无线增加减少)
|
||||||
void lanAdd(QString devName, QStringList info);
|
void lanAdd(QString devName, QStringList info);
|
||||||
void lanRemove(QString dbusPath);
|
void lanRemove(QString dbusPath);
|
||||||
|
|
|
@ -675,7 +675,7 @@ void LanPage::onDeviceNameUpdate(QString oldName, QString newName)
|
||||||
initLanArea();
|
initLanArea();
|
||||||
}
|
}
|
||||||
|
|
||||||
emit deviceNameChanged(oldName, newName);
|
emit deviceNameChanged(oldName, newName, WIRED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@ public:
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void deviceStatusChanged();
|
void deviceStatusChanged();
|
||||||
void deviceNameChanged(QString oldName, QString newName);
|
void deviceNameChanged(QString oldName, QString newName, int type);
|
||||||
void activateFailed(QString errorMessage);
|
void activateFailed(QString errorMessage);
|
||||||
void deactivateFailed(QString errorMessage);
|
void deactivateFailed(QString errorMessage);
|
||||||
|
|
||||||
|
|
|
@ -715,7 +715,7 @@ void WlanPage::onDeviceNameUpdate(QString oldName, QString newName)
|
||||||
initWlanArea();
|
initWlanArea();
|
||||||
}
|
}
|
||||||
|
|
||||||
emit deviceNameChanged(oldName, newName);
|
emit deviceNameChanged(oldName, newName, WIRELESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WlanPage::sendApStateChangeSignal(QString uuid,
|
void WlanPage::sendApStateChangeSignal(QString uuid,
|
||||||
|
|
Loading…
Reference in New Issue