Add support for working with multiple entry attachments at once

This commit is contained in:
frostasm
2017-10-22 21:15:25 +03:00
parent 2987895370
commit f34b090b42
6 changed files with 265 additions and 72 deletions

View File

@@ -80,11 +80,12 @@ private slots:
void updateCurrentAttribute();
void protectCurrentAttribute(bool state);
void revealCurrentAttribute();
void insertAttachment();
void saveCurrentAttachment();
void insertAttachments();
void saveSelectedAttachment();
void saveSelectedAttachments();
void openAttachment(const QModelIndex& index);
void openCurrentAttachment();
void removeCurrentAttachment();
void openSelectedAttachments();
void removeSelectedAttachments();
void updateAutoTypeEnabled();
void insertAutoTypeAssoc();
void removeAutoTypeAssoc();
@@ -117,6 +118,8 @@ private:
void displayAttribute(QModelIndex index, bool showProtected);
bool openAttachment(const QModelIndex& index, QString *errorMessage);
Entry* m_entry;
Database* m_database;