![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
QIconCacheGtkReader (const QString &themeDir) | |
QList< const char * > | lookup (QStringView) |
bool | isValid () const |
QIconCacheGtkReader (const QString &themeDir) | |
QList< const char * > | lookup (QStringView) |
bool | isValid () const |
Helper class that reads and looks up into the icon-theme.cache generated with gtk-update-icon-cache. If at any point we detect a corruption in the file (because the offsets point at wrong locations for example), the reader is marked as invalid.
Definition at line 222 of file qiconloader.cpp.
|
explicit |
Definition at line 254 of file qiconloader.cpp.
|
explicit |
|
inline |
Definition at line 227 of file qiconloader.cpp.
Referenced by lookup().
|
inline |
Definition at line 227 of file qiconloader.cpp.
QList< const char * > QIconCacheGtkReader::lookup | ( | QStringView | name | ) |
lookup the icon name and return the list of subdirectories in which an icon with this name is present. The char* are pointers to the mapped data. For example, this would return { "32x32/apps", "24x24/apps" , ... }
Definition at line 299 of file qiconloader.cpp.
References isValid().
QList< const char * > QIconCacheGtkReader::lookup | ( | QStringView | ) |