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

akonadi/contact

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 (DisplayMode displayMode, QWidget *parent)
 
 ContactEditorWidget (QWidget *parent=0)
 
 ~ContactEditorWidget ()
 
void loadContact (const KABC::Addressee &contact, const Akonadi::ContactMetaData &metaData)
 
void setReadOnly (bool readOnly)
 
void storeContact (KABC::Addressee &contact, Akonadi::ContactMetaData &metaData) 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

◆ DisplayMode

enum ContactEditorWidget::DisplayMode
Enumerator
FullMode 

Show all pages.

VCardMode 

Show just pages with elements stored in vcard.

Definition at line 40 of file contacteditorwidget.h.

Constructor & Destructor Documentation

◆ ContactEditorWidget() [1/2]

ContactEditorWidget::ContactEditorWidget ( QWidget * parent = 0)
explicit

Creates a new contact editor widget.

Parameters
parentThe parent widget.

Definition at line 536 of file contacteditorwidget.cpp.

◆ ContactEditorWidget() [2/2]

ContactEditorWidget::ContactEditorWidget ( ContactEditorWidget::DisplayMode displayMode,
QWidget * parent )

Definition at line 547 of file contacteditorwidget.cpp.

◆ ~ContactEditorWidget()

ContactEditorWidget::~ContactEditorWidget ( )

Destroys the contact editor widget.

Definition at line 558 of file contacteditorwidget.cpp.

Member Function Documentation

◆ loadContact()

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 563 of file contacteditorwidget.cpp.

◆ setReadOnly()

void ContactEditorWidget::setReadOnly ( bool readOnly)

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

Definition at line 728 of file contacteditorwidget.cpp.

◆ storeContact()

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 642 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-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi/contact

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

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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