4#ifndef QQMLPROPERTYCACHEVECTOR_P_H
5#define QQMLPROPERTYCACHEVECTOR_P_H
18#include <private/qqmlpropertycache_p.h>
19#include <private/qbipointer_p.h>
21#include <QtCore/qtaggedpointer.h>
41 return int(
data.size());
45 for (
int i = 0;
i <
data.size(); ++
i)
52 for (
int i = 0;
i <
data.size(); ++
i) {
63 Q_ASSERT(
data.size() <= std::numeric_limits<int>::max());
70 Q_ASSERT(
data.size() <= std::numeric_limits<int>::max());
92 if (replacement.
data() == oldCache.data())
97 replacement->addref();
103 if (replacement.
data() != oldCache.data()) {
127 void releaseElement(
int i)
bool needsVMEMetaObject(int index) const
QQmlPropertyCacheVector()=default
~QQmlPropertyCacheVector()
void append(const QQmlPropertyCache::ConstPtr &cache)
QQmlPropertyCacheVector(QQmlPropertyCacheVector &&)=default
void setNeedsVMEMetaObject(int index)
void appendOwn(const QQmlPropertyCache::Ptr &cache)
void resetAndResize(int size)
QQmlPropertyCache::ConstPtr at(int index) const
void set(int index, const QQmlPropertyCache::ConstPtr &replacement)
void setOwn(int index, const QQmlPropertyCache::Ptr &replacement)
QQmlPropertyCache::Ptr ownAt(int index) const
QQmlPropertyCacheVector & operator=(QQmlPropertyCacheVector &&)=default
QQmlRefPointer< QQmlPropertyCache > Ptr
QCache< int, Employee > cache
[0]
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data