author | alwin <alwin> | 2004-03-05 13:14:20 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-03-05 13:14:20 (UTC) |
commit | 5af6bb27d2ba6a1d00fd0a6df0550d02164f87e6 (patch) (side-by-side diff) | |
tree | 8172212622ad2105138e8d6e5bf7c7b6009b9e4f /noncore/net/mail/libmailwrapper/logindialog.h | |
parent | 5604399762f55e1b2709cd12d3d894666d19ae99 (diff) | |
download | opie-5af6bb27d2ba6a1d00fd0a6df0550d02164f87e6.zip opie-5af6bb27d2ba6a1d00fd0a6df0550d02164f87e6.tar.gz opie-5af6bb27d2ba6a1d00fd0a6df0550d02164f87e6.tar.bz2 |
moved string parameters for construktor to const references
possible problem with not initialized variables fixed
Diffstat (limited to 'noncore/net/mail/libmailwrapper/logindialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/logindialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/logindialog.h b/noncore/net/mail/libmailwrapper/logindialog.h index 7a0d1b0..f406f2c 100644 --- a/noncore/net/mail/libmailwrapper/logindialog.h +++ b/noncore/net/mail/libmailwrapper/logindialog.h @@ -1,23 +1,23 @@ #ifndef LOGINDIALOG_H #define LOGINDIALOG_H #include "logindialogui.h" class LoginDialog : public LoginDialogUI { Q_OBJECT public: - LoginDialog( QString user, QString pass, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); + LoginDialog(const QString&user,const QString&pass, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); QString getUser() { return _user; } QString getPassword() { return _pass; } protected slots: void accept(); private: QString _user, _pass; }; #endif |