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  · 

ClassNode Class

This class represents a C++ class. More...

 #include <ClassNode>

Inherits: InnerNode.

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

ClassNode(InnerNode * parent, const QString & name)
virtual ~ClassNode()
virtual ~Node()
Access access() const
QString accessString() const
void addBaseClass(Access access, ClassNode * node, const QString & dataTypeWithTemplateArgs = "")
virtual void addGroupMember(Node *)
virtual void addPageKeywords(const QString &)
virtual void addQmlModuleMember(Node *)
virtual const Node * applyModuleIdentifier(const Node *) const
const QList<RelatedClass> & baseClasses() const
virtual ClassNode * classNode()
virtual void clearCurrentChild()
void clearRelated()
ClassNode * declarativeCppNode()
const QList<RelatedClass> & derivedClasses() const
QString ditaXmlHref()
const Doc & doc() const
QString extractClassName(const QString & string) const
virtual QString fileBase() const
PropertyNode * findPropertyNode(const QString & name)
QmlClassNode * findQmlBaseNode()
void fixBaseClasses()
QString fullDocumentName() const
QString guid() const
virtual bool hasProperty(const QString &) const
bool hideFromMainList() const
QString idForNode() const
virtual QString idNumber()
const QList<RelatedClass> & ignoredBaseClasses() 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()
QmlClassNode * qmlElement()
virtual QString qmlModuleIdentifier() const
virtual QString qmlModuleName() const
virtual QString qmlModuleVersion() const
virtual QString qmlTypeName() const
InnerNode * relates() const
QString serviceName() const
virtual void setAbstract(bool)
void setAccess(Access access)
void setDoc(const Doc & doc, bool replace = false)
void setHideFromMainList(bool value)
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)
void setQmlElement(QmlClassNode * qcn)
virtual bool setQmlModule(const ArgLocPair & arg)
void setRelates(InnerNode * pseudoParent)
void setServiceName(const QString & value)
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 isAbstract() const
virtual void setAbstract(bool b)
  • 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)

Protected Functions

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

Detailed Description

This class represents a C++ class.

Member Function Documentation

ClassNode::ClassNode(InnerNode * parent, const QString & name)

Constructs a class node. A class node will generate an API page.

ClassNode::~ClassNode() [virtual]

void ClassNode::addBaseClass(Access access, ClassNode * node, const QString & dataTypeWithTemplateArgs = "")

const QList<RelatedClass> & ClassNode::baseClasses() const

const QList<RelatedClass> & ClassNode::derivedClasses() const

PropertyNode * ClassNode::findPropertyNode(const QString & name)

Search the child list to find the property node with the specified name.

QmlClassNode * ClassNode::findQmlBaseNode()

This function does a recursive search of this class node's base classes looking for one that has a QML element. If it finds one, it returns the pointer to that QML element. If it doesn't find one, it returns null.

void ClassNode::fixBaseClasses()

bool ClassNode::hideFromMainList() const

See also setHideFromMainList().

const QList<RelatedClass> & ClassNode::ignoredBaseClasses() const

bool ClassNode::isAbstract() const [virtual]

QmlClassNode * ClassNode::qmlElement()

See also setQmlElement().

QString ClassNode::serviceName() const

See also setServiceName().

void ClassNode::setAbstract(bool b) [virtual]

See also isAbstract().

void ClassNode::setHideFromMainList(bool value)

See also hideFromMainList().

void ClassNode::setQmlElement(QmlClassNode * qcn)

See also qmlElement().

void ClassNode::setServiceName(const QString & value)

See also serviceName().

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