42 #ifndef QDECLARATIVELIST_H 43 #define QDECLARATIVELIST_H 45 #include <QtCore/qglobal.h> 46 #include <QtCore/qlist.h> 47 #include <QtCore/qvariant.h> 58 #ifndef QDECLARATIVELISTPROPERTY 59 #define QDECLARATIVELISTPROPERTY 65 typedef T *(*AtFunction)(QDeclarativeListProperty<T> *, int);
78 return object == o.
object &&
126 bool isValid()
const;
131 bool canAppend()
const;
133 bool canClear()
const;
134 bool canCount()
const;
152 #endif // QDECLARATIVELIST_H
#define QT_END_NAMESPACE
This macro expands to.
The QDeclarativeListReference class allows the manipulation of QDeclarativeListProperty properties...
static void qlist_append(QDeclarativeListProperty *p, T *v)
long ASN1_INTEGER_get ASN1_INTEGER * a
static int qlist_count(QDeclarativeListProperty *p)
The QObject class is the base class of all Qt objects.
bool operator==(const QDeclarativeListProperty &o) const
Returns true if this QDeclarativeListProperty is equal to other, otherwise false. ...
T *(* AtFunction)(QDeclarativeListProperty< T > *, int)
Synonym for {T *(*)(QDeclarativeListProperty<T> *property, int index)}.
QDeclarativeListProperty(QObject *o, void *d, AppendFunction a, CountFunction c=0, AtFunction t=0, ClearFunction r=0)
Construct a QDeclarativeListProperty from a set of operation functions.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static void qlist_clear(QDeclarativeListProperty *p)
int(* CountFunction)(QDeclarativeListProperty< T > *)
Synonym for {int (*)(QDeclarativeListProperty<T> *property)}.
#define Q_DECLARATIVE_EXPORT
void(* ClearFunction)(QDeclarativeListProperty< T > *)
Synonym for {void (*)(QDeclarativeListProperty<T> *property)}.
The QDeclarativeEngine class provides an environment for instantiating QML components.
static T * qlist_at(QDeclarativeListProperty *p, int idx)
void(* AppendFunction)(QDeclarativeListProperty< T > *, T *)
Synonym for {void (*)(QDeclarativeListProperty<T> *property, T *value)}.
QDeclarativeListReferencePrivate * d
QDeclarativeListProperty(QObject *o, QList< T *> &list)
Convenience constructor for making a QDeclarativeListProperty value from an existing QList list...
QDeclarativeListProperty()
The QDeclarativeListProperty class allows applications to expose list-like properties to QML...
The QList class is a template class that provides lists.