Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KABC::AddresseeDialog Class Reference

Dialog for selecting address book entries. More...

#include <addresseedialog.h>

Inheritance diagram for KABC::AddresseeDialog:

KDialogBase KDialog List of all members.

Public Methods

 AddresseeDialog (QWidget *parent=0, bool multiple=false)
virtual ~AddresseeDialog ()
Addressee addressee ()
Addressee::List addressees ()

Static Public Methods

Addressee getAddressee (QWidget *parent)
Addressee::List getAddressees (QWidget *parent)

Detailed Description

Dialog for selecting address book entries.

This class provides a dialog for selecting entries from the standard KDE address book. Use the getAddressee() function to open a modal dialog, returning an address book entry.

In the dialog you can select an entry from the list with the mouse or type in the first letters of the name or email address you are searching for. The entry matching best is automatically selected. Use double click, pressing return or pressing the ok button to return the selected addressee to the application.

Definition at line 83 of file addresseedialog.h.


Constructor & Destructor Documentation

KABC::AddresseeDialog::AddresseeDialog QWidget *    parent = 0,
bool    multiple = false
 

Construct addressbook entry select dialog.

Parameters:
parent  parent widget

virtual KABC::AddresseeDialog::~AddresseeDialog   [virtual]
 

Destructor.


Member Function Documentation

Addressee KABC::AddresseeDialog::addressee  
 

Return the address chosen.

If it is a multiple select, this will return only the first address chosen

Addressee::List KABC::AddresseeDialog::addressees  
 

Return the list of addresses chosen

Addressee KABC::AddresseeDialog::getAddressee QWidget *    parent [static]
 

Select a single address book entry.

Open addressee select dialog and return the entry selected by the user. If the user doesn't select an entry or presses cancel, the returned addressee is empty.

Addressee::List KABC::AddresseeDialog::getAddressees QWidget *    parent [static]
 

Select multiple adress book entries.

Open addressee select dialog and return the entries selected by the user. If the user doesn't select an entry or presses cancel, the returned addressee list is empty.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:31 2003 for kdelibs by doxygen1.2.18