QtMobility Reference Documentation

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

ConstantValue
QContactChangeLogFilter::EventAdded0
QContactChangeLogFilter::EventChanged1
QContactChangeLogFilter::EventRemoved2

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().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.