Class IconThemeCache

Class representation of icon-theme.cache file contained icon theme cache.

class IconThemeCache ;

Constructors

NameDescription
this Read icon theme cache from memory mapped file and validate it.
this Read icon theme cache from data and validate it.

Methods

NameDescription
containsIcon Test if icon is listed in cache.
containsIcon Test if icon is listed in cache and belongs to specified subdirectory.
directories Sub directories of icon theme listed in cache.
fileName Path of cache file.
iconDirectories Find all sub directories the icon belongs to according to cache.
icons All icon names listed in cache.
isOutdated Test if icon theme file is outdated, i.e. modification time of cache file is older than modification time of icon theme directory.
isOutdated Test if icon theme file is outdated, i.e. modification time of cache file is older than modification time of icon theme directory.