it.next();
const Nepomuk2::Types::Property property = it.key();
- const QByteArray role = m_roleForUri.value(property.uri());
+ const QByteArray role = roleForPropertyUri(property.uri());
if (role.isEmpty() || !roles.contains(role)) {
continue;
}
return values;
}
+QByteArray KNepomukRolesProvider::roleForPropertyUri(const QUrl& uri) const
+{
+ return m_roleForUri.value(uri);
+}
+
KNepomukRolesProvider::KNepomukRolesProvider() :
m_roles(),
m_roleForUri()