Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QDependentEventsContext Class Reference
[QtMessagingModule, QtPimModule, QtTelephonyModule, QtUiModule]

The QDependentEventsContext class provides a base class for QAppointments generated by other models. More...

    #include <QDependentEventsContext>

This class is under development and is subject to change.

Inherits QAppointmentContext.

Inherited by QContactAnniversaryContext, QContactBirthdayContext, and QTaskEventContext.

Public Functions

Additional Inherited Members


Detailed Description

The QDependentEventsContext class provides a base class for QAppointments generated by other models.

It provides a simplified version of a QAppointmentContext that provides mostly read only access to events (QAppointments) that might be generated by other PIM data - for example, birthdays from contacts. In this sense, the events presented by the QDependentEventsContext are dependent on other types of PIM records.

See also QAppointment, QContactBirthdayContext, QContactAnniversaryContext, QTaskEventContext, and Pim Library.


Member Function Documentation

QDependentEventsContext::QDependentEventsContext ( QObject * parent, QAppointmentSqlIO * access )

Creates a QDependentBirthdayContext with the given parent and IO access.

bool QDependentEventsContext::editable () const   [virtual]

Returns false, as QDependentEventsContext records are not editable through QAppointmentModel.

Reimplemented from QPimContext.

uint QDependentEventsContext::mappedContext ()

Returns the identifier for this context, mapped to the local device.

See also id() and QUniqueIdGenerator::mappedContext().

QSet<QPimSource> QDependentEventsContext::sources () const   [virtual]

Returns a list with the default source in it.

Reimplemented from QPimContext.

See also defaultSource().


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3