summaryrefslogtreecommitdiff
path: root/src/filetreemodel.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-01-20 15:24:04 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-02-04 03:33:20 -0500
commit8e3a360cd427f0f653846a0afc627a39cbf16276 (patch)
tree7a8d9851c1dcb7680f5e56c20104654afe03d3f8 /src/filetreemodel.h
parentbb9a4600bb3e83ad35a061db228c81cf8e108407 (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.h1
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;