Qt 4.8
Public Functions | Public Variables | List of all members
QDeclarativeContextData::ContextGuard Struct Reference

#include <qdeclarativecontext_p.h>

Inheritance diagram for QDeclarativeContextData::ContextGuard:
QDeclarativeGuard< QObject > QDeclarativeGuardImpl

Public Functions

 ContextGuard ()
 
virtual void objectDestroyed (QObject *)
 
ContextGuardoperator= (QObject *obj)
 
- Public Functions inherited from QDeclarativeGuard< QObject >
QObjectdata () const
 
bool isNull () const
 
QObjectobject () const
 
 operator QObject * () const
 
QObjectoperator* () const
 
QObjectoperator-> () const
 
QDeclarativeGuard< QObject > & operator= (const QDeclarativeGuard< QObject > &o)
 
QDeclarativeGuard< QObject > & operator= (QObject *)
 
 QDeclarativeGuard ()
 
 QDeclarativeGuard (QObject *)
 
 QDeclarativeGuard (const QDeclarativeGuard< QObject > &)
 
void setObject (QObject *g)
 
virtual ~QDeclarativeGuard ()
 

Public Variables

QDeclarativeNotifier bindings
 
QDeclarativeContextDatacontext
 

Additional Inherited Members

Detailed Description

Definition at line 174 of file qdeclarativecontext_p.h.

Constructors and Destructors

◆ ContextGuard()

QDeclarativeContextData::ContextGuard::ContextGuard ( )
inline

Definition at line 176 of file qdeclarativecontext_p.h.

176 : context(0) {}

Functions

◆ objectDestroyed()

virtual void QDeclarativeContextData::ContextGuard::objectDestroyed ( QObject )
inlinevirtual

Reimplemented from QDeclarativeGuard< QObject >.

Definition at line 179 of file qdeclarativecontext_p.h.

◆ operator=()

ContextGuard& QDeclarativeContextData::ContextGuard::operator= ( QObject obj)
inline

Definition at line 177 of file qdeclarativecontext_p.h.

178  { QDeclarativeGuard<QObject>::operator=(obj); return *this; }
QDeclarativeGuard< T > & operator=(const QDeclarativeGuard< T > &o)

Properties

◆ bindings

QDeclarativeNotifier QDeclarativeContextData::ContextGuard::bindings

◆ context

QDeclarativeContextData* QDeclarativeContextData::ContextGuard::context

Definition at line 182 of file qdeclarativecontext_p.h.

Referenced by QDeclarativeContextData::setIdProperty().


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