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

PIM Library: Class Overview

Introduction

There are three categories of classes in the Qt Extended 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 Qt Extended 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 Qt Extended.

ApplicationClass
AppointmentsQAppointmentDelegate
Contacts
Tasks


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3