From d13f6bb870cdda71257f665367be8ef9fca86255 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Tue, 17 May 2022 11:47:01 +0200 Subject: Apply clang-format. --- src/qdirfiletree.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'src/qdirfiletree.h') diff --git a/src/qdirfiletree.h b/src/qdirfiletree.h index e9229bf5..1b3f7294 100644 --- a/src/qdirfiletree.h +++ b/src/qdirfiletree.h @@ -24,19 +24,19 @@ along with Mod Organizer. If not, see . #include "ifiletree.h" - /** - * @brief Class that expose a directory on the drive, using QDir, as a `MOBase::IFileTree`. + * @brief Class that expose a directory on the drive, using QDir, as a + * `MOBase::IFileTree`. * - * The tree is lazily populated: each subtree is only populated (from the disk) when needed, - * as specified by IFileTree. + * The tree is lazily populated: each subtree is only populated (from the disk) when + * needed, as specified by IFileTree. * * This class does not expose mutable operations, so any mutable operations will * fail. */ -class QDirFileTree : public MOBase::IFileTree { +class QDirFileTree : public MOBase::IFileTree +{ public: - /** * @brief Create a new file tree representing the given directory. * @@ -46,13 +46,15 @@ public: * * @return a file tree representing the given directory. */ - static std::shared_ptr makeTree(QDir directory, bool ignoreRootMeta = true); + static std::shared_ptr makeTree(QDir directory, + bool ignoreRootMeta = true); protected: - using IFileTree::IFileTree; - virtual bool doPopulate(std::shared_ptr parent, std::vector>& entries) const = 0; + virtual bool + doPopulate(std::shared_ptr parent, + std::vector>& entries) const = 0; }; #endif -- cgit v1.3.1