summaryrefslogtreecommitdiffstats
path: root/tdepasswd/passwddlg.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-11-28 00:04:05 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-11-28 00:04:05 +0900
commit6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b (patch)
tree154aa555033fe887b9b56d8a559000c89b166f1e /tdepasswd/passwddlg.h
parent3c2da5f0e188e1f1152da840bdf8d94ceb509671 (diff)
downloadtdebase-6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b.tar.gz
tdebase-6ae10fc66ed3c35e98e49bac8bf6670f0a9e2d6b.zip
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdepasswd/passwddlg.h')
-rw-r--r--tdepasswd/passwddlg.h12
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;
};