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  · 

PropertyNode Class

 #include <PropertyNode>

Inherits: LeafNode.

Public Types

enum Access { Public, Protected, Private }
enum FlagValue { FlagValueDefault, FlagValueFalse, FlagValueTrue }
enum FunctionRole { Getter, Setter, Resetter, Notifier }
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

PropertyNode(InnerNode * parent, const QString & name)
virtual ~Node()
virtual ~PropertyNode()
Access access() const
QString accessString() const
void addFunction(FunctionNode * function, FunctionRole role)
virtual void addGroupMember(Node *)
virtual void addPageKeywords(const QString &)
virtual void addQmlModuleMember(Node *)
void addSignal(FunctionNode * function, FunctionRole role)
virtual const Node * applyModuleIdentifier(const Node *) const
virtual ClassNode * classNode()
virtual void clearCurrentChild()
void clearRelated()
const QString & dataType() const
ClassNode * declarativeCppNode()
bool designableDefault() const
QString ditaXmlHref()
const Doc & doc() const
QString extractClassName(const QString & string) const
virtual QString fileBase() const
QString fullDocumentName() const
NodeList functions() const
NodeList functions(FunctionRole role) const
NodeList getters() 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
bool isConstant() const
bool isDesignable() const
bool isFinal() 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
bool isScriptable() const
bool isStored() const
bool isUser() const
bool isWritable() 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
NodeList notifiers() const
virtual QString outputFileName() const
const QString & outputSubdirectory() const
const PropertyNode * overriddenFrom() 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
QString qualifiedDataType() const
InnerNode * relates() const
NodeList resetters() const
const QString & runtimeDesignabilityFunction() const
const QString & runtimeScriptabilityFunction() const
bool scriptableDefault() const
virtual void setAbstract(bool)
void setAccess(Access access)
void setConstant()
void setDataType(const QString & dataType)
void setDesignable(bool designable)
void setDoc(const Doc & doc, bool replace = false)
void setFinal()
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 setOverriddenFrom(const PropertyNode * baseProperty)
void setPageType(PageType t)
void setPageType(const QString & t)
void setParent(InnerNode * n)
virtual bool setQmlModule(const ArgLocPair & arg)
void setRelates(InnerNode * pseudoParent)
void setRevision(int revision)
void setRuntimeDesFunc(const QString & rdf)
void setRuntimeScrFunc(const QString & scrf)
void setScriptable(bool scriptable)
void setSince(const QString & since)
void setStatus(Status status)
void setStored(bool stored)
void setTemplateStuff(const QString & templateStuff)
void setThreadSafeness(ThreadSafeness safeness)
void setUrl(const QString & url)
void setUser(bool user)
void setWritable(bool writable)
NodeList setters() const
QString since() const
Status status() const
bool storedDefault() const
virtual SubType subType() const
QString templateStuff() const
ThreadSafeness threadSafeness() const
virtual QString title() const
Type type() const
QString url() const
bool userDefault() const
bool writableDefault() const
  • 2 public functions inherited from LeafNode

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 describes one instance of using the Q_PROPERTY macro.

Member Type Documentation

enum PropertyNode::FunctionRole

Member Function Documentation

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

The constructor sets the parent and the name, but everything else is set to default values.

PropertyNode::~PropertyNode() [virtual]

void PropertyNode::addFunction(FunctionNode * function, FunctionRole role)

void PropertyNode::addSignal(FunctionNode * function, FunctionRole role)

const QString & PropertyNode::dataType() const

See also setDataType().

bool PropertyNode::designableDefault() const

NodeList PropertyNode::functions() const

NodeList PropertyNode::functions(FunctionRole role) const

NodeList PropertyNode::getters() const

bool PropertyNode::isConstant() const

bool PropertyNode::isDesignable() const

bool PropertyNode::isFinal() const

bool PropertyNode::isScriptable() const

bool PropertyNode::isStored() const

bool PropertyNode::isUser() const

bool PropertyNode::isWritable() const

NodeList PropertyNode::notifiers() const

const PropertyNode * PropertyNode::overriddenFrom() const

See also setOverriddenFrom().

QString PropertyNode::qualifiedDataType() const

NodeList PropertyNode::resetters() const

const QString & PropertyNode::runtimeDesignabilityFunction() const

const QString & PropertyNode::runtimeScriptabilityFunction() const

bool PropertyNode::scriptableDefault() const

void PropertyNode::setConstant()

See also isConstant().

void PropertyNode::setDataType(const QString & dataType)

See also dataType().

void PropertyNode::setDesignable(bool designable)

See also isDesignable().

void PropertyNode::setFinal()

See also isFinal().

void PropertyNode::setOverriddenFrom(const PropertyNode * baseProperty)

Sets this property's overridden from property to baseProperty, which indicates that this property overrides baseProperty. To begin with, all the values in this property are set to the corresponding values in baseProperty.

We probably should ensure that the constant and final attributes are not being overridden improperly.

See also overriddenFrom().

void PropertyNode::setRevision(int revision)

void PropertyNode::setRuntimeDesFunc(const QString & rdf)

void PropertyNode::setRuntimeScrFunc(const QString & scrf)

void PropertyNode::setScriptable(bool scriptable)

See also isScriptable().

void PropertyNode::setStored(bool stored)

See also isStored().

void PropertyNode::setUser(bool user)

See also isUser().

void PropertyNode::setWritable(bool writable)

See also isWritable().

NodeList PropertyNode::setters() const

bool PropertyNode::storedDefault() const

bool PropertyNode::userDefault() const

bool PropertyNode::writableDefault() const

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