kopete/libkopete
Kopete::UI::AddressBookSelectorDialog Class Reference
#include <addressbookselectordialog.h>
Inheritance diagram for Kopete::UI::AddressBookSelectorDialog:

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.
Definition at line 49 of file addressbookselectordialog.h.
Public Member Functions | |
| AddressBookSelectorDialog (const QString &title, const QString &message, const QString &preSelectUid, QWidget *parent=0L) | |
| AddressBookSelectorWidget * | addressBookSelectorWidget () const |
| ~AddressBookSelectorDialog () | |
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 | ( | ) |
Member Function Documentation
| void Kopete::UI::AddressBookSelectorDialog::accept | ( | ) | [protected, virtual, slot] |
Definition at line 77 of file addressbookselectordialog.cpp.
| 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::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:
KDE 4.2 API Reference