Utils::QrcCache Class
class Utils::QrcCacheKlasa QrcCache kešira sadržaj analiziranih QRC datoteka. Više...
| Header: | #include <QrcCache> |
Javne funkcije
| 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) |
Vidi također Utils::QrcParser.
Dokumentacija funkcija člana
Utils::QrcParser::ConstPtr QrcCache::addPath(const Utils::FilePath &path, const QString &contents)
Analizira QRC datoteku na path i kešira analizator. Ako contents nije prazan, koristi se kao sadržaj datoteke umjesto da se čita iz datotečnog sustava.
Vraća je li parsiranje uspjelo.
Vidi također QrcParser::errorMessages() i QrcParser::parseQrcFile().
void QrcCache::clear()
Očisti sadržaj predmemorije.
Utils::QrcParser::ConstPtr QrcCache::parsedPath(const Utils::FilePath &path)
Vraća keširani QRC parser za QRC datoteku na adresi path.
void QrcCache::removePath(const Utils::FilePath &path)
Uklanja path iz predmemorije.
Utils::QrcParser::ConstPtr QrcCache::updatePath(const Utils::FilePath &path, const QString &contents)
Ponovno analizira QRC datoteku na adresi path i vraća njezinu contents.
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.