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/3rdparty | |
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/3rdparty')
-rw-r--r-- | src/declarative/3rdparty/qlistmodelinterface_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/3rdparty/qlistmodelinterface_p.h b/src/declarative/3rdparty/qlistmodelinterface_p.h index f7c956a..a958ead 100644 --- a/src/declarative/3rdparty/qlistmodelinterface_p.h +++ b/src/declarative/3rdparty/qlistmodelinterface_p.h @@ -60,6 +60,7 @@ class Q_DECLARATIVE_EXPORT QListModelInterface : public QObject virtual int count() const = 0; virtual QHash<int,QVariant> data(int index, const QList<int>& roles = QList<int>()) const = 0; + virtual QVariant data(int index, int role) const = 0; virtual bool setData(int index, const QHash<int,QVariant>& values) { Q_UNUSED(index); Q_UNUSED(values); return false; } |