summaryrefslogtreecommitdiff
path: root/libresourceqt/include/qt4/policy/resource-set.h
diff options
context:
space:
mode:
authorWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-11 12:13:12 +0200
committerWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-11 12:13:12 +0200
commitd6af19a10efff0cfcb497db45d5aa7b38b970367 (patch)
treebc610480b4cc1e5c4e5a0cf49812aca11dafdbad /libresourceqt/include/qt4/policy/resource-set.h
parent346a7524047a1aa1ec64810abb8b0243ae90c3bb (diff)
downloadlibresourceqt-d6af19a10efff0cfcb497db45d5aa7b38b970367.tar.gz
API cleanup based on comments from Kimmo
Diffstat (limited to 'libresourceqt/include/qt4/policy/resource-set.h')
-rw-r--r--libresourceqt/include/qt4/policy/resource-set.h14
1 files changed, 7 insertions, 7 deletions
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<ResourceType> availableResources);
+ void resourcesBecameAvailable(const QList<ResourceType> &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<ResourceType> grantedOptionalResources);
+ void resourcesGranted(const QList<ResourceType> &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.