Qt 4.8
Public Functions | Public Variables | List of all members
QDeclarativeListModelWorkerAgent::VariantRef Struct Reference

#include <qdeclarativelistmodelworkeragent_p.h>

Public Functions

VariantRefoperator= (const VariantRef &o)
 
 VariantRef ()
 
 VariantRef (const VariantRef &r)
 
 VariantRef (QDeclarativeListModelWorkerAgent *_a)
 
 ~VariantRef ()
 

Public Variables

QDeclarativeListModelWorkerAgenta
 

Detailed Description

Definition at line 99 of file qdeclarativelistmodelworkeragent_p.h.

Constructors and Destructors

◆ VariantRef() [1/3]

QDeclarativeListModelWorkerAgent::VariantRef::VariantRef ( )
inline

Definition at line 101 of file qdeclarativelistmodelworkeragent_p.h.

101 : a(0) {}

◆ VariantRef() [2/3]

QDeclarativeListModelWorkerAgent::VariantRef::VariantRef ( const VariantRef r)
inline

◆ VariantRef() [3/3]

QDeclarativeListModelWorkerAgent::VariantRef::VariantRef ( QDeclarativeListModelWorkerAgent _a)
inline

◆ ~VariantRef()

QDeclarativeListModelWorkerAgent::VariantRef::~VariantRef ( )
inline

Functions

◆ operator=()

VariantRef& QDeclarativeListModelWorkerAgent::VariantRef::operator= ( const VariantRef o)
inline

Definition at line 106 of file qdeclarativelistmodelworkeragent_p.h.

106  {
107  if (o.a) o.a->addref();
108  if (a) a->release(); a = o.a;
109  return *this;
110  }

Properties

◆ a

QDeclarativeListModelWorkerAgent* QDeclarativeListModelWorkerAgent::VariantRef::a

The documentation for this struct was generated from the following file: