diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-05-23 17:33:01 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-05-23 17:33:01 +0200 |
| commit | 064ef4cfeb7307cae1cfbc640ca3c47e8032f365 (patch) | |
| tree | 2969f197f0d8c9ecbdb8ba7f4becdbabe32d7e0c /src/qdirfiletree.h | |
| parent | ee995b8df5a1b9c708a069e62f0e786ff359e76b (diff) | |
Update IFileTree implementations following uibase changes.
Diffstat (limited to 'src/qdirfiletree.h')
| -rw-r--r-- | src/qdirfiletree.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qdirfiletree.h b/src/qdirfiletree.h index 000ef69a..e6b8706e 100644 --- a/src/qdirfiletree.h +++ b/src/qdirfiletree.h @@ -43,17 +43,18 @@ public: */ static std::shared_ptr<const QDirFileTree> makeTree(QDir directory); + QDirFileTree(std::shared_ptr<const IFileTree> parent, QDir directory); + protected: - QDirFileTree(std::shared_ptr<const IFileTree> parent, QDir directory); virtual bool beforeReplace(IFileTree const* dstTree, FileTreeEntry const* destination, FileTreeEntry const* source) override; virtual bool beforeInsert(IFileTree const* entry, FileTreeEntry const* name) override; virtual bool beforeRemove(IFileTree const* entry, FileTreeEntry const* name) override; - virtual std::shared_ptr<FileTreeEntry> makeFile(std::shared_ptr<const IFileTree> parent, QString name, QDateTime time) const override; + virtual std::shared_ptr<FileTreeEntry> makeFile(std::shared_ptr<const IFileTree> parent, QString name) const override; virtual std::shared_ptr<IFileTree> makeDirectory(std::shared_ptr<const IFileTree> parent, QString name) const override; - virtual void doPopulate(std::shared_ptr<const IFileTree> parent, std::vector<std::shared_ptr<FileTreeEntry>>& entries) const override; + virtual bool doPopulate(std::shared_ptr<const IFileTree> parent, std::vector<std::shared_ptr<FileTreeEntry>>& entries) const override; virtual std::shared_ptr<IFileTree> doClone() const override; QDir qDir; |
