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
- 2 public functions inherited from LeafNode
Static Public Members
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)
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
|