Add hasKey() convenience methods.

This commit is contained in:
Felix Geyer 2014-12-03 23:36:24 +01:00
parent 876a75b572
commit 3ea0592b53
4 changed files with 12 additions and 0 deletions

View file

@ -36,6 +36,11 @@ QList<QString> EntryAttributes::keys() const
return m_attributes.keys();
}
bool EntryAttributes::hasKey(const QString& key) const
{
return m_attributes.keys().contains(key);
}
QList<QString> EntryAttributes::customKeys()
{
QList<QString> customKeys;