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

kopete/libkopete

  • Kopete
  • UI
  • AddressBookLinkWidget
Signals | Public Member Functions | Protected Slots | List of all members
Kopete::UI::AddressBookLinkWidget Class Reference

#include <addressbooklinkwidget.h>

Inheritance diagram for Kopete::UI::AddressBookLinkWidget:
Inheritance graph
[legend]

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

Kopete::UI::AddressBookLinkWidget::AddressBookLinkWidget ( QWidget *  parent = 0,
const char *  name = 0 
)
explicit

Definition at line 41 of file addressbooklinkwidget.cpp.

Kopete::UI::AddressBookLinkWidget::~AddressBookLinkWidget ( )
inline

Definition at line 49 of file addressbooklinkwidget.h.

Member Function Documentation

void Kopete::UI::AddressBookLinkWidget::addresseeChanged ( const KABC::Addressee &  addr)
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.

void Kopete::UI::AddressBookLinkWidget::selectAddresseeClicked ( )
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.

void Kopete::UI::AddressBookLinkWidget::slotClearAddressee ( )
protectedslot

Definition at line 67 of file addressbooklinkwidget.cpp.

void Kopete::UI::AddressBookLinkWidget::slotSelectAddressee ( )
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:
  • addressbooklinkwidget.h
  • addressbooklinkwidget.cpp
This file is part of the KDE documentation.
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.

kopete/libkopete

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

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