Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

NameCollisionNode Class

 #include <NameCollisionNode>

Inherits: FakeNode.

Public Types

enum Access { Public, Protected, Private }
enum FlagValue { FlagValueDefault, FlagValueFalse, FlagValueTrue }
enum LinkType { StartLink, NextLink, PreviousLink, ContentsLink, IndexLink, InheritsLink }
enum PageType { NoPageType, ApiPage, ArticlePage, ExamplePage, ..., OnBeyondZebra }
enum Status { Compat, Obsolete, Deprecated, Preliminary, ..., Internal }
enum SubType { NoSubType, Example, HeaderFile, File, ..., LastSubtype }
enum ThreadSafeness { UnspecifiedSafeness, NonReentrant, Reentrant, ThreadSafe }
enum Type { Namespace, Class, Fake, Enum, ..., LastType }

Public Functions

NameCollisionNode(InnerNode * child)
~NameCollisionNode()
virtual ~Node()
Access access() const
QString accessString() const
void addCollision(InnerNode * child)
virtual void addGroupMember(Node *)
void addLinkTarget(const QString & t, const QString & v)
virtual void addPageKeywords(const QString &)
virtual void addQmlModuleMember(Node *)
virtual const Node * applyModuleIdentifier(const Node *) const
virtual ClassNode * classNode()
virtual void clearCurrentChild()
void clearRelated()
const InnerNode * currentChild() const
ClassNode * declarativeCppNode()
QString ditaXmlHref()
const Doc & doc() const
QString extractClassName(const QString & string) const
virtual QString fileBase() const
InnerNode * findAny(Node::Type t, Node::SubType st)
QString fullDocumentName() const
QString guid() const
virtual bool hasProperty(const QString &) const
QString idForNode() const
virtual QString idNumber()
virtual const ImportList * importList() const
Status inheritedStatus() const
ThreadSafeness inheritedThreadSafeness() const
virtual bool isAbstract() const
virtual bool isAttached() const
virtual bool isCollisionNode() const
virtual bool isFunction() const
bool isIndexNode() const
virtual bool isInnerNode() const = 0
bool isInternal() const
virtual bool isLeaf() const
virtual bool isQmlNode() const
virtual bool isQmlPropertyGroup() const
virtual bool isQtQuickNode() const
virtual bool isReimp() const
const QMap<QString, QString> & linkTargets() const
QMap<LinkType, QPair<QString, QString> > links() const
const Location & location() const
QString moduleName() const
const QString & name() const
virtual QString nameForLists() const
QString nodeSubtypeString() const
QString nodeTypeString() const
virtual QString outputFileName() const
const QString & outputSubdirectory() const
PageType pageType() const
QString pageTypeString() const
InnerNode * parent() const
QmlClassNode * qmlClassNode()
virtual QString qmlModuleIdentifier() const
virtual QString qmlModuleName() const
virtual QString qmlModuleVersion() const
virtual QString qmlTypeName() const
InnerNode * relates() const
virtual void setAbstract(bool)
void setAccess(Access access)
void setDoc(const Doc & doc, bool replace = false)
virtual void setImportList(const ImportList &)
void setIndexNodeFlag()
void setLink(LinkType linkType, const QString & link, const QString & desc)
void setLocation(const Location & location)
void setModuleName(const QString & module)
virtual void setOutputFileName(const QString &)
void setPageType(PageType t)
void setPageType(const QString & t)
void setParent(InnerNode * n)
virtual bool setQmlModule(const ArgLocPair & arg)
void setRelates(InnerNode * pseudoParent)
void setSince(const QString & since)
void setStatus(Status status)
void setTemplateStuff(const QString & templateStuff)
void setThreadSafeness(ThreadSafeness safeness)
void setUrl(const QString & url)
QString since() const
Status status() const
virtual SubType subType() const
QString templateStuff() const
ThreadSafeness threadSafeness() const
virtual QString title() const
Type type() const
QString url() const

Reimplemented Public Functions

virtual const Node * applyModuleIdentifier(const Node * origin) const
virtual void clearCurrentChild()
virtual bool isCollisionNode() const
virtual bool isQmlNode() const
virtual void setCurrentChild(InnerNode * child)
  • 15 public functions inherited from FakeNode
  • 36 public functions inherited from InnerNode

Static Public Members

QString cleanId(QString str)
void clearPropertyGroupCount()
bool fromFlagValue(FlagValue fv, bool defaultValue)
int incPropertyGroupCount()
QString nodeSubtypeString(unsigned t)
QString nodeTypeString(unsigned t)
QString pageTypeString(unsigned t)
FlagValue toFlagValue(bool b)
  • 2 static public members inherited from FakeNode

Protected Functions

Node(Type type, InnerNode * parent, const QString & name)

Detailed Description

An instance of this node is inserted in the tree whenever qdoc discovers that two nodes have the same name.

Member Function Documentation

NameCollisionNode::NameCollisionNode(InnerNode * child)

Constructs a name collision node containing child as its first child. The parent of child becomes this node's parent.

NameCollisionNode::~NameCollisionNode()

The destructor does nothing.

void NameCollisionNode::addCollision(InnerNode * child)

Add a collision to this collision node. child has the same name as the other children in this collision node. child becomes the current child.

void NameCollisionNode::addLinkTarget(const QString & t, const QString & v)

const Node * NameCollisionNode::applyModuleIdentifier(const Node * origin) const [virtual]

Reimplemented from Node::applyModuleIdentifier().

This node is a name collision node. Find a child of this node such that the child's QML module identifier matches origin's QML module identifier. Return the matching node, or return this node if there is no matching node.

void NameCollisionNode::clearCurrentChild() [virtual]

Reimplemented from Node::clearCurrentChild().

Sets the current child to 0. This should be called at the end of each file, because the current child is only valid within the file where the child is defined.

const InnerNode * NameCollisionNode::currentChild() const

Returns a pointer to the current child, which may be 0.

See also setCurrentChild().

InnerNode * NameCollisionNode::findAny(Node::Type t, Node::SubType st)

Find any of this collision node's children that has type t and subtype st and return a pointer to it.

bool NameCollisionNode::isCollisionNode() const [virtual]

bool NameCollisionNode::isQmlNode() const [virtual]

Reimplemented from Node::isQmlNode().

Returns true if this collision node's current node is a QML node.

const QMap<QString, QString> & NameCollisionNode::linkTargets() const

void NameCollisionNode::setCurrentChild(InnerNode * child) [virtual]

Reimplemented from InnerNode::setCurrentChild().

Sets the current child to child. The current child is valid only within the file where it is defined.

See also currentChild().

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web