MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QContactChangeLogFilter Class Reference

The QContactChangeLogFilter class provides a filter based around a contact timestamp criterion. More...

 #include <QContactChangeLogFilter>

Inherits: QContactFilter.

This class was introduced in Qt Mobility 1.0.

Public Types

enum EventType { EventAdded, EventChanged, EventRemoved }

Public Functions

QContactChangeLogFilter ( QContactChangeLogFilter::EventType type = QContactChangeLogFilter::EventAdded )
QContactChangeLogFilter ( const QContactFilter & other )
QContactChangeLogFilter::EventType eventType () const
void setEventType ( QContactChangeLogFilter::EventType type )
void setSince ( const QDateTime & since )
QDateTime since () const

Detailed Description

The QContactChangeLogFilter class provides a filter based around a contact timestamp criterion.

It may be used to select contacts which have been updated or created within a certain period of time.

Member Type Documentation

enum QContactChangeLogFilter::EventType

Enumerates the type of changes which a changelog filter can match against

Constant Value
QContactChangeLogFilter::EventAdded 0
QContactChangeLogFilter::EventChanged 1
QContactChangeLogFilter::EventRemoved 2

Member Function Documentation

QContactChangeLogFilter::QContactChangeLogFilter ( QContactChangeLogFilter::EventType type = QContactChangeLogFilter::EventAdded )

Constructs a new changelog filter which matches changes of the specified type

QContactChangeLogFilter::QContactChangeLogFilter ( const QContactFilter & other )

Constructs a copy of other if possible, otherwise constructs a new changelog filter

This function was introduced in Qt Mobility 1.0.

QContactChangeLogFilter::EventType QContactChangeLogFilter::eventType () const

Returns the type of change that this filter will match against

This function was introduced in Qt Mobility 1.0.

See also setEventType().

void QContactChangeLogFilter::setEventType ( QContactChangeLogFilter::EventType type )

Sets the type of change that this filter will match against to type

This function was introduced in Qt Mobility 1.0.

See also eventType().

void QContactChangeLogFilter::setSince ( const QDateTime & since )

Sets the date and time lower-bound criterion of the filter to since

This function was introduced in Qt Mobility 1.0.

See also since().

QDateTime QContactChangeLogFilter::since () const

Returns the date and time lower-bound criterion of the filter

This function was introduced in Qt Mobility 1.0.

See also setSince().