From 6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 28 Nov 2018 00:04:05 +0900 Subject: Adapted to new KPasswordEdit::password() signature. This relates to bug 2961. Signed-off-by: Michele Calgaro --- tdepasswd/passwddlg.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tdepasswd/passwddlg.h') 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; }; -- cgit v1.2.3