mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-27 01:56:32 -05:00
Add hasKey() convenience methods.
This commit is contained in:
parent
876a75b572
commit
3ea0592b53
4 changed files with 12 additions and 0 deletions
|
|
@ -27,6 +27,11 @@ QList<QString> EntryAttachments::keys() const
|
|||
return m_attachments.keys();
|
||||
}
|
||||
|
||||
bool EntryAttachments::hasKey(const QString& key) const
|
||||
{
|
||||
return m_attachments.keys().contains(key);
|
||||
}
|
||||
|
||||
QList<QByteArray> EntryAttachments::values() const
|
||||
{
|
||||
return m_attachments.values();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue