En esta página

Utils::QrcCache Class

class Utils::QrcCache

La clase QrcCache almacena en caché el contenido de los archivos QRC analizados. Más información...

Header: #include <QrcCache>

Funciones públicas

Utils::QrcParser::ConstPtr addPath(const Utils::FilePath &path, const QString &contents)
void clear()
Utils::QrcParser::ConstPtr parsedPath(const Utils::FilePath &path)
void removePath(const Utils::FilePath &path)
Utils::QrcParser::ConstPtr updatePath(const Utils::FilePath &path, const QString &contents)

Descripción detallada

Véase también Utils::QrcParser.

Documentación de las funciones de miembro

Utils::QrcParser::ConstPtr QrcCache::addPath(const Utils::FilePath &path, const QString &contents)

Analiza el archivo QRC disponible en path y almacena en caché el analizador. Si contents no está vacío, se utiliza como contenido del archivo en lugar de leerlo del sistema de archivos.

Devuelve si el análisis se ha realizado correctamente.

Véase también QrcParser::errorMessages() y QrcParser::parseQrcFile().

void QrcCache::clear()

Borra el contenido de la caché.

Utils::QrcParser::ConstPtr QrcCache::parsedPath(const Utils::FilePath &path)

Devuelve el analizador QRC almacenado en caché para el archivo QRC disponible en path.

void QrcCache::removePath(const Utils::FilePath &path)

Elimina « path » de la caché.

Utils::QrcParser::ConstPtr QrcCache::updatePath(const Utils::FilePath &path, const QString &contents)

Vuelve a analizar el archivo QRC de path y devuelve el contents del archivo.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.