Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QPimSourceDialog class provides a dialog for selecting visible PIM sources for a PIM model. More...
#include <QPimSourceDialog>
Inherits QDialog.
The QPimSourceDialog class provides a dialog for selecting visible PIM sources for a PIM model.
This is useful to allow the user to filter out certain types of QPimRecords - for example, to only show QContacts that are stored on a SIM card.
This dialog can be subclassed if further functionality is required (e.g. adding sources, syncing between sources, or importing/exporting)
You must specify the PIM model to operate on using setPimModel(). This dialog will query the model for the available PIM sources, and present the user with a checkable list. Once the user accepts the dialog, the model's list of visible sources will automatically be updated to the dialog's selected sources.
The window title should be set by the creator.
See also QPimSource, QPimSourceModel, QPimModel, and Pim Library.
Constructs a QPimSourceDialog with the given parent.
Destroys a QPimSourceDialog.
Return the QPimSourceModel used by this dialog. Mostly useful for subclassing this dialog for extra functionality.
Set the PIM model this dialog will operate on to m. The initial list of PIM sources and their state will be obtained from QPimModel::contexts() and QPimModel::visibleSources().
If this dialog is accepted by the user, this model will be updated immediately.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |