42 #include "private/qdeclarativebind_p.h" 44 #include "private/qdeclarativenullablevalue_p_p.h" 45 #include "private/qdeclarativeguard_p.h" 51 #include <QtCore/qfile.h> 52 #include <QtCore/qdebug.h> 53 #include <QtScript/qscriptvalue.h> 54 #include <QtScript/qscriptcontext.h> 55 #include <QtScript/qscriptengine.h> 57 #include <private/qobject_p.h> 195 return d->value.value;
202 d->value.isNull =
false;
226 prop.
write(
d->value.value);
The QVariant class acts like a union for the most common Qt data types.
QDeclarativeBind(QObject *parent=0)
#define QT_END_NAMESPACE
This macro expands to.
QDeclarativeParserStatus ** d
virtual void classBegin()
Invoked after class creation, but before any properties have been set.
The QString class provides a Unicode character string.
QDeclarativeNullableValue< QVariant > value
The QObject class is the base class of all Qt objects.
QDeclarativeBindPrivate()
void setObject(QObject *)
virtual void componentComplete()=0
Invoked after the root component that caused this instantiation has completed construction.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QDeclarativeGuard< QObject > obj
void setProperty(const QString &)
void setValue(const QVariant &)
virtual void componentComplete()
Invoked after the root component that caused this instantiation has completed construction.
The QDeclarativeProperty class abstracts accessing properties on objects created from QML...
bool write(const QVariant &) const
Sets the property value to value and returns true.