summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/wlan/keyedit.cpp
authorkergoth <kergoth>2003-04-15 02:35:50 (UTC)
committer kergoth <kergoth>2003-04-15 02:35:50 (UTC)
commit114383b92b066aa06bc6a3ed4e04e87baa0dc990 (patch) (unidiff)
tree48556717e33ca8c22a7ac274b1b05f03a3443b1f /noncore/settings/networksettings/wlan/keyedit.cpp
parentd2f7c238e852eb60fdcfe3e4024823480713e50e (diff)
downloadopie-114383b92b066aa06bc6a3ed4e04e87baa0dc990.zip
opie-114383b92b066aa06bc6a3ed4e04e87baa0dc990.tar.gz
opie-114383b92b066aa06bc6a3ed4e04e87baa0dc990.tar.bz2
Implement feature request. Only asterisk out the WEP key when the lineedit
does not have focus.
Diffstat (limited to 'noncore/settings/networksettings/wlan/keyedit.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/wlan/keyedit.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/wlan/keyedit.cpp b/noncore/settings/networksettings/wlan/keyedit.cpp
new file mode 100644
index 0000000..ad9ecae
--- a/dev/null
+++ b/noncore/settings/networksettings/wlan/keyedit.cpp
@@ -0,0 +1,21 @@
1#include "keyedit.h"
2#include <qlineedit.h>
3
4KeyEdit::KeyEdit(QWidget* parent, const char* name) :
5 QLineEdit(parent, name)
6{
7}
8
9KeyEdit::~KeyEdit()
10{
11}
12
13void KeyEdit::focusInEvent(QFocusEvent *event)
14{
15 setEchoMode(Normal);
16}
17
18void KeyEdit::focusOutEvent(QFocusEvent *event)
19{
20 setEchoMode(Password);
21}