java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QPixmapCache
- All Implemented Interfaces:
QtObjectInterface
public class QPixmapCache extends QtObject
Application-wide cache for pixmaps
Java wrapper for Qt class QPixmapCache
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QPixmapCache.Key
QPixmapCache::Key class can be used for efficient access to the QPixmapCache -
Constructor Summary
Constructors Modifier Constructor Description QPixmapCache()
protected
QPixmapCache(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description static int
cacheLimit()
static void
clear()
static QPixmap
find(QPixmapCache.Key key)
static QPixmap
find(String key)
static QPixmapCache.Key
insert(QPixmap pixmap)
static boolean
insert(String key, QPixmap pixmap)
static void
remove(QPixmapCache.Key key)
static void
remove(String key)
static boolean
replace(QPixmapCache.Key key, QPixmap pixmap)
static void
setCacheLimit(int arg__1)
-
Constructor Details
-
QPixmapCache
public QPixmapCache() -
QPixmapCache
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
cacheLimit
public static int cacheLimit() -
clear
public static void clear() -
find
-
find
-
insert
-
insert
-
remove
-
remove
-
replace
-
setCacheLimit
public static void setCacheLimit(int arg__1)
-