summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qlistmodelinterface_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-09-22 23:01:25 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-09-23 00:44:31 (GMT)
commitcd5cd63750e39759b10b2edf85404db7173ac8ee (patch)
tree3b545b24c0a3aa26203a554ecbf1b60c69b82b84 /src/declarative/util/qlistmodelinterface_p.h
parent24fe2f9f8e94e2a142bf0e17d7d03c5431eb0eab (diff)
downloadQt-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.h3
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;