Home · All Classes · Grouped Classes · Annotated · Functions

PIM Library: Class Overview

Introduction

There are three categories of classes in the Qtopia PIM library:

  1. Record classes
  2. Model classes
  3. GUI classes.

Each type of PIM data will have one or more of each of these classes. For detailed class information refer to: PIM Classes.

Record Classes

The Record class is the class used to pass around data for the particular kind of PIM data. For example the QAppointment class is used to get the description of an appointment, and determine when the appointment will next occur. This class is also used to pass data between applications. Changes to the PIM data will not be reflected in Record classes already constructed, and to get updated records they must be retrieved again from the appropriate Model class.

ApplicationClass
AppointmentsQAppointment and QOccurrence
ContactsQContact
TasksQTask

Model Classes

The Model class is used to access the PIM data. The Model classes are subclasses of QAbstractItemModel and are used in QListView and QTableView. Any change made by the application or another process using the Qtopia PIM library will be reflected in the Model class. The model class will also signal changes made by the applications or other processes so the application and its views can be updated.

ApplicationClass
AppointmentsQAppointmentModel and QOccurrenceModel
ContactsQContactModel
TasksQTaskModel

GUI Classes

GUI classes are provided to create a consistent look and feel between applications. It is not necessary to use them when accessing the PIM data, however they do make development simpler and ensure consistency with Qtopia.

ApplicationClass
AppointmentsQAppointmentDelegate
Contacts
Tasks


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3