Correct regression to ssh-agent from entry attachment refactor

This commit is contained in:
Jonathan White
2017-12-25 11:07:02 -05:00
committed by Janek Bevendorff
parent 497eb3c587
commit cc1ab94a4f
3 changed files with 29 additions and 6 deletions

View File

@@ -8,6 +8,7 @@ namespace Ui {
class EntryAttachmentsWidget;
}
class QByteArray;
class EntryAttachments;
class EntryAttachmentsModel;
@@ -24,6 +25,10 @@ public:
bool isReadOnly() const;
bool isButtonsVisible() const;
QByteArray getAttachment(const QString& name);
void setAttachment(const QString& name, const QByteArray& value);
void removeAttachment(const QString& name);
public slots:
void setEntryAttachments(const EntryAttachments* attachments);
void clearAttachments();