author | alwin <alwin> | 2004-01-04 02:08:40 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-04 02:08:40 (UTC) |
commit | 5573d6606b5243890fd00bf858ed21a87f00bfc4 (patch) (unidiff) | |
tree | 497e355c87a9eb42a1fbc3c40dbb1ff1d8839653 /noncore/net/mail/logindialog.cpp | |
parent | 16d8d88dc09477d871f92d283aa59c8206456a26 (diff) | |
download | opie-5573d6606b5243890fd00bf858ed21a87f00bfc4.zip opie-5573d6606b5243890fd00bf858ed21a87f00bfc4.tar.gz opie-5573d6606b5243890fd00bf858ed21a87f00bfc4.tar.bz2 |
moved to shared lib
Diffstat (limited to 'noncore/net/mail/logindialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/logindialog.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/noncore/net/mail/logindialog.cpp b/noncore/net/mail/logindialog.cpp deleted file mode 100644 index d2c6a07..0000000 --- a/noncore/net/mail/logindialog.cpp +++ b/dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | #include <qlineedit.h> | ||
2 | |||
3 | #include "logindialog.h" | ||
4 | |||
5 | LoginDialog::LoginDialog( QString user, QString pass, QWidget *parent, const char *name, bool modal, WFlags flags ) | ||
6 | : LoginDialogUI( parent, name, modal, flags ) | ||
7 | { | ||
8 | userLine->setText( user ); | ||
9 | passLine->setText( pass ); | ||
10 | _user = user; | ||
11 | _pass = pass; | ||
12 | |||
13 | if ( user.isEmpty() ) { | ||
14 | userLine->setFocus(); | ||
15 | } else { | ||
16 | passLine->setFocus(); | ||
17 | } | ||
18 | } | ||
19 | |||
20 | void LoginDialog::accept() | ||
21 | { | ||
22 | _user.replace( 0, _user.length(), userLine->text() ); | ||
23 | _pass.replace( 0, _pass.length(), passLine->text() ); | ||
24 | |||
25 | QDialog::accept(); | ||
26 | } | ||