kaddressbook
KAB::XXPort Class Reference
Inheritance diagram for KAB::XXPort:

Detailed Description
Definition at line 68 of file xxport.h.
Public Slots | |
virtual bool | exportContacts (const KABC::AddresseeList &list, const QString &identifier) |
virtual KABC::AddresseeList | importContacts (const QString &identifier) const |
Signals | |
void | exportActivated (const QString &, const QString &) |
void | importActivated (const QString &, const QString &) |
Public Member Functions | |
XXPort (KABC::AddressBook *ab, QWidget *parent, const char *name=0) | |
virtual QString | identifier () const =0 |
virtual bool | requiresSorting () const |
void | setKApplication (KApplication *app) |
void | processEvents () const |
Protected Member Functions | |
void | createImportAction (const QString &label, const QString &identifier=QString::null) |
void | createExportAction (const QString &label, const QString &identifier=QString::null) |
KABC::AddressBook * | addressBook () const |
QWidget * | parentWidget () const |
Member Function Documentation
|
Returns a pointer to the address book object.
|
|
Create the export action. The identifier is passed in the export slot. |
|
Create the import action. The identifier is passed in the import slot. |
|
Emitted whenever the export action is activated. The parameter contains the identifier() for unique identification. |
|
Reimplement this method for exporting the contacts.
Reimplemented in BookmarkXXPort, CSVXXPort, GNOKIIXXPort, LDIFXXPort, and VCardXXPort. |
|
Returns the unique identifier of this xxport modul, it should be the lowercase name of the import/export format e.g. 'vcard' Implemented in BookmarkXXPort, CSVXXPort, EudoraXXPort, GNOKIIXXPort, KDE2XXPort, LDIFXXPort, OperaXXPort, PABXXPort, and VCardXXPort. |
|
Emitted whenever the import action is activated. The parameter contains the identifier() for unique identification. |
|
Reimplement this method for importing the contacts.
Reimplemented in CSVXXPort, EudoraXXPort, GNOKIIXXPort, KDE2XXPort, LDIFXXPort, OperaXXPort, PABXXPort, and VCardXXPort. |
|
Returns a pointer to the parent widget. It can be used as parent for message boxes. |
|
Processes outstanding KApplication events. It should be called occasionally when the import/export filter is busy performing a long operation (e.g. reading from slow external devices).
|
|
Reimplement this method if the XXPortManager shall pass a sorted list to exportContacts().
|
|
set the KApplication pointer.
|
The documentation for this class was generated from the following file: