1
0
mirror of https://github.com/QRouland/UTPass.git synced 2026-01-10 19:36:57 +00:00

Refactor cloning feature and ui

This commit is contained in:
2025-01-17 10:40:54 +01:00
parent beaad58af2
commit c0757da47b
26 changed files with 805 additions and 385 deletions

View File

@@ -16,9 +16,6 @@ using namespace GpgME;
*
* This class provides functionalities for interacting with password storage, including
* storing, showing, importing, and deleting passwords securely using GPG encryption.
* It communicates asynchronously with GPG operations, using signals and slots to propagate results.
* The class interacts with the `Gpg` class to perform GPG key operations and provides an interface
* for the user to manage the passwords.
*/
class Pass : public QObject
{
@@ -82,6 +79,8 @@ signals:
*/
void getAllGPGKeysSucceed(QVariant keys_info);
/**
* @brief Emitted when retrieving GPG keys fails.
* @param message The error message describing the failure.
@@ -109,6 +108,11 @@ signals:
*/
void showFailed(QString message);
/**
* @brief Emitted hen showing a password cancelled.
*/
void showCancelled();
private:
QString m_password_store; /**< The path to the password store. */
std::unique_ptr<Gpg> m_gpg; /**< The GPG instance used for encryption/decryption. */
@@ -121,11 +125,6 @@ public:
*/
Pass();
/**
* @brief Destructor for cleaning up resources used by the Pass object.
*/
~Pass() override = default;
/**
* @brief Gets the path to the password store.
* @return The path to the password store.