42 #ifndef QDECLARATIVEPROPERTY_P_H 43 #define QDECLARATIVEPROPERTY_P_H 58 #include <private/qobject_p.h> 59 #include <private/qdeclarativeglobal_p.h> 60 #include <private/qdeclarativepropertycache_p.h> 61 #include <private/qdeclarativeguard_p.h> 71 enum WriteFlag { BypassInterceptor = 0x01, DontRemoveBinding = 0x02, RemoveBindingOnAliasWrite = 0x04 };
75 : context(0), engine(0),
object(0), isNameCached(false) {}
91 bool isValueType()
const;
92 int propertyType()
const;
97 bool writeValueProperty(
const QVariant &, WriteFlags);
107 WriteFlags flags = DontRemoveBinding);
129 WriteFlags flags = DontRemoveBinding);
137 static bool connect(
QObject *sender,
int signal_index,
138 const QObject *receiver,
int method_index,
147 #endif // QDECLARATIVEPROPERTY_P_H The QVariant class acts like a union for the most common Qt data types.
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
The QByteArray class provides an array of bytes.
QDeclarativePropertyCache::Data core
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QDeclarativeContextData * context
#define QT_BEGIN_NAMESPACE
This macro expands to.
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
#define Q_DECLARATIVE_PRIVATE_EXPORT
The QDeclarativeEngine class provides an environment for instantiating QML components.
Type
This enum specifies a type of QML property.
The QDeclarativeContext class defines a context within a QML engine.
PropertyTypeCategory
This enum specifies a category of QML property.
QDeclarativeGuard< QObject > object
The QDeclarativeProperty class abstracts accessing properties on objects created from QML...
The QDeclarativeExpression class evaluates JavaScript in a QML context.
QDeclarativeEngine * engine
static bool equal(const QChar *a, int l, const char *b)
QDeclarativePropertyCache::ValueTypeData valueType