diff --git a/packagestructure.cpp b/packagestructure.cpp index ccbe22d97..081de315c 100644 --- a/packagestructure.cpp +++ b/packagestructure.cpp @@ -244,7 +244,7 @@ void PackageStructure::setRequired(const char* key, bool required) it.value().required = required; } -bool PackageStructure::required(const char* key) const +bool PackageStructure::isRequired(const char* key) const { QMap::const_iterator it = d->contents.find(key); if (it == d->contents.constEnd()) { diff --git a/packagestructure.h b/packagestructure.h index cb085c0a9..d5c90c4f4 100644 --- a/packagestructure.h +++ b/packagestructure.h @@ -166,7 +166,7 @@ public: /** * @return true if the item at path exists and is required **/ - bool required(const char* key) const; + bool isRequired(const char* key) const; /** * Defines the default mimetypes for any definitions that do not have