Qt Mobility Reference Documentation

QOrganizerItemChangeLogFilter Class Reference

The QOrganizerItemChangeLogFilter class provides a filter based around a organizer item timestamp criterion. More...

 #include <QOrganizerItemChangeLogFilter>

Inherits QOrganizerItemFilter.


Public Types

enum EventType { EventAdded, EventChanged, EventRemoved }

Public Functions

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

Detailed Description

The QOrganizerItemChangeLogFilter class provides a filter based around a organizer item timestamp criterion.

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


Member Type Documentation

enum QOrganizerItemChangeLogFilter::EventType

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

ConstantValue
QOrganizerItemChangeLogFilter::EventAdded0
QOrganizerItemChangeLogFilter::EventChanged1
QOrganizerItemChangeLogFilter::EventRemoved2

Member Function Documentation

QOrganizerItemChangeLogFilter::QOrganizerItemChangeLogFilter ( QOrganizerItemChangeLogFilter::EventType type = QOrganizerItemChangeLogFilter::EventAdded )

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

QOrganizerItemChangeLogFilter::QOrganizerItemChangeLogFilter ( const QOrganizerItemFilter & other )

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

QOrganizerItemChangeLogFilter::EventType QOrganizerItemChangeLogFilter::eventType () const

Returns the type of change that this filter will match against

See also setEventType().

void QOrganizerItemChangeLogFilter::setEventType ( QOrganizerItemChangeLogFilter::EventType type )

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

See also eventType().

void QOrganizerItemChangeLogFilter::setSince ( const QDateTime & since )

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

See also since().

QDateTime QOrganizerItemChangeLogFilter::since () const

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

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.