Qt 4.8
Public Types | Public Functions | Public Variables | List of all members
QDeclarativeParser::Value Class Reference

#include <qdeclarativeparser_p.h>

Inheritance diagram for QDeclarativeParser::Value:
QDeclarativeRefCount

Public Types

enum  Type {
  Unknown, Literal, PropertyBinding, ValueSource,
  ValueInterceptor, CreatedObject, SignalObject, SignalExpression,
  Id
}
 

Public Functions

QString primitive () const
 
 Value ()
 
virtual ~Value ()
 
- Public Functions inherited from QDeclarativeRefCount
void addref ()
 
 QDeclarativeRefCount ()
 
void release ()
 
virtual ~QDeclarativeRefCount ()
 

Public Variables

LocationSpan location
 
Objectobject
 
Type type
 
Variant value
 

Detailed Description

Definition at line 284 of file qdeclarativeparser_p.h.

Enumerations

◆ Type

Enumerator
Unknown 
Literal 
PropertyBinding 
ValueSource 
ValueInterceptor 
CreatedObject 
SignalObject 
SignalExpression 
Id 

Definition at line 290 of file qdeclarativeparser_p.h.

290  {
291  // The type of this value assignment is not yet known
292  Unknown,
293  // This is used as a literal property assignment
294  Literal,
295  // This is used as a property binding assignment
297  // This is used as a QDeclarativePropertyValueSource assignment
298  ValueSource,
299  // This is used as a QDeclarativePropertyValueInterceptor assignment
301  // This is used as a property QObject assignment
303  // This is used as a signal object assignment
304  SignalObject,
305  // This is used as a signal expression assignment
307  // This is used as an id assignment only
308  Id
309  };

Constructors and Destructors

◆ Value()

QDeclarativeParser::Value::Value ( )

◆ ~Value()

QDeclarativeParser::Value::~Value ( )
virtual

Definition at line 259 of file qdeclarativeparser.cpp.

260 {
261  if (object) object->release();
262 }

Functions

◆ primitive()

QString QDeclarativeParser::Value::primitive ( ) const
inline

Properties

◆ location

LocationSpan QDeclarativeParser::Value::location

◆ object

Object* QDeclarativeParser::Value::object

◆ type

Type QDeclarativeParser::Value::type

◆ value

Variant QDeclarativeParser::Value::value

The documentation for this class was generated from the following files: