API review: required() -> isRequired()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801415
This commit is contained in:
Anne-Marie Mahfouf 2008-04-26 15:26:40 +00:00
parent 5ad0e12cdd
commit eff92e33d7
2 changed files with 2 additions and 2 deletions

View File

@ -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<QByteArray, ContentStructure>::const_iterator it = d->contents.find(key);
if (it == d->contents.constEnd()) {

View File

@ -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