diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-01-20 15:24:04 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-04 03:33:20 -0500 |
| commit | 8e3a360cd427f0f653846a0afc627a39cbf16276 (patch) | |
| tree | 7a8d9851c1dcb7680f5e56c20104654afe03d3f8 /src/filetreemodel.h | |
| parent | bb9a4600bb3e83ad35a061db228c81cf8e108407 (diff) | |
implemented fetchMore() and update for subdirectories
don't refresh tree on active, it's taken care of by fetchMore()
Diffstat (limited to 'src/filetreemodel.h')
| -rw-r--r-- | src/filetreemodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filetreemodel.h b/src/filetreemodel.h index c2f7d8cf..af24c70d 100644 --- a/src/filetreemodel.h +++ b/src/filetreemodel.h @@ -38,6 +38,7 @@ public: int columnCount(const QModelIndex& parent={}) const override; bool hasChildren(const QModelIndex& parent={}) const override; bool canFetchMore(const QModelIndex& parent) const override; + void fetchMore(const QModelIndex& parent) override; QVariant data(const QModelIndex& index, int role=Qt::DisplayRole) const override; QVariant headerData(int i, Qt::Orientation ori, int role=Qt::DisplayRole) const override; Qt::ItemFlags flags(const QModelIndex& index) const override; |
