Utils::QrcCache Class
class Utils::QrcCacheRazred QrcCache shranjuje v predpomnilnik vsebino razčlenjenih datotek QRC. Več...
| 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) |
Glejte tudi Utils::QrcParser.
Dokumentacija funkcij članic
Utils::QrcParser::ConstPtr QrcCache::addPath(const Utils::FilePath &path, const QString &contents)
Analizira datoteko QRC na naslovu path in shrani analizator v predpomnilnik. Če je spremenljivka contents polna, se njena vsebina uporabi namesto branja iz datotečnega sistema.
Vrne, ali je razčlenitev uspela.
Glej tudi QrcParser::errorMessages() in QrcParser::parseQrcFile().
void QrcCache::clear()
Izbriše vsebino predpomnilnika.
Utils::QrcParser::ConstPtr QrcCache::parsedPath(const Utils::FilePath &path)
Vrne predpomnjeni QRC-parser za datoteko QRC na naslovu path.
void QrcCache::removePath(const Utils::FilePath &path)
Iz predpomnilnika odstrani » path «.
Utils::QrcParser::ConstPtr QrcCache::updatePath(const Utils::FilePath &path, const QString &contents)
Ponovno analizira datoteko QRC na naslovu path in vrne contents te datoteke.
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.