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  · 

FakeNode Class

 #include <FakeNode>

Inherits: InnerNode.

Inherited by: NameCollisionNode.

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

FakeNode(InnerNode * parent, const QString & name, SubType subType, PageType ptype)
virtual ~FakeNode()
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
virtual QString fullTitle() const
const NodeList & groupMembers() const
QString guid() const
virtual bool hasProperty(const QString &) const
QString idForNode() const
virtual QString idNumber()
virtual QString imageFileName() const
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
const NodeList & qmlModuleMembers() 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 setImageFileName(const QString &)
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 setSubTitle(const QString & subTitle)
void setTemplateStuff(const QString & templateStuff)
void setThreadSafeness(ThreadSafeness safeness)
void setTitle(const QString & title)
void setUrl(const QString & url)
QString since() const
Status status() const
virtual QString subTitle() 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 void addGroupMember(Node * node)
virtual void addQmlModuleMember(Node * node)
virtual bool hasProperty(const QString & name) const
virtual bool isQmlPropertyGroup() const
virtual QString nameForLists() const
virtual SubType subType() const
virtual QString title() const
  • 36 public functions inherited from InnerNode

Static Public Members

QString cleanId(QString str)
void clearPropertyGroupCount()
bool fromFlagValue(FlagValue fv, bool defaultValue)
int incPropertyGroupCount()
void insertQmlModuleNode(const QString & qmid, FakeNode * fn)
FakeNode * lookupQmlModuleNode(Tree * tree, const ArgLocPair & arg)
QString nodeSubtypeString(unsigned t)
QString nodeTypeString(unsigned t)
QString pageTypeString(unsigned t)
FlagValue toFlagValue(bool b)

Protected Functions

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

Detailed Description

Member Function Documentation

FakeNode::FakeNode(InnerNode * parent, const QString & name, SubType subType, PageType ptype)

FakeNode::~FakeNode() [virtual]

void FakeNode::addGroupMember(Node * node) [virtual]

void FakeNode::addQmlModuleMember(Node * node) [virtual]

QString FakeNode::fullTitle() const [virtual]

Returns the fake node's full title, which is usually just title(), but for some SubType values is different from title()

const NodeList & FakeNode::groupMembers() const

bool FakeNode::hasProperty(const QString & name) const [virtual]

Reimplemented from Node::hasProperty().

Returns true if this QML type or property group contains a property named name.

QString FakeNode::imageFileName() const [virtual]

See also setImageFileName().

void FakeNode::insertQmlModuleNode(const QString & qmid, FakeNode * fn) [static]

The QML module map contains an entry for each QML module identifier. A QML module identifier is constucted from the QML module name and the module's major version number, like this: <module-name><major-version>

If the QML module map does not contain the module identifier qmid, insert the QML module node fn mapped to qmid.

bool FakeNode::isQmlPropertyGroup() const [virtual]

FakeNode * FakeNode::lookupQmlModuleNode(Tree * tree, const ArgLocPair & arg) [static]

Returns a pointer to the QML module node (FakeNode) that is mapped to the QML module identifier constructed from arg. If that QML module node does not yet exist, it is constructed and inserted into the QML module map mapped to the QML module identifier constructed from arg.

QString FakeNode::nameForLists() const [virtual]

const NodeList & FakeNode::qmlModuleMembers() const

void FakeNode::setImageFileName(const QString &) [virtual]

See also imageFileName().

void FakeNode::setSubTitle(const QString & subTitle)

See also subTitle().

void FakeNode::setTitle(const QString & title)

See also title().

QString FakeNode::subTitle() const [virtual]

Returns the subtitle.

See also setSubTitle().

SubType FakeNode::subType() const [virtual]

QString FakeNode::title() const [virtual]

Reimplemented from Node::title().

Returns the fake node's title. This is used for the page title.

See also setTitle().

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