Utils::QrcCache Class
class Utils::QrcCacheKlassen QrcCache lagrar innehållet i analyserade QRC-filer i cacheminnet. Mer...
| Header: | #include <QrcCache> |
Offentliga funktioner
| 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) |
Se även Utils::QrcParser.
Dokumentation för medlemsfunktioner
Utils::QrcParser::ConstPtr QrcCache::addPath(const Utils::FilePath &path, const QString &contents)
Analyserar QRC-filen på path och lagrar analysatorn i cache. Om contents inte är tom används den som filinnehåll istället för att läsa in innehållet från filsystemet.
Returnerar om analysen lyckades.
Se även QrcParser::errorMessages() och QrcParser::parseQrcFile().
void QrcCache::clear()
Rensar innehållet i cachen.
Utils::QrcParser::ConstPtr QrcCache::parsedPath(const Utils::FilePath &path)
Returnerar den cachade QRC-parsern för QRC-filen på path.
void QrcCache::removePath(const Utils::FilePath &path)
Tar bort path från cachen.
Utils::QrcParser::ConstPtr QrcCache::updatePath(const Utils::FilePath &path, const QString &contents)
Analyserar om QRC-filen på path och returnerar filens 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.