Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
There are three categories of classes in the Qt Extended PIM library:
Each type of PIM data will have one or more of each of these classes. For detailed class information refer to: PIM 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.
Application | Class |
---|---|
Appointments | QAppointment and QOccurrence |
Contacts | QContact |
Tasks | QTask |
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.
Application | Class |
---|---|
Appointments | QAppointmentModel and QOccurrenceModel |
Contacts | QContactModel |
Tasks | QTaskModel |
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.
Application | Class |
---|---|
Appointments | QAppointmentDelegate |
Contacts | |
Tasks |
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |