Public Member Functions | Friends

TrackerFullUpdater Class Reference

List of all members.

Public Member Functions

 TrackerFullUpdater ()
 Constructs the TrackerFullUpdater.
 TrackerFullUpdater (const TrackerFullUpdater &other)
TrackerFullUpdateroperator= (const TrackerFullUpdater &other)
void watchClass (const QString &klass, const QStringList &predicates)
 Defines when to re-run the original query (when the class klass and one of its predicates changes).
void watchClassForInserts (const QString &klass, const QStringList &predicates)
 Defines when to re-run the original query (when one of the predicates is inserted for an object of the class klass).
void watchClassForDeletes (const QString &klass, const QStringList &predicates)
 Defines when to re-run the original query (when one of the predicates is deleted for an object of the class klass).

Friends

class TrackerLiveQuery

Constructor & Destructor Documentation

TrackerFullUpdater::TrackerFullUpdater (  ) 

Constructs the TrackerFullUpdater.

The user specifies to which changes the TrackerFullUpdater reacts to by calling watchClass() one or multiple times.


Member Function Documentation

void TrackerFullUpdater::watchClass ( const QString &  klass,
const QStringList &  predicates 
)

Defines when to re-run the original query (when the class klass and one of its predicates changes).

Empty predicate list means "all predicates". The original query is given to the TrackerLiveQuery constructor.

void TrackerFullUpdater::watchClassForDeletes ( const QString &  klass,
const QStringList &  predicates 
)

Defines when to re-run the original query (when one of the predicates is deleted for an object of the class klass).

Empty predicate list means "all predicates". The original query is given to the TrackerLiveQuery constructor.

void TrackerFullUpdater::watchClassForInserts ( const QString &  klass,
const QStringList &  predicates 
)

Defines when to re-run the original query (when one of the predicates is inserted for an object of the class klass).

Empty predicate list means "all predicates". The original query is given to the TrackerLiveQuery constructor.