summaryrefslogtreecommitdiffstats
path: root/src/qtablemodelinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtablemodelinterface.h')
-rw-r--r--src/qtablemodelinterface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qtablemodelinterface.h b/src/qtablemodelinterface.h
index cab8306..78f6dad 100644
--- a/src/qtablemodelinterface.h
+++ b/src/qtablemodelinterface.h
@@ -44,6 +44,7 @@ public:
virtual int columnCount() const = 0;
virtual QHash<int,QVariant> data(int row, int column, const QList<int> &roles = QList<int>()) const = 0;
virtual bool setData(int row, int column, const QHash<int,QVariant> &values);
+ virtual QHash<int,QString> roles() const;
// ### we may need something along the lines of cacheHint() that gives the model an idea
// ### of what can be kept, what can be thrown away and what needs to be fetched