18 #ifndef ELEMENTS_LOCATION_H 19 #define ELEMENTS_LOCATION_H 75 QDomElement
xml()
const;
76 bool setXml(
const QDomDocument &xml_document)
const;
QString m_collection_path
QString projectCollectionPath() const
ElementsLocation::projectCollectionPath.
int projectId() const
ElementsLocation::projectId This method is used to know if an element belongs to a project or not...
QString baseName() const
ElementsLocation::baseName.
bool isProject() const
ElementsLocation::isProject.
NamesList nameList()
ElementsLocation::nameList.
void setProject(QETProject *)
bool isFileSystem() const
ElementsLocation::isFileSystem.
QString fileName() const
ElementLocation::fileName.
QIcon icon() const
ElementLocation::icon.
static int MetaTypeId
Id of the corresponding Qt meta type.
ElementsLocation & operator=(const ElementsLocation &)
bool addToPath(const QString &)
ElementsLocation::addToPath Add a string to the actual path of this location.
DiagramContext elementInformations() const
ElementsLocation::elementInformations.
QString m_file_system_path
QUuid uuid() const
ElementsLocation::uuid.
XmlElementCollection * projectCollection() const
ElementsLocation::projectCollection.
bool setXml(const QDomDocument &xml_document) const
ElementsLocation::setXml Replace the current xml description by ; The document element of must have ...
void setPath(const QString &path)
ElementsLocation::setPath Set the path of this item. The path can be relative to a collection (start ...
bool operator!=(const ElementsLocation &) const
bool operator==(const ElementsLocation &) const
QETProject * project() const
QString collectionPath(bool protocol=true) const
QDomElement xml() const
ElementsLocation::xml.
QString name() const
ElementLocation::name.
ElementsLocation()
ElementsLocation::ElementsLocation Constructor.
bool exist() const
ElementsLocation::exist.
QString fileSystemPath() const
ElementsLocation::fileSystemPath.
QDebug operator<<(QDebug debug, const ElementsLocation &location)
bool isDirectory() const
ElementsLocation::isDirectory.
uint qHash(const ElementsLocation &)
virtual ~ElementsLocation()
bool isElement() const
ElementsLocation::isElement.
Q_DECLARE_METATYPE(NamesList)
bool isCommonCollection() const
ElementsLocation::isCommonCollection.
bool isCustomCollection() const
ElementsLocation::isCustomCollection.
QString path() const
ElementsLocation::path.
bool isWritable() const
ElementsLocation::isWritable.
ElementsLocation parent() const
The XmlElementCollection class This class represent a collection of elements stored to xml...