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)
This commit is contained in:
Aetf 2019-02-21 00:51:23 -05:00 committed by Jonathan White
parent bc891761b6
commit d93f33f514
15 changed files with 154 additions and 30 deletions

View file

@ -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);