diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-09-22 23:01:25 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-09-23 00:44:31 (GMT) |
commit | cd5cd63750e39759b10b2edf85404db7173ac8ee (patch) | |
tree | 3b545b24c0a3aa26203a554ecbf1b60c69b82b84 /src/declarative/util/qlistmodelinterface_p.h | |
parent | 24fe2f9f8e94e2a142bf0e17d7d03c5431eb0eab (diff) | |
download | Qt-cd5cd63750e39759b10b2edf85404db7173ac8ee.zip Qt-cd5cd63750e39759b10b2edf85404db7173ac8ee.tar.gz Qt-cd5cd63750e39759b10b2edf85404db7173ac8ee.tar.bz2 |
Remove dead code paths in declarative list model code.
Reviewed-by: Bea Lam
Diffstat (limited to 'src/declarative/util/qlistmodelinterface_p.h')
-rw-r--r-- | src/declarative/util/qlistmodelinterface_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/declarative/util/qlistmodelinterface_p.h b/src/declarative/util/qlistmodelinterface_p.h index 07592ad..8c8ebb3 100644 --- a/src/declarative/util/qlistmodelinterface_p.h +++ b/src/declarative/util/qlistmodelinterface_p.h @@ -59,10 +59,7 @@ class Q_DECLARATIVE_EXPORT QListModelInterface : public QObject virtual ~QListModelInterface() {} 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; } virtual QList<int> roles() const = 0; virtual QString toString(int role) const = 0; |