2019-03-13 18:38:12 +00:00
|
|
|
#ifndef PASS_H
|
|
|
|
#define PASS_H
|
|
|
|
|
|
|
|
#include <QObject>
|
2019-03-23 19:53:02 +00:00
|
|
|
#include <memory>
|
2019-03-13 18:38:12 +00:00
|
|
|
|
2019-03-21 10:22:12 +00:00
|
|
|
class Pass : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
2019-03-23 19:53:02 +00:00
|
|
|
QString m_password_store;
|
2019-03-13 18:38:12 +00:00
|
|
|
|
2019-03-21 10:22:12 +00:00
|
|
|
public:
|
|
|
|
Pass();
|
|
|
|
~Pass() override = default;
|
2019-03-23 19:53:02 +00:00
|
|
|
Q_INVOKABLE bool gpgImportKeyFromFile(QString path);
|
|
|
|
Q_INVOKABLE QStringList gpgListAllKeys();
|
|
|
|
Q_INVOKABLE bool gpgSetGpghome(QString path);
|
2019-03-13 18:38:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|