C
SafeRenderer::QSafeFontCache Class
class SafeRenderer::QSafeFontCacheQSafeFontCache class caches a font. More...
| Header: | #include <QSafeFontCache> |
| Since: | QtSafeRenderer 1.1 |
Public Functions
| QSafeFontCache() | |
| QSafeFontCache(const SafeRenderer::QSafeFontCache &other) | |
| QSafeFontCache(SafeRenderer::QSafeFontCache &&other) | |
| virtual | ~QSafeFontCache() |
| const SafeRenderer::QSafeFont * | loadFont(const SafeRenderer::qchar *const filenameArg, const SafeRenderer::quint32 crcArg) |
| SafeRenderer::QSafeFontCache & | operator=(SafeRenderer::QSafeFontCache &&other) |
| SafeRenderer::QSafeFontCache & | operator=(const SafeRenderer::QSafeFontCache &other) |
Member Function Documentation
[constexpr noexcept default] QSafeFontCache::QSafeFontCache()
Default-constructs an instance of QSafeFontCache.
[delete] QSafeFontCache::QSafeFontCache(const SafeRenderer::QSafeFontCache &other)
Copy-constructs an instance of QSafeFontCache. This function is deleted.
[delete] QSafeFontCache::QSafeFontCache(SafeRenderer::QSafeFontCache &&other)
Move-constructs an instance of QSafeFontCache. This function is deleted.
[virtual constexpr noexcept default] QSafeFontCache::~QSafeFontCache()
Destroys the instance of QSafeFontCache. This destructor is virtual.
const SafeRenderer::QSafeFont *QSafeFontCache::loadFont(const SafeRenderer::qchar *const filenameArg, const SafeRenderer::quint32 crcArg)
Loads and returns a font from filenameArg. The checksum of the file content must match with expected crcArg.
Returns pointer to the loaded font.
[delete] SafeRenderer::QSafeFontCache &QSafeFontCache::operator=(SafeRenderer::QSafeFontCache &&other)
Move-assigns other to this QSafeFontCache instance. This function is deleted.
[delete] SafeRenderer::QSafeFontCache &QSafeFontCache::operator=(const SafeRenderer::QSafeFontCache &other)
Copy-assigns other to this QSafeFontCache instance. This function is deleted.
Available under certain Qt licenses.
Find out more.