diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-11-30 10:30:31 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-11-30 10:30:31 +0100 |
commit | 67d573d98da247d2cd16ce65fdd37457c5ee74ec (patch) | |
tree | 9192a07e7e0a22d1285759f541336f024928766a /common/modelresult.h | |
parent | 887abffb3f712acaa23eae174d5890f337fe43cb (diff) | |
download | sink-67d573d98da247d2cd16ce65fdd37457c5ee74ec.tar.gz sink-67d573d98da247d2cd16ce65fdd37457c5ee74ec.zip |
ModelResult hasChildren, cleanup
Diffstat (limited to 'common/modelresult.h')
-rw-r--r-- | common/modelresult.h | 1 |
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); |