|  | Home · All Classes · Modules

# QPixmapCache.Key Class Reference
[QtGui module]

The QPixmapCache.Key class can be used for efficient access to the QPixmapCache. More...

### Methods

- __init__ (self)
- __init__ (self, Key other)

### Special Methods

- bool __eq__ (self, Key key)
- bool __ne__ (self, Key key)

## Detailed Description

The QPixmapCache.Key class can be used for efficient access to the QPixmapCache.

Use QPixmapCache.insert() to receive an instance of Key generated by the pixmap cache. You can store the key in your own objects for a very efficient one-to-one object-to-pixmap mapping.

## Method Documentation

### Key.__init__ (self)

Constructs an empty Key object.

### Key.__init__ (self, Key other)

### bool Key.__eq__ (self, Key key)

### bool Key.__ne__ (self, Key key)