From d6af19a10efff0cfcb497db45d5aa7b38b970367 Mon Sep 17 00:00:00 2001 From: Wolf Bergenheim Date: Thu, 11 Feb 2010 12:13:12 +0200 Subject: API cleanup based on comments from Kimmo --- libresourceqt/include/qt4/policy/resource-set.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libresourceqt/include/qt4') diff --git a/libresourceqt/include/qt4/policy/resource-set.h b/libresourceqt/include/qt4/policy/resource-set.h index 3e9bc24..4442f94 100644 --- a/libresourceqt/include/qt4/policy/resource-set.h +++ b/libresourceqt/include/qt4/policy/resource-set.h @@ -101,7 +101,7 @@ public: * This method removes the resource of the given type * \param type The type of the resource to remove from the set. */ - void delResource(ResourceType type); + void deleteResource(ResourceType type); /** * This method returns a list of all resource in the set. @@ -166,18 +166,18 @@ public: */ void setAutoRelease(); /** - * see \ref setAutoRelease(). + * Resets the auto reselease flag to false (see \ref setAutoRelease()). */ - void unsetAutoRelease(); + void resetAutoRelease(); /** * Sets that the resourcesGranted() signal is emited even if we already * have the requested resources granted. By default this feature is off. */ void setAlwaysReply(); /** - * Unsets the always reply flag (see \ref setAlwaysReply()) + * Resets the always reply flag (see \ref setAlwaysReply()) to false. */ - void unsetAlwaysReply(); + void resetAlwaysReply(); signals: /** @@ -186,13 +186,13 @@ signals: * \param availableResources A list of available resources. The list of * available resources contains only available resource which we have in the set. */ - void resourcesBecameAvailable(QList availableResources); + void resourcesBecameAvailable(const QList &availableResources); /** * This signal is emited as a response to the acquire() request. * \param grantedOptionalResources The list of granted optional resources. * All the mandatory resources have also been aquired. */ - void resourcesGranted(QList grantedOptionalResources); + void resourcesGranted(const QList &grantedOptionalResources); /** * This signal is emited as a response to the acquire() request, in the * case where one or more of the mandatroy resources were not availalble. -- cgit v1.2.3