Wrap code for better readability

This commit is contained in:
Simon De Backer
2020-07-24 22:44:32 +02:00
parent c0df06c2ee
commit 49cca54adc
3 changed files with 39 additions and 13 deletions

View File

@@ -34,7 +34,9 @@ class FileElementCollectionItem : public ElementCollectionItem
enum { Type = UserType+2 };
int type() const override { return Type;}
bool setRootPath(const QString& path, bool set_data = true, bool hide_element = false);
bool setRootPath(const QString& path,
bool set_data = true,
bool hide_element = false);
QString fileSystemPath() const;
QString dirPath() const;
@@ -53,7 +55,9 @@ class FileElementCollectionItem : public ElementCollectionItem
void setUpIcon() override;
private:
void setPathName(const QString& path_name, bool set_data = true, bool hide_element = false);
void setPathName(const QString& path_name,
bool set_data = true,
bool hide_element = false);
void populate(bool set_data = true, bool hide_element = false);
private: