.TH "KABC::AddresseeDialog" kde3 "11 Jun 2005" "Version Version 3.4.1" "kabc Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KABC::AddresseeDialog \- Dialog for selecting address book entries.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <addresseedialog.h>\fP
.PP
Inherits \fBKDialogBase\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBAddresseeDialog\fP (\fBQWidget\fP *parent=0, bool multiple=false)"
.br
.ti -1c
.RI "virtual \fB~AddresseeDialog\fP ()"
.br
.ti -1c
.RI "\fBAddressee\fP \fBaddressee\fP ()"
.br
.ti -1c
.RI "\fBAddressee::List\fP \fBaddressees\fP ()"
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \fBAddressee\fP \fBgetAddressee\fP (\fBQWidget\fP *parent)"
.br
.ti -1c
.RI "static \fBAddressee::List\fP \fBgetAddressees\fP (\fBQWidget\fP *parent)"
.br
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "void \fBaddressBookChanged\fP ()"
.br
.in -1c
.SH "Detailed Description"
.PP 
Dialog for selecting address book entries. 

This class provides a dialog for selecting entries from the standard \fBKDE\fP address book. Use the \fBgetAddressee()\fP function to open a modal dialog, returning an address book entry.
.PP
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. 
.PP
Definition at line 83 of file addresseedialog.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "AddresseeDialog::AddresseeDialog (\fBQWidget\fP * parent = \fC0\fP, bool multiple = \fCfalse\fP)"
.PP
Construct addressbook entry select dialog. 
.PP
\fBParameters:\fP
.RS 4
\fIparent\fP parent widget 
.RE
.PP

.PP
Definition at line 59 of file addresseedialog.cpp.
.PP
References KListView::addColumn(), QBoxLayout::addLayout(), QBoxLayout::addWidget(), KCompletionBase::completionObject(), KDialogBase::plainPage(), KABC::StdAddressBook::self(), QListView::setAllColumnsShowFocus(), KLineEdit::setCompletionMode(), KListView::setFullWidth(), KCompletion::setIgnoreCase(), KDialogBase::setInitialSize(), QBoxLayout::setSpacing(), KDialogBase::slotOk(), and KDialog::spacingHint().
.PP
Referenced by getAddressee(), and getAddressees().
.SS "AddresseeDialog::~\fBAddresseeDialog\fP ()\fC [virtual]\fP"
.PP
Destructor. 
.PP
Definition at line 125 of file addresseedialog.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBAddressee\fP AddresseeDialog::addressee ()"
.PP
Return the address chosen. 
.PP
If it is a multiple select, this will return only the first address chosen 
.PP
Definition at line 194 of file addresseedialog.cpp.
.PP
References KABC::AddresseeItem::addressee(), QListView::firstChild(), and QListView::selectedItem().
.PP
Referenced by getAddressee().
.SS "\fBAddressee::List\fP AddresseeDialog::addressees ()"
.PP
Return the list of addresses chosen. 
.PP
Definition at line 207 of file addresseedialog.cpp.
.PP
References KABC::AddresseeItem::addressee(), QValueList::append(), QListView::firstChild(), QListViewItem::nextSibling(), and QListView::selectedItem().
.PP
Referenced by getAddressees().
.SS "\fBAddressee\fP AddresseeDialog::getAddressee (\fBQWidget\fP * parent)\fC [static]\fP"
.PP
Select a single address book entry. 
.PP
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. 
.PP
Definition at line 229 of file addresseedialog.cpp.
.PP
References addressee(), AddresseeDialog(), and QDialog::exec().
.SS "\fBAddressee::List\fP AddresseeDialog::getAddressees (\fBQWidget\fP * parent)\fC [static]\fP"
.PP
Select multiple address book entries. 
.PP
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. 
.PP
Definition at line 243 of file addresseedialog.cpp.
.PP
References AddresseeDialog(), addressees(), and QDialog::exec().

.SH "Author"
.PP 
Generated automatically by Doxygen for kabc Library from the source code.
