Utils::QrcCache Class
class Utils::QrcCacheLa classe QrcCache met en cache le contenu des fichiers QRC analysés. En savoir plus…
| Header: | #include <QrcCache> |
Fonctions publiques
| 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) |
Voir aussi Utils::QrcParser.
Documentation des fonctions membres
Utils::QrcParser::ConstPtr QrcCache::addPath(const Utils::FilePath &path, const QString &contents)
Analyse le fichier QRC disponible à l'adresse path et met en cache le parseur. Si contents n'est pas vide, son contenu est utilisé à la place de celui lu à partir du système de fichiers.
Renvoie si l’analyse a réussi.
Voir également QrcParser::errorMessages() et QrcParser::parseQrcFile().
void QrcCache::clear()
Efface le contenu du cache.
Utils::QrcParser::ConstPtr QrcCache::parsedPath(const Utils::FilePath &path)
Renvoie l'analyseur QRC mis en cache pour le fichier QRC disponible à l'adresse path.
void QrcCache::removePath(const Utils::FilePath &path)
Supprime « path » du cache.
Utils::QrcParser::ConstPtr QrcCache::updatePath(const Utils::FilePath &path, const QString &contents)
Réanalyse le fichier QRC disponible à l'adresse path et renvoie l'contents s contenues dans ce fichier.
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.