Changeset View
Changeset View
Standalone View
Standalone View
libs/models/networkmodelitem.cpp
Show First 20 Lines • Show All 550 Lines • ▼ Show 20 Line(s) | 549 | if (m_type == NetworkManager::ConnectionSettings::Wired) { | |||
---|---|---|---|---|---|
551 | if (wiredDevice) { | 551 | if (wiredDevice) { | ||
552 | if (m_connectionState == NetworkManager::ActiveConnection::Activated) { | 552 | if (m_connectionState == NetworkManager::ActiveConnection::Activated) { | ||
553 | m_details << i18n("Connection speed") << UiUtils::connectionSpeed(wiredDevice->bitRate()); | 553 | m_details << i18n("Connection speed") << UiUtils::connectionSpeed(wiredDevice->bitRate()); | ||
554 | } | 554 | } | ||
555 | m_details << i18n("MAC Address") << wiredDevice->permanentHardwareAddress(); | 555 | m_details << i18n("MAC Address") << wiredDevice->permanentHardwareAddress(); | ||
556 | } | 556 | } | ||
557 | } else if (m_type == NetworkManager::ConnectionSettings::Wireless) { | 557 | } else if (m_type == NetworkManager::ConnectionSettings::Wireless) { | ||
558 | NetworkManager::WirelessDevice::Ptr wirelessDevice = device.objectCast<NetworkManager::WirelessDevice>(); | 558 | NetworkManager::WirelessDevice::Ptr wirelessDevice = device.objectCast<NetworkManager::WirelessDevice>(); | ||
559 | m_details << i18n("Access point (SSID)") << m_ssid; | 559 | m_details << i18n("Access point (SSID)") << UiUtils::parseEmoticons(m_ssid); | ||
560 | if (m_mode == NetworkManager::WirelessSetting::Infrastructure) { | 560 | if (m_mode == NetworkManager::WirelessSetting::Infrastructure) { | ||
561 | m_details << i18n("Signal strength") << QStringLiteral("%1%").arg(m_signal); | 561 | m_details << i18n("Signal strength") << QStringLiteral("%1%").arg(m_signal); | ||
562 | } | 562 | } | ||
563 | if (m_connectionState == NetworkManager::ActiveConnection::Activated) { | 563 | if (m_connectionState == NetworkManager::ActiveConnection::Activated) { | ||
564 | m_details << i18n("Security type") << UiUtils::labelFromWirelessSecurity(m_securityType); | 564 | m_details << i18n("Security type") << UiUtils::labelFromWirelessSecurity(m_securityType); | ||
565 | } | 565 | } | ||
566 | if (wirelessDevice) { | 566 | if (wirelessDevice) { | ||
567 | if (m_connectionState == NetworkManager::ActiveConnection::Activated) { | 567 | if (m_connectionState == NetworkManager::ActiveConnection::Activated) { | ||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |