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

akonadi/contact

Public Types | Public Slots | Public Member Functions | Protected Member Functions
DisplayNameEditWidget Class Reference

#include <displaynameeditwidget.h>

Inherits QWidget.

List of all members.

Public Types

enum  DisplayType {
  SimpleName, FullName, ReverseNameWithComma, ReverseName,
  Organization, CustomName
}

Public Slots

void changeName (const KABC::Addressee &contact)
void changeOrganization (const QString &organization)

Public Member Functions

 DisplayNameEditWidget (QWidget *parent=0)
DisplayType displayType () const
void loadContact (const KABC::Addressee &contact)
void setDisplayType (DisplayType type)
void setReadOnly (bool readOnly)
void storeContact (KABC::Addressee &contact) const

Protected Member Functions

virtual bool eventFilter (QObject *object, QEvent *event)

Detailed Description

A widget for editing the display name of a contact.

The widget will either use a predefined schema for formatting the name or a custom one.


Member Enumeration Documentation

enum DisplayNameEditWidget::DisplayType

Describes what the display name should look like.

Enumerator:
SimpleName 

A name of the form: givenName familyName.

FullName 

A name of the form: prefix givenName additionalName familyName suffix.

ReverseNameWithComma 

A name of the form: familyName, givenName.

ReverseName 

A name of the form: familyName givenName.

Organization 

The organization name.

CustomName 

Let the user input a display name.

Definition at line 45 of file displaynameeditwidget.h.


The documentation for this class was generated from the following files:
  • displaynameeditwidget.h
  • displaynameeditwidget.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:54 by doxygen 1.7.5 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.8.5 API Reference

Skip menu "kdepimlibs-4.8.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • 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
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