42 #include "private/qdeclarativelistaccessor_p.h" 46 #include <QtCore/qstringlist.h> 47 #include <QtCore/qdebug.h> 87 }
else if (
d.
userType() == qMetaTypeId<QDeclarativeListReference>()) {
The QVariant class acts like a union for the most common Qt data types.
void setList(const QVariant &, QDeclarativeEngine *=0)
#define QT_END_NAMESPACE
This macro expands to.
The QDeclarativeListReference class allows the manipulation of QDeclarativeListProperty properties...
The QObject class is the base class of all Qt objects.
static QDeclarativeEnginePrivate * get(QDeclarativeEngine *e)
~QDeclarativeListAccessor()
int toInt(bool *ok=0) const
Returns the variant as an int if the variant has type() Int , Bool , ByteArray , Char ...
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool canConvert(Type t) const
Returns true if the variant's type can be cast to the requested type, t.
The QStringList class provides a list of strings.
static const char * data(const QByteArray &arr)
static QVariant fromValue(const T &value)
Returns a QVariant containing a copy of value.
int userType() const
Returns the storage type of the value stored in the variant.
QDeclarativeListAccessor()
The QDeclarativeEngine class provides an environment for instantiating QML components.
const void * constData() const
T qvariant_cast(const QVariant &)
QObject * toQObject(const QVariant &, bool *ok=0) const
bool isValid() const
Returns true if the storage type of this variant is not QVariant::Invalid; otherwise returns false...