diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-12-16 05:09:20 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-12-16 05:09:20 (GMT) |
commit | b9d7f819b7bf9f7c39735377ae2e3e4d4afa1cf7 (patch) | |
tree | e02c4575aa1a1e865dffbe6095449da50f7cb5b0 /src/declarative/util/qmllistmodel_p.h | |
parent | 91fe11aeecc951c0713f7275726081017c385495 (diff) | |
download | Qt-b9d7f819b7bf9f7c39735377ae2e3e4d4afa1cf7.zip Qt-b9d7f819b7bf9f7c39735377ae2e3e4d4afa1cf7.tar.gz Qt-b9d7f819b7bf9f7c39735377ae2e3e4d4afa1cf7.tar.bz2 |
Make QListModelInterface API more sensible for our use case.
Diffstat (limited to 'src/declarative/util/qmllistmodel_p.h')
-rw-r--r-- | src/declarative/util/qmllistmodel_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qmllistmodel_p.h b/src/declarative/util/qmllistmodel_p.h index 2a1a57d..47236d0 100644 --- a/src/declarative/util/qmllistmodel_p.h +++ b/src/declarative/util/qmllistmodel_p.h @@ -72,6 +72,7 @@ public: virtual QString toString(int role) const; virtual int count() const; virtual QHash<int,QVariant> data(int index, const QList<int> &roles = (QList<int>())) const; + virtual QVariant data(int index, int role) const; Q_INVOKABLE void clear(); Q_INVOKABLE void remove(int index); |