diff options
author | Michele Calgaro <[email protected]> | 2018-11-28 00:04:05 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-11-28 00:04:05 +0900 |
commit | 6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b (patch) | |
tree | 154aa555033fe887b9b56d8a559000c89b166f1e /tdepasswd/passwddlg.h | |
parent | 3c2da5f0e188e1f1152da840bdf8d94ceb509671 (diff) | |
download | tdebase-6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b.tar.gz tdebase-6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b.zip |
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdepasswd/passwddlg.h')
-rw-r--r-- | tdepasswd/passwddlg.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdepasswd/passwddlg.h b/tdepasswd/passwddlg.h index 88d3be2da..1fef792a4 100644 --- a/tdepasswd/passwddlg.h +++ b/tdepasswd/passwddlg.h @@ -20,10 +20,10 @@ public: TDEpasswd1Dialog(); ~TDEpasswd1Dialog(); - static int getPassword(TQCString &password); + static int getPassword(TQString &password); protected: - bool checkPassword(const char *password); + bool checkPassword(const TQString &password); }; @@ -33,15 +33,15 @@ class TDEpasswd2Dialog Q_OBJECT public: - TDEpasswd2Dialog(const char *oldpass, TQCString user); + TDEpasswd2Dialog(const TQString &oldpass, const TQString &user); ~TDEpasswd2Dialog(); protected: - bool checkPassword(const char *password); + bool checkPassword(const TQString &password); private: - const char *m_Pass; - TQCString m_User; + TQString m_Pass; + TQString m_User; }; |