42 #ifndef QDECLARATIVEPROPERTYCACHE_P_H 43 #define QDECLARATIVEPROPERTYCACHE_P_H 56 #include "private/qdeclarativerefcount_p.h" 57 #include "private/qdeclarativecleanup_p.h" 58 #include "private/qdeclarativenotifier_p.h" 60 #include <QtCore/qvector.h> 62 #include <QtScript/private/qscriptdeclarativeclass_p.h> 83 IsConstant = 0x00000001,
84 IsWritable = 0x00000002,
85 IsResettable = 0x00000004,
89 IsFunction = 0x00000010,
90 IsQObjectDerived = 0x00000020,
91 IsEnumType = 0x00000040,
93 IsQmlBinding = 0x00000100,
94 IsQScriptValue = 0x00000200,
97 IsVMEFunction = 0x00000400,
98 HasArguments = 0x00000800,
99 IsSignal = 0x00001000,
100 IsVMESignal = 0x00002000
104 bool isValid()
const {
return coreIndex != -1; }
146 Data *method(
int)
const;
149 inline Data *overrideData(
Data *)
const;
150 inline bool isAllowedInRevision(
Data *)
const;
157 virtual void clear();
183 : flags(0), propType(0), coreIndex(-1), notifyIndex(-1), overrideIndexIsProperty(false), overrideIndex(-1),
184 revision(0), metaObjectOffset(-1)
240 #endif // QDECLARATIVEPROPERTYCACHE_P_H
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
IndexCache methodIndexCache
static Expression::Ptr create(Expression *const expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
static void clear(QVariant::Private *d)
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
IdentifierCache identifierCache
QHash< QScriptDeclarativeClass::Identifier, RData * > IdentifierCache
QHash< QString, RData * > StringCache
AllowedRevisionCache allowedRevisionCache
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QStringList class provides a list of strings.
Data * property(const QScriptDeclarativeClass::Identifier &id) const
static const char * data(const QByteArray &arr)
Q_DECLARE_OPERATORS_FOR_FLAGS(QDeclarativePropertyCache::Data::Flags)
bool operator==(const ValueTypeData &)
QDeclarativeEngine * qmlEngine() const
const T & at(int i) const
Returns the item at index position i in the vector.
QVector< int > AllowedRevisionCache
QDeclarativeEngine * engine
Q_DECLARATIVE_EXPORT QDeclarativeEngine * qmlEngine(const QObject *)
bool isAllowedInRevision(Data *) const
The QDeclarativeEngine class provides an environment for instantiating QML components.
#define Q_AUTOTEST_EXPORT
Data * overrideData(Data *) const
The QDeclarativeCleanup provides a callback when a QDeclarativeEngine is deleted. ...
QScriptDeclarativeClass::PersistentIdentifier identifier
QVector< RData * > IndexCache
bool operator==(QBool b1, bool b2)
uint overrideIndexIsProperty
bool operator==(const Data &)