• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/libkopete

Kopete::UI::AddressBookSelectorDialog

Kopete::UI::AddressBookSelectorDialog Class Reference

#include <addressbookselectordialog.h>

Inheritance diagram for Kopete::UI::AddressBookSelectorDialog:

Inheritance graph
[legend]

List of all members.


Detailed Description

A dialog that uses AddressBookSelectorWidget to allow the user to select a KDE addressbook contact.

If you want to use special features you can use

See also:
addressBookSelectorWidget() to get the pointer to the AddressBookSelectorWidget object and set the desired options there.
Author:
Duncan Mac-Vicar Prett <duncan@kde.org>

Definition at line 49 of file addressbookselectordialog.h.


Public Member Functions

 AddressBookSelectorDialog (const QString &title, const QString &message, const QString &preSelectUid, QWidget *parent=0L)
 ~AddressBookSelectorDialog ()
AddressBookSelectorWidget * addressBookSelectorWidget () const

Static Public Member Functions

static KABC::Addressee getAddressee (const QString &title, const QString &message, const QString &preSelectUid, QWidget *parent=0L)

Protected Slots

virtual void accept ()
virtual void reject ()
void slotWidgetAddresseeListClicked (Q3ListViewItem *addressee)

Protected Attributes

AddressBookSelectorWidget * m_addressBookSelectorWidget

Constructor & Destructor Documentation

Kopete::UI::AddressBookSelectorDialog::AddressBookSelectorDialog ( const QString &  title,
const QString &  message,
const QString &  preSelectUid,
QWidget *  parent = 0L 
)

The constructor of an empty AddressBookSelectorWidget.

Definition at line 32 of file addressbookselectordialog.cpp.

Kopete::UI::AddressBookSelectorDialog::~AddressBookSelectorDialog (  ) 

The destructor of the dialog.

Definition at line 55 of file addressbookselectordialog.cpp.


Member Function Documentation

AddressBookSelectorWidget* Kopete::UI::AddressBookSelectorDialog::addressBookSelectorWidget (  )  const [inline]

Returns:
the AddressBookSelectorWidget widget so that additional parameters can be set by using it.

Definition at line 68 of file addressbookselectordialog.h.

KABC::Addressee Kopete::UI::AddressBookSelectorDialog::getAddressee ( const QString &  title,
const QString &  message,
const QString &  preSelectUid,
QWidget *  parent = 0L 
) [static]

Creates a modal dialog, lets the user to select a addressbook contact and returns when the dialog is closed.

Returns:
the selected contact, or a null addressee if the user pressed the Cancel button. Optionally

Definition at line 59 of file addressbookselectordialog.cpp.

void Kopete::UI::AddressBookSelectorDialog::accept (  )  [protected, virtual, slot]

Definition at line 77 of file addressbookselectordialog.cpp.

void Kopete::UI::AddressBookSelectorDialog::reject (  )  [protected, virtual, slot]

Definition at line 82 of file addressbookselectordialog.cpp.

void Kopete::UI::AddressBookSelectorDialog::slotWidgetAddresseeListClicked ( Q3ListViewItem *  addressee  )  [protected, slot]

Definition at line 71 of file addressbookselectordialog.cpp.


Member Data Documentation

AddressBookSelectorWidget* Kopete::UI::AddressBookSelectorDialog::m_addressBookSelectorWidget [protected]

Definition at line 85 of file addressbookselectordialog.h.


The documentation for this class was generated from the following files:
  • addressbookselectordialog.h
  • addressbookselectordialog.cpp

kopete/libkopete

Skip menu "kopete/libkopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal