18#ifndef ELEMENTS_LOCATION_H
19#define ELEMENTS_LOCATION_H
21#include "../NameList/nameslist.h"
22#include "../diagramcontext.h"
23#include "pugixml/src/pugixml.hpp"
88 QDomElement
xml()
const;
89 pugi::xml_document
pugiXml()
const;
90 bool setXml(
const QDomDocument &xml_document)
const;
Definition diagramcontext.h:57
The ElementsLocation class This class represents the location, the location of an element or of a cat...
Definition elementslocation.h:47
QDomElement xml() const
ElementsLocation::xml.
Definition elementslocation.cpp:653
bool isNull() const
ElementsLocation::isNull.
Definition elementslocation.cpp:451
bool isCompanyCollection() const
ElementsLocation::isCompanyCollection.
Definition elementslocation.cpp:518
bool setXml(const QDomDocument &xml_document) const
ElementsLocation::setXml Replace the current xml description by xml_document; The document element of...
Definition elementslocation.cpp:741
bool operator==(const ElementsLocation &) const
ElementsLocation::operator ==.
Definition elementslocation.cpp:115
ElementsLocation parent() const
ElementsLocation::parent.
Definition elementslocation.cpp:398
QString m_file_system_path
Definition elementslocation.h:99
bool isElement() const
ElementsLocation::isElement.
Definition elementslocation.cpp:478
bool isCustomCollection() const
ElementsLocation::isCustomCollection.
Definition elementslocation.cpp:528
QUuid uuid() const
ElementsLocation::uuid.
Definition elementslocation.cpp:836
bool isWritable() const
ElementsLocation::isWritable.
Definition elementslocation.cpp:577
QString fileSystemPath() const
ElementsLocation::fileSystemPath.
Definition elementslocation.cpp:210
bool addToPath(const QString &)
ElementsLocation::addToPath Add a string to the actual path of this location.
Definition elementslocation.cpp:372
QIcon icon() const
ElementLocation::icon.
Definition elementslocation.cpp:855
bool isDirectory() const
ElementsLocation::isDirectory.
Definition elementslocation.cpp:487
QString baseName() const
ElementsLocation::baseName.
Definition elementslocation.cpp:146
pugi::xml_document pugiXml() const
ElementsLocation::pugiXml.
Definition elementslocation.cpp:688
QString m_collection_path
Definition elementslocation.h:98
virtual ~ElementsLocation()
ElementsLocation::~ElementsLocation Destructeur.
Definition elementslocation.cpp:57
void setProject(QETProject *)
ElementsLocation::setProject.
Definition elementslocation.cpp:441
QETProject * m_project
Definition elementslocation.h:100
void setPath(const QString &path)
ElementsLocation::setPath Set the path of this item. The path can be relative to a collection (start ...
Definition elementslocation.cpp:235
QString name() const
ElementLocation::name.
Definition elementslocation.cpp:875
QString projectCollectionPath() const
ElementsLocation::projectCollectionPath.
Definition elementslocation.cpp:193
bool isFileSystem() const
ElementsLocation::isFileSystem.
Definition elementslocation.cpp:496
ElementsLocation()
ElementsLocation::ElementsLocation Constructor.
Definition elementslocation.cpp:37
std::stringstream m_string_stream
Definition elementslocation.h:102
bool operator!=(const ElementsLocation &) const
ElementsLocation::operator != Operateur de comparaison.
Definition elementslocation.cpp:130
DiagramContext elementInformations() const
ElementsLocation::elementInformations.
Definition elementslocation.cpp:910
QString toString() const
ElementsLocation::toString.
Definition elementslocation.cpp:461
XmlElementCollection * projectCollection() const
ElementsLocation::projectCollection.
Definition elementslocation.cpp:597
QString fileName() const
ElementLocation::fileName.
Definition elementslocation.cpp:892
QString path() const
ElementsLocation::path.
Definition elementslocation.cpp:223
QETProject * project() const
ElementsLocation::project.
Definition elementslocation.cpp:428
bool exist() const
ElementsLocation::exist.
Definition elementslocation.cpp:550
bool isProject() const
ElementsLocation::isProject.
Definition elementslocation.cpp:537
ElementsLocation & operator=(const ElementsLocation &)
ElementsLocation::operator = Assignment operator.
Definition elementslocation.cpp:98
NamesList nameList()
ElementsLocation::nameList.
Definition elementslocation.cpp:610
static int MetaTypeId
Id of the corresponding Qt meta type.
Definition elementslocation.h:106
QString collectionPath(bool protocol=true) const
ElementsLocation::collectionPath Return the path of the represented element relative to collection if...
Definition elementslocation.cpp:177
bool isCommonCollection() const
ElementsLocation::isCommonCollection.
Definition elementslocation.cpp:508
Definition nameslist.h:31
Definition qetproject.h:62
The XmlElementCollection class This class represent a collection of elements stored to xml.
Definition xmlelementcollection.h:34
QDebug operator<<(QDebug debug, const ElementsLocation &location)
operator << debug for processing ElementsLocation
Definition elementslocation.cpp:929
Q_DECLARE_METATYPE(NamesList)