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

akonadi

Signals | Public Member Functions | List of all members
NameEditWidget Class Reference

#include <nameeditwidget.h>

Inherits QWidget.

Signals

void nameChanged (const KABC::Addressee &contact)
 

Public Member Functions

 NameEditWidget (QWidget *parent=0)
 
void loadContact (const KABC::Addressee &contact)
 
void setReadOnly (bool readOnly)
 
void storeContact (KABC::Addressee &contact) const
 

Detailed Description

A widget for editing the name of a contact.

The widget will show the name in a lineedit and provides a button to open a dialog for editing of the single name components.

Definition at line 38 of file nameeditwidget.h.

Constructor & Destructor Documentation

◆ NameEditWidget()

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

Definition at line 35 of file nameeditwidget.cpp.

◆ ~NameEditWidget()

NameEditWidget::~NameEditWidget ( )

Definition at line 57 of file nameeditwidget.cpp.

Member Function Documentation

◆ loadContact()

void NameEditWidget::loadContact ( const KABC::Addressee &  contact)
Parameters
contactKABC contact's addressee to load

Definition at line 67 of file nameeditwidget.cpp.

◆ nameChanged

void NameEditWidget::nameChanged ( const KABC::Addressee &  contact)
signal

This signal is emitted whenever the name has been changed.

Parameters
contactA dummy contact that contains only the name components.

◆ setReadOnly()

void NameEditWidget::setReadOnly ( bool  readOnly)
Parameters
readOnlysets readonly mode

Definition at line 61 of file nameeditwidget.cpp.

◆ storeContact()

void NameEditWidget::storeContact ( KABC::Addressee &  contact) const
Parameters
contactKABC contact's addressee to store

Definition at line 76 of file nameeditwidget.cpp.


The documentation for this class was generated from the following files:
  • nameeditwidget.h
  • nameeditwidget.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 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-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