mirror of
https://github.com/QRouland/UTPass.git
synced 2026-01-10 19:36:57 +00:00
Add search password feature (equivalent to pass find)
This commit is contained in:
@@ -118,6 +118,9 @@ signals:
|
||||
*/
|
||||
void showSucceed(QString name, QString text);
|
||||
|
||||
|
||||
void lsSucceed(QList<QString>);
|
||||
|
||||
/**
|
||||
* @brief Emitted when showing a password fails.
|
||||
* @param message The error message describing the failure.
|
||||
@@ -160,6 +163,8 @@ private:
|
||||
*/
|
||||
void initPasswordStore();
|
||||
|
||||
void lsJob();
|
||||
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs the Pass object.
|
||||
@@ -229,6 +234,12 @@ public:
|
||||
|
||||
// Password store-related methods
|
||||
|
||||
/**
|
||||
* @brief Get the list of password.
|
||||
* @return The list of password in the password store.
|
||||
*/
|
||||
Q_INVOKABLE bool ls();
|
||||
|
||||
/**
|
||||
* @brief Launch the job to shows the password associated with the specified URL.
|
||||
* @param url The URL pointing to the password store entry.
|
||||
|
||||
Reference in New Issue
Block a user