• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

kabc

  • KABC
  • AddresseeDialog
Public Member Functions | Static Public Member Functions | List of all members
KABC::AddresseeDialog Class Reference

#include <addresseedialog.h>

Inherits KDialog.

Public Member Functions

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

Static Public Member Functions

static Addressee getAddressee (QWidget *parent)
 
static 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 98 of file addresseedialog.h.

Constructor & Destructor Documentation

AddresseeDialog::AddresseeDialog ( QWidget *  parent = 0,
bool  multiple = false 
)
explicit

Construct addressbook entry select dialog.

Parameters
parentparent widget
multipleif true, indicates a multiple selection.

Definition at line 110 of file addresseedialog.cpp.

AddresseeDialog::~AddresseeDialog ( )
virtual

Destructor.

Definition at line 189 of file addresseedialog.cpp.

Member Function Documentation

Addressee AddresseeDialog::addressee ( ) const

Return the address chosen.

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

Definition at line 194 of file addresseedialog.cpp.

Addressee::List AddresseeDialog::addressees ( ) const

Return the list of addresses chosen.

Definition at line 213 of file addresseedialog.cpp.

Addressee 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.

Parameters
parentThe QWidget parent for the dialog.

Definition at line 239 of file addresseedialog.cpp.

Addressee::List AddresseeDialog::getAddressees ( QWidget *  parent)
static

Select multiple address 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.

Parameters
parentThe QWidget parent for the dialog.

Definition at line 253 of file addresseedialog.cpp.


The documentation for this class was generated from the following files:
  • addresseedialog.h
  • addresseedialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:01:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kabc

Skip menu "kabc"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal