18#ifndef FILEELEMENTCOLLECTIONITEM2_H
19#define FILEELEMENTCOLLECTIONITEM2_H
34 enum {
Type = UserType+2 };
39 bool hide_element =
false);
43 bool isDir()
const override;
47 QString
name()
const override;
61 bool hide_element =
false);
62 void populate(
bool set_data =
true,
bool hide_element =
false);
The ElementCollectionItem class This class represent a item (a directory or an element) in a element ...
Definition elementcollectionitem.h:30
The ElementsLocation class This class represents the location, the location of an element or of a cat...
Definition elementslocation.h:47
The FileElementCollectionItem class This class specialise ElementCollectionItem for manage a collecti...
Definition fileelementcollectionitem.h:30
bool isCommonCollection() const
FileElementCollectionItem::isCommonCollection.
Definition fileelementcollectionitem.cpp:235
QString collectionPath() const override
FileElementCollectionItem::collectionPath.
Definition fileelementcollectionitem.cpp:194
bool isElement() const override
FileElementCollectionItem::isElement.
Definition fileelementcollectionitem.cpp:107
FileElementCollectionItem()
FileElementCollectionItem::FileElementCollectionItem Constructor.
Definition fileelementcollectionitem.cpp:31
bool isCompanyCollection() const
FileElementCollectionItem::isCompanyCollection.
Definition fileelementcollectionitem.cpp:244
void setUpData() override
FileElementCollectionItem::setUpData SetUp the data of this item.
Definition fileelementcollectionitem.cpp:279
QString dirPath() const
FileElementCollectionItem::dirPath.
Definition fileelementcollectionitem.cpp:80
void populate(bool set_data=true, bool hide_element=false)
FileElementCollectionItem::populate Create the childs of this item.
Definition fileelementcollectionitem.cpp:366
QString fileSystemPath() const
FileElementCollectionItem::fileSystemPath.
Definition fileelementcollectionitem.cpp:62
void setPathName(const QString &path_name, bool set_data=true, bool hide_element=false)
FileElementCollectionItem::setPathName Set the name of this item in the file system path....
Definition fileelementcollectionitem.cpp:349
QString name() const override
FileElementCollectionItem::name.
Definition fileelementcollectionitem.cpp:182
bool isCustomCollection() const
FileElementCollectionItem::isCustomCollection.
Definition fileelementcollectionitem.cpp:253
bool isDir() const override
FileElementCollectionItem::isDir.
Definition fileelementcollectionitem.cpp:94
void addChildAtPath(const QString &collection_name) override
FileElementCollectionItem::addChildAtPath Ask to this item item to add a child with collection name c...
Definition fileelementcollectionitem.cpp:264
int type() const override
Definition fileelementcollectionitem.h:35
QString m_path
Definition fileelementcollectionitem.h:65
bool setRootPath(const QString &path, bool set_data=true, bool hide_element=false)
FileElementCollectionItem::setRootPath Set path has root path for this file item. Use this function o...
Definition fileelementcollectionitem.cpp:43
void setUpIcon() override
FileElementCollectionItem::setUpIcon SetUp the icon of this item. Because icon use several memory,...
Definition fileelementcollectionitem.cpp:315
bool isCollectionRoot() const override
FileElementCollectionItem::isCollectionRoot.
Definition fileelementcollectionitem.cpp:221
@ Type
Definition fileelementcollectionitem.h:34
QString localName() override
FileElementCollectionItem::localName.
Definition fileelementcollectionitem.cpp:116