author | conber <conber> | 2002-06-20 17:19:56 (UTC) |
---|---|---|
committer | conber <conber> | 2002-06-20 17:19:56 (UTC) |
commit | 0996b7f1bcbdb05db00eadb0cdd60b2066cdd899 (patch) (unidiff) | |
tree | d2b3d8dc734c5957bb4ed86dbca80ce8e975a5e6 /noncore/unsupported/mail2/accounteditor.cpp | |
parent | e0eec50bf3992d95d7060af74fa98e9630abfa4e (diff) | |
download | opie-0996b7f1bcbdb05db00eadb0cdd60b2066cdd899.zip opie-0996b7f1bcbdb05db00eadb0cdd60b2066cdd899.tar.gz opie-0996b7f1bcbdb05db00eadb0cdd60b2066cdd899.tar.bz2 |
little usability improvement in accounteditor
Diffstat (limited to 'noncore/unsupported/mail2/accounteditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/mail2/accounteditor.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/noncore/unsupported/mail2/accounteditor.cpp b/noncore/unsupported/mail2/accounteditor.cpp index 8230a69..5d80693 100644 --- a/noncore/unsupported/mail2/accounteditor.cpp +++ b/noncore/unsupported/mail2/accounteditor.cpp | |||
@@ -4,2 +4,3 @@ | |||
4 | #include <qmessagebox.h> | 4 | #include <qmessagebox.h> |
5 | #include <qtoolbutton.h> | ||
5 | #include <qtabwidget.h> | 6 | #include <qtabwidget.h> |
@@ -8,2 +9,4 @@ | |||
8 | 9 | ||
10 | #include <qpe/resource.h> | ||
11 | |||
9 | #include "accounteditor.h" | 12 | #include "accounteditor.h" |
@@ -15,2 +18,6 @@ AccountEditor::AccountEditor(Account account, QWidget *parent, const char *name, | |||
15 | TabWidget2->removePage(sslTab); | 18 | TabWidget2->removePage(sslTab); |
19 | showPasswd->setPixmap(Resource::loadPixmap("mail/showpasswd")); | ||
20 | |||
21 | connect(showPasswd, SIGNAL(toggled(bool)), | ||
22 | SLOT(showPasswdToggled(bool))); | ||
16 | 23 | ||
@@ -19,2 +26,10 @@ AccountEditor::AccountEditor(Account account, QWidget *parent, const char *name, | |||
19 | 26 | ||
27 | void AccountEditor::showPasswdToggled(bool toggled) | ||
28 | { | ||
29 | if (toggled) | ||
30 | pass->setEchoMode(QLineEdit::Normal); | ||
31 | else | ||
32 | pass->setEchoMode(QLineEdit::Password); | ||
33 | } | ||
34 | |||
20 | void AccountEditor::accept() | 35 | void AccountEditor::accept() |