Use QSharedPointer instead of cloning YkChallengeResponseKey and make it a QObject to allow emitting signals

This commit is contained in:
Janek Bevendorff
2017-02-23 23:52:36 +01:00
parent e93e4a9931
commit 093fe5c7ef
9 changed files with 78 additions and 66 deletions

View File

@@ -25,7 +25,6 @@ class ChallengeResponseKey
public:
virtual ~ChallengeResponseKey() {}
virtual QByteArray rawKey() const = 0;
virtual ChallengeResponseKey* clone() const = 0;
virtual bool challenge(const QByteArray& challenge) = 0;
};