2190 for (
int i = 0; i < variants.
size(); ++i) {
2199 if (it != imageKeys.
end()) {
2202 imageKeys[image.cacheKey()] = entry.
flags.
key = images.
size();
2203 images[images.
size()] = image;
2214 if (it != pixmapKeys.
end()) {
2217 pixmapKeys[pixmap.cacheKey()] = entry.
flags.
key = pixmaps.
size();
2218 pixmaps[pixmaps.
size()] = pixmap;
The QVariant class acts like a union for the most common Qt data types.
QPaintBufferPrivate * d_ptr
#define it(className, varName)
QVector< QPaintBufferCommand > commands
The QImage class provides a hardware-independent image representation that allows direct access to th...
static QVariant fromValue(const T &value)
Returns a QVariant containing a copy of value.
const T & at(int i) const
Returns the item at index position i in the vector.
int size() const
Returns the number of items in the hash.
iterator end()
Returns an STL-style iterator pointing to the imaginary item after the last item in the hash...
Type type() const
Returns the storage type of the value stored in the variant.
The QPixmap class is an off-screen image representation that can be used as a paint device...
iterator find(const Key &key)
Returns an iterator pointing to the item with the key in the hash.
T value() const
Returns the stored value converted to the template type T.
int size() const
Returns the number of items in the vector.
QVector< QVariant > variants