From eff92e33d786e9886cdf7a5e2433d02eb26f07bd Mon Sep 17 00:00:00 2001 From: Anne-Marie Mahfouf Date: Sat, 26 Apr 2008 15:26:40 +0000 Subject: [PATCH] API review: required() -> isRequired() svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801415 --- packagestructure.cpp | 2 +- packagestructure.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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