testing password encryption

This commit is contained in:
2023-03-05 13:39:16 +01:00
parent 9d305b0b3b
commit 83ef43fab1
2 changed files with 60 additions and 15 deletions
+15 -7
View File
@@ -5,17 +5,25 @@
#include <qt5keychain/keychain.h>
#include <qt5keychain/qkeychain_export.h>
class password
class Password : QObject
{
password(QString);
public:
QString appName;
QKeychain::WritePasswordJob * passwdJob;
QKeychain::ReadPasswordJob * readPass;
MainWindow * mw;
QString password;
~password();
Password();
~Password();
void store(QString, QString);
void store(QString, QString);
QString read(QString);
bool remove(QString);
QString read(QString);
bool remove(QString);
private slots:
void finished(QKeychain::Job*);
void readReturn();
};
#endif // PASSWORD_H