summaryrefslogtreecommitdiffstats
path: root/common/modelresult.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-04 15:46:51 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-04 15:46:51 +0100
commit983af5f1442ff27dc14da6fdac28f51a38184f0a (patch)
tree75bd078bcd50093778048beb9bfa5ec4a4c97ab9 /common/modelresult.h
parent553000673acf7297cfa4de620290ba73f3c438ac (diff)
downloadsink-983af5f1442ff27dc14da6fdac28f51a38184f0a.tar.gz
sink-983af5f1442ff27dc14da6fdac28f51a38184f0a.zip
ModelResult header data, and support listing various types in the
dummyclient
Diffstat (limited to 'common/modelresult.h')
-rw-r--r--common/modelresult.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/modelresult.h b/common/modelresult.h
index 298e157..ec62a67 100644
--- a/common/modelresult.h
+++ b/common/modelresult.h
@@ -45,6 +45,7 @@ public:
45 int rowCount(const QModelIndex &parent = QModelIndex()) const; 45 int rowCount(const QModelIndex &parent = QModelIndex()) const;
46 int columnCount(const QModelIndex &parent = QModelIndex()) const; 46 int columnCount(const QModelIndex &parent = QModelIndex()) const;
47 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; 47 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
48 QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
48 QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex()) const; 49 QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex()) const;
49 QModelIndex parent(const QModelIndex &index) const; 50 QModelIndex parent(const QModelIndex &index) const;
50 bool hasChildren(const QModelIndex &parent = QModelIndex()) const; 51 bool hasChildren(const QModelIndex &parent = QModelIndex()) const;