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  · 

LeafNode Class

 #include <LeafNode>

Inherits: Node.

Inherited by: EnumNode, FunctionNode, PropertyNode, and TypedefNode.

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

LeafNode()
virtual ~LeafNode()
virtual ~Node()
Access access() const
QString accessString() const
virtual void addGroupMember(Node *)
virtual void addPageKeywords(const QString &)
virtual void addQmlModuleMember(Node *)
virtual const Node * applyModuleIdentifier(const Node *) const
virtual ClassNode * classNode()
virtual void clearCurrentChild()
void clearRelated()
ClassNode * declarativeCppNode()
QString ditaXmlHref()
const Doc & doc() const
QString extractClassName(const QString & string) const
virtual QString fileBase() const
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
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 bool isInnerNode() const
virtual bool isLeaf() const

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)

Protected Functions

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

Detailed Description

Member Function Documentation

LeafNode::LeafNode()

LeafNode::LeafNode(Type type, InnerNode * parent, const QString & name) [protected]

Constructs a leaf node named name of the specified type. The new leaf node becomes a child of parent.

LeafNode::LeafNode(InnerNode * parent, Type type, const QString & name) [protected]

This constructor should only be used when this node's parent is meant to be parent, but this node is not to be listed as a child of parent. It is currently only used for the documentation case where a qmlproperty command is used to override the QML definition of a QML property.

LeafNode::~LeafNode() [virtual]

bool LeafNode::isInnerNode() const [virtual]

Reimplemented from Node::isInnerNode().

Returns false because this is a LeafNode.

bool LeafNode::isLeaf() const [virtual]

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