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

akonadi

Public Types | Public Member Functions | List of all members
ContactEditorWidget Class Reference

#include <contacteditorwidget.h>

Inherits Akonadi::AbstractContactEditorWidget.

Public Types

enum  DisplayMode { FullMode, VCardMode }
 

Public Member Functions

 ContactEditorWidget (QWidget *parent=0)
 
 ContactEditorWidget (DisplayMode displayMode, QWidget *parent)
 
 ~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.nosp@m.@kde.nosp@m..org

Definition at line 37 of file contacteditorwidget.h.

Member Enumeration Documentation

enum ContactEditorWidget::DisplayMode

Creates a new contact editor widget.

Parameters
parentThe parent widget.

Definition at line 45 of file contacteditorwidget.h.

Constructor & Destructor Documentation

ContactEditorWidget::~ContactEditorWidget ( )

Destroys the contact editor widget.

Definition at line 552 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 557 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 722 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 636 of file contacteditorwidget.cpp.


The documentation for this class was generated from the following files:
  • contacteditorwidget.h
  • contacteditorwidget.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

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