summaryrefslogtreecommitdiffstats
path: root/common/modelresult.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-11-30 10:30:31 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-11-30 10:30:31 +0100
commit67d573d98da247d2cd16ce65fdd37457c5ee74ec (patch)
tree9192a07e7e0a22d1285759f541336f024928766a /common/modelresult.h
parent887abffb3f712acaa23eae174d5890f337fe43cb (diff)
downloadsink-67d573d98da247d2cd16ce65fdd37457c5ee74ec.tar.gz
sink-67d573d98da247d2cd16ce65fdd37457c5ee74ec.zip
ModelResult hasChildren, cleanup
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 eb6c86b..3ccf629 100644
--- a/common/modelresult.h
+++ b/common/modelresult.h
@@ -45,6 +45,7 @@ public:
45 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; 45 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
46 QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex()) const; 46 QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex()) const;
47 QModelIndex parent(const QModelIndex &index) const; 47 QModelIndex parent(const QModelIndex &index) const;
48 bool hasChildren(const QModelIndex &parent = QModelIndex()) const;
48 49
49 bool canFetchMore(const QModelIndex &parent) const; 50 bool canFetchMore(const QModelIndex &parent) const;
50 void fetchMore(const QModelIndex &parent); 51 void fetchMore(const QModelIndex &parent);