KHTML
QualifiedName.cpp
Go to the documentation of this file.
29 QualifiedName::QualifiedName(const DOMString& prefix, const DOMString& localName, const DOMString& namespaceURI)
66 /*kDebug() << m_prefix.id() << other.prefixId().id() << ((m_prefix == other.prefixId())) << endl;
67 kDebug() << (m_prefix == other.prefixId()) << (m_localName == other.localNameId()) << (m_namespace == other.namespaceNameId()) << endl;*/
68 return (m_prefix == other.prefixId() && m_localName == other.localNameId() && m_namespace == other.namespaceNameId());
79 return *this == other || (m_localName == other.localNameId() && (m_prefix == other.prefixId() || m_namespace == other.namespaceNameId()));
bool operator==(const QualifiedName &other) const
Definition: QualifiedName.cpp:64
Definition: QualifiedName.h:36
const QualifiedName & operator=(const QualifiedName &name)
Definition: QualifiedName.cpp:56
NamespaceName namespaceNameId() const
Definition: QualifiedName.h:60
void setPrefix(const PrefixName &prefix)
Definition: QualifiedName.cpp:82
bool matches(const QualifiedName &other) const
Definition: QualifiedName.cpp:76
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.