Qt 4.8
|
The QDeclarativeCleanup provides a callback when a QDeclarativeEngine is deleted. More...
#include <qdeclarativecleanup_p.h>
Public Functions | |
QDeclarativeCleanup (QDeclarativeEngine *) | |
virtual | ~QDeclarativeCleanup () |
Protected Functions | |
virtual void | clear ()=0 |
Properties | |
QDeclarativeCleanup * | next |
QDeclarativeCleanup ** | prev |
Friends | |
class | QDeclarativeEnginePrivate |
The QDeclarativeCleanup provides a callback when a QDeclarativeEngine is deleted.
Any object that needs cleanup to occur before the QDeclarativeEngine's QScriptEngine is destroyed should inherit from QDeclarativeCleanup. The clear() virtual method will be called by QDeclarativeEngine just before it deletes the QScriptEngine.
Definition at line 61 of file qdeclarativecleanup_p.h.
QDeclarativeCleanup::QDeclarativeCleanup | ( | QDeclarativeEngine * | engine | ) |
Create a QDeclarativeCleanup for engine
Definition at line 66 of file qdeclarativecleanup.cpp.
|
virtual |
Definition at line 83 of file qdeclarativecleanup.cpp.
|
protectedpure virtual |
Implemented in QDeclarativePropertyCache, QDeclarativeCompiledData, QDeclarativeTypeNameCache, and QDeclarativeIntegerCache.
Referenced by QDeclarativeEnginePrivate::~QDeclarativeEnginePrivate().
|
friend |
Definition at line 71 of file qdeclarativecleanup_p.h.
|
private |
Definition at line 73 of file qdeclarativecleanup_p.h.
Referenced by QDeclarativeCleanup(), ~QDeclarativeCleanup(), and QDeclarativeEnginePrivate::~QDeclarativeEnginePrivate().
|
private |
Definition at line 72 of file qdeclarativecleanup_p.h.
Referenced by QDeclarativeCleanup(), ~QDeclarativeCleanup(), and QDeclarativeEnginePrivate::~QDeclarativeEnginePrivate().