Qt 4.8
Public Functions | Public Variables | List of all members
QDeclarativePackagePrivate::DataGuard Struct Reference
Inheritance diagram for QDeclarativePackagePrivate::DataGuard:
QDeclarativeGuard< QObject > QDeclarativeGuardImpl

Public Functions

 DataGuard (QObject *obj, QList< DataGuard > *l)
 
void objectDestroyed (QObject *)
 
- 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

QList< DataGuard > * list
 

Additional Inherited Members

Detailed Description

Definition at line 94 of file qdeclarativepackage.cpp.

Constructors and Destructors

◆ DataGuard()

QDeclarativePackagePrivate::DataGuard::DataGuard ( QObject obj,
QList< DataGuard > *  l 
)
inline

Functions

◆ objectDestroyed()

void QDeclarativePackagePrivate::DataGuard::objectDestroyed ( QObject )
inlinevirtual

Reimplemented from QDeclarativeGuard< QObject >.

Definition at line 98 of file qdeclarativepackage.cpp.

98  {
99  // we assume priv will always be destroyed after objectDestroyed calls
100  list->removeOne(*this);
101  }

Properties

◆ list

QList<DataGuard>* QDeclarativePackagePrivate::DataGuard::list

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