ResourceCollectionManager Class

class QInstaller::ResourceCollectionManager

The ResourceCollectionManager class is an abstraction that groups together a number of resource collections. More...

Header: #include <ResourceCollectionManager>

Public Functions

void clear()
ResourceCollection collectionByName(const QByteArray &name) const
int collectionCount() const
QList<ResourceCollection> collections() const
void insertCollection(const ResourceCollection &collection)
void removeCollection(const QByteArray &name)

Detailed Description

The resource collections it groups can be written to and read from a QFileDevice.

Member Function Documentation

void ResourceCollectionManager::clear()

Clears the contents of the collection manager.

ResourceCollection ResourceCollectionManager::collectionByName(const QByteArray &name) const

Returns the collection associated with the name name.

int ResourceCollectionManager::collectionCount() const

Returns the number of collections in the collection manager.

QList<ResourceCollection> ResourceCollectionManager::collections() const

Returns the collections the collection manager contains.

void ResourceCollectionManager::insertCollection(const ResourceCollection &collection)

Inserts the collection into the collection manager.

void ResourceCollectionManager::removeCollection(const QByteArray &name)

Removes all occurrences of name from the collection manager.