52 #ifndef Patternist_NamespaceSupport_H 53 #define Patternist_NamespaceSupport_H 57 #include <QtCore/QExplicitlySharedDataPointer> 58 #include <QtCore/QHash> 59 #include <QtCore/QSet> 60 #include <QtCore/QStack> 61 #include <QtCore/QXmlStreamNamespaceDeclarations>
#define QT_END_NAMESPACE
This macro expands to.
QStack< NamespaceHash > m_nsStack
Store names such as namespace bindings and QNames and allows them to be referenced in efficient ways...
The QStack class is a template class that provides a stack.
The QString class provides a Unicode character string.
void setPrefix(const QXmlName::PrefixCode prefixCode, const QXmlName::NamespaceCode namespaceCode)
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
static QVector< Declaration > declarations(const QVector< StyleRule > &styleRules, const QString &part, quint64 pseudoClass=PseudoClass_Unspecified)
An element name to process.
void setTargetNamespace(const QXmlName::NamespaceCode code)
A helper class for handling nested namespace declarations.
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
QHash< QXmlName::PrefixCode, QXmlName::NamespaceCode > NamespaceHash
An attribute name to process.
QList< QXmlName > namespaceBindings() const
QXmlName::PrefixCode prefix(const QXmlName::NamespaceCode code) const
bool processName(const QString &qualifiedName, NameType type, QXmlName &name) const
QXmlName::NamespaceCode uri(const QXmlName::PrefixCode code) const
void setPrefixes(const QXmlStreamNamespaceDeclarations &declarations)