• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

akonadi/contact

Public Member Functions

ContactEditorWidget Class Reference

A widget for editing a contact. More...

#include <contacteditorwidget.h>

Inherits Akonadi::AbstractContactEditorWidget.

List of all members.

Public Member Functions

 ContactEditorWidget (QWidget *parent=0)
 ~ContactEditorWidget ()
void loadContact (const KABC::Addressee &contact, const Akonadi::ContactMetaData &)
void setReadOnly (bool readOnly)
void storeContact (KABC::Addressee &contact, Akonadi::ContactMetaData &) const

Detailed Description

A widget for editing a contact.

Author:
Tobias Koenig <tokoe@kde.org>

Definition at line 37 of file contacteditorwidget.h.


Constructor & Destructor Documentation

ContactEditorWidget::ContactEditorWidget ( QWidget *  parent = 0)

Creates a new contact editor widget.

Parameters:
parentThe parent widget.

Definition at line 492 of file contacteditorwidget.cpp.

ContactEditorWidget::~ContactEditorWidget ( )

Destroys the contact editor widget.

Definition at line 503 of file contacteditorwidget.cpp.


Member Function Documentation

void ContactEditorWidget::loadContact ( const KABC::Addressee &  contact,
const Akonadi::ContactMetaData &  metaData 
)

Initializes the fields of the contact editor with the values from a contact.

Definition at line 508 of file contacteditorwidget.cpp.

void ContactEditorWidget::setReadOnly ( bool  readOnly)

Sets whether the contact in the editor allows the user to edit the contact or not.

Definition at line 631 of file contacteditorwidget.cpp.

void ContactEditorWidget::storeContact ( KABC::Addressee &  contact,
Akonadi::ContactMetaData &  metaData 
) const

Stores back the fields of the contact editor into the given contact.

Definition at line 570 of file contacteditorwidget.cpp.


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

akonadi/contact

Skip menu "akonadi/contact"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.3
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