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

PIM Synchronization

Qt Extended supports adding PIM synchronization at two levels of detail. Device synchronization and Desktop synchronization. Which one is most appropriate is dependent on the nature of the synchronization type to be integrated.

Device Synchronization

Qt Extended supports implementing PIM synchronization on the device through functions provided by QPimModel. The functions QPimModel::added(), QPimModel::removed() and QPimModel::modified() are provided as a way of accessing the internal changelog maintained by the PIM Library. This helps determine what data has changed since a previous synchronization action so to minimize the amount of data sent over a network when enacting the next synchronization. The functions QPimModel::startSyncTransaction(), QPimModel::abortSyncTransaction() and QPimModel::commitSyncTransaction() are provided to atomically apply changes for synchronization as well as to increase performance by virtue of the SQL transaction and reduced load on calculating changelog timestamps.

Device Synchronization is intended for integrating PIM synchronization for existing protocols where desktop components already exists. See Device Synchronization for more information.

Desktop Synchronization uses Device Synchronization as a sub-component.

Desktop Synchronization

Qt Extended supports implementing PIM synchronization on the desktop through an existing protocol and data merging functions in the Qt Extended Sync Agent. This allows synchronization with an app where using an existing protocol is not practical. It handles communicating changes between the device and the desktop, maintaining synchronization bookkeeping and a level of change merging.

Desktop Synchronization is intended for integrating PIM synchronization for existing applications using Qt Extended for the protocol and record merging. See Desktop Synchronization for more information.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3