diff options
author | Aetf <aetf@unlimitedcodeworks.xyz> | 2019-02-21 08:51:23 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2019-05-12 19:35:42 +0300 |
commit | d93f33f51417ed6e1d3e5112a52a7d0c2b9c454e (patch) | |
tree | 5851e886d5e100e9b22dbdcf981b75f900c8a82f /src/gui/DatabaseWidget.h | |
parent | bc891761b6d15345f240e79c7439b27869d94871 (diff) |
Improve existing code prior to implementing FDO Secrets
* DatabaseTabWidget::newDatabase returns the created DatabaseWidget
* Emit DatabaseTabWidget::databaseOpened signal before a new tab is added
* EntrySearcher can now search attribute values including custom ones
* Add Group::applyGroupIconTo to set the group icon on the supplied entry
* Implement desktop notifications through the system tray icon
* Add DatabaseWidget::deleteEntries to delete a list of entries
* Add Aes128 in SymmetricCipher::algorithmIvSize
* Add DatabaseWidget::databaseReplaced signal
* Add a helper class to override the message box's parent (prevent bugs)
Diffstat (limited to 'src/gui/DatabaseWidget.h')
-rw-r--r-- | src/gui/DatabaseWidget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/DatabaseWidget.h b/src/gui/DatabaseWidget.h index fb9cf817e..7e012d2c3 100644 --- a/src/gui/DatabaseWidget.h +++ b/src/gui/DatabaseWidget.h @@ -125,6 +125,9 @@ signals: void databaseUnlocked(); void databaseLocked(); + // Emitted in replaceDatabase, may be caused by lock, reload, unlock, load. + void databaseReplaced(const QSharedPointer<Database>& oldDb, const QSharedPointer<Database>& newDb); + void closeRequest(); void currentModeChanged(DatabaseWidget::Mode mode); void groupChanged(); @@ -151,6 +154,7 @@ public slots: void createEntry(); void cloneEntry(); void deleteSelectedEntries(); + void deleteEntries(QList<Entry*> entries); void setFocus(); void copyTitle(); void copyUsername(); @@ -223,7 +227,6 @@ private slots: private: int addChildWidget(QWidget* w); void setClipboardTextAndMinimize(const QString& text); - void setIconFromParent(); void processAutoOpen(); bool confirmDeleteEntries(QList<Entry*> entries, bool permanent); |