bool QualifiedName::operator==(const QualifiedName& other) const { /*kDebug() << m_prefix.id() << other.prefixId().id() << ((m_prefix == other.prefixId())) << endl; kDebug() << (m_prefix == other.prefixId()) << (m_localName == other.localNameId()) << (m_namespace == other.namespaceNameId()) << endl;*/ return (m_prefix == other.prefixId() && m_localName == other.localNameId() && m_namespace == other.namespaceNameId()); }
bool QualifiedName::matches(const QualifiedName& other) const { //FIXME: IMPLEMENT return *this == other || (m_localName == other.localNameId() && (m_prefix == other.prefixId() || m_namespace == other.namespaceNameId())); }
QualifiedName::QualifiedName(const QualifiedName& name) { m_prefix = name.prefixId(); m_namespace = name.namespaceNameId(); m_localName = name.localNameId(); }