diff options
Diffstat (limited to 'knetworkmanager-0.8/src/knetworkmanager-wireless_menuitem.cpp')
-rw-r--r-- | knetworkmanager-0.8/src/knetworkmanager-wireless_menuitem.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/knetworkmanager-0.8/src/knetworkmanager-wireless_menuitem.cpp b/knetworkmanager-0.8/src/knetworkmanager-wireless_menuitem.cpp index e9157f3..6426474 100644 --- a/knetworkmanager-0.8/src/knetworkmanager-wireless_menuitem.cpp +++ b/knetworkmanager-0.8/src/knetworkmanager-wireless_menuitem.cpp @@ -94,20 +94,20 @@ TQString WirelessNetworkItem::getDisplayText() { TQString security = ""; if (_net.getWpaFlags() != NM_802_11_AP_SEC_NONE && _net.getRsnFlags() != NM_802_11_AP_SEC_NONE) - security = TQString("(%1/%2)").tqarg(i18n("WPA")).tqarg(i18n("RSN")); + security = TQString("(%1/%2)").arg(i18n("WPA")).arg(i18n("RSN")); else if (_net.getWpaFlags() != NM_802_11_AP_SEC_NONE) - security = TQString("(%1)").tqarg(i18n("WPA")); + security = TQString("(%1)").arg(i18n("WPA")); else if (_net.getRsnFlags() != NM_802_11_AP_SEC_NONE) - security = TQString("(%2)").tqarg(i18n("RSN")); + security = TQString("(%2)").arg(i18n("RSN")); Info* info = NULL; if (_conn) info = _conn->getInfoSetting(); if (info && info->getName() != _net.getDisplaySsid()) - return TQString("%2/%1 %3").tqarg(TQString::fromUtf8(_net.getDisplaySsid())).tqarg(info->getName()).tqarg(security); + return TQString("%2/%1 %3").arg(TQString::fromUtf8(_net.getDisplaySsid())).arg(info->getName()).arg(security); else - return TQString("%1 %2").tqarg(TQString::fromUtf8(_net.getDisplaySsid())).tqarg(security); + return TQString("%1 %2").arg(TQString::fromUtf8(_net.getDisplaySsid())).arg(security); } void |