42 #ifndef QLISTMODELINTERFACE_H 43 #define QLISTMODELINTERFACE_H 45 #include <QtCore/QHash> 46 #include <QtCore/QVariant> 48 #include <private/qdeclarativeglobal_p.h> 63 virtual int count()
const = 0;
70 void itemsInserted(
int index,
int count);
71 void itemsRemoved(
int index,
int count);
72 void itemsMoved(
int from,
int to,
int count);
73 void itemsChanged(
int index,
int count,
const QList<int> &roles);
77 : QObject(dd, parent) {}
84 #endif //QTREEMODELINTERFACE_H The QVariant class acts like a union for the most common Qt data types.
#define QT_END_NAMESPACE
This macro expands to.
QListModelInterface(QObject *parent=0)
Constructs a QListModelInterface with the specified parent.
virtual ~QListModelInterface()
The destructor is virtual.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
static QString toString(Register *reg, int type, bool *ok=0)
#define QT_BEGIN_NAMESPACE
This macro expands to.
static const char * data(const QByteArray &arr)
The QListModelInterface class can be subclassed to provide C++ models to QDeclarativeGraphics Views...
QListModelInterface(QObjectPrivate &dd, QObject *parent)
#define Q_DECLARATIVE_PRIVATE_EXPORT