testing password encryption
This commit is contained in:
+15
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user