kopete/libkopete
#include <addressbooklinkwidget.h>
Signals | |
void | addresseeChanged (const KABC::Addressee &addr) |
void | selectAddresseeClicked () |
Public Member Functions | |
AddressBookLinkWidget (QWidget *parent=0, const char *name=0) | |
~AddressBookLinkWidget () | |
void | setAddressee (const KABC::Addressee &addr) |
void | setMetaContact (const Kopete::MetaContact *) |
QString | uid () const |
Protected Slots | |
void | slotClearAddressee () |
void | slotSelectAddressee () |
Detailed Description
A compact widget for showing and changing which address book item a particular Kopete::MetaContact is related to.
Comprises a label showing the contact's name, a Clear button, and a Change button that usually invokes the AddressBookSelectorWidget.
Definition at line 44 of file addressbooklinkwidget.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 41 of file addressbooklinkwidget.cpp.
|
inline |
Definition at line 49 of file addressbooklinkwidget.h.
Member Function Documentation
|
signal |
Emitted when the selected addressee changed.
addr is the KABC::Addressee that was selected. If addr.isEmpty() is empty, the clear button was clicked.
|
signal |
Provided so you can perform your own actions instead of opening the AddressBookSelectorWidget.
To do so, QObject::disconnect() btnSelectAddressee and connect your own slot to this signal
void Kopete::UI::AddressBookLinkWidget::setAddressee | ( | const KABC::Addressee & | addr | ) |
Set the currently selected addressee.
Definition at line 51 of file addressbooklinkwidget.cpp.
void Kopete::UI::AddressBookLinkWidget::setMetaContact | ( | const Kopete::MetaContact * | mc | ) |
Set the current metacontact so that the selector dialog may be preselected.
Definition at line 57 of file addressbooklinkwidget.cpp.
|
protectedslot |
Definition at line 67 of file addressbooklinkwidget.cpp.
|
protectedslot |
Definition at line 76 of file addressbooklinkwidget.cpp.
QString Kopete::UI::AddressBookLinkWidget::uid | ( | ) | const |
Return the selected addressbook UID.
Definition at line 62 of file addressbooklinkwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.