summaryrefslogtreecommitdiffstats
path: root/tdecore/tdenetworkconnections.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tdenetworkconnections.cpp')
-rw-r--r--tdecore/tdenetworkconnections.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tdecore/tdenetworkconnections.cpp b/tdecore/tdenetworkconnections.cpp
index 39899b131..67cca7f5f 100644
--- a/tdecore/tdenetworkconnections.cpp
+++ b/tdecore/tdenetworkconnections.cpp
@@ -21,6 +21,8 @@
#include "config.h"
+#include <klocale.h>
+
#ifdef WITH_NETWORK_MANAGER_BACKEND
#include "networkbackends/network-manager/network-manager.h"
#endif // WITH_NETWORK_MANAGER_BACKEND
@@ -474,6 +476,17 @@ TDENetworkWiFiAPInfo::~TDENetworkWiFiAPInfo() {
//
}
+TQString TDENetworkWiFiAPInfo::friendlySSID() {
+ TQString ret;
+
+ ret = TQString(SSID);
+ if (ret == "") {
+ ret = "<" + i18n("hidden") + ">";
+ }
+
+ return ret;
+}
+
/*================================================================================================*/
/* TDENetworkConnection */
/*================================================================================================*/