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

akonadi

Public Types | Public Slots | Public Member Functions | Protected Member Functions | List of all members
DisplayNameEditWidget Class Reference

#include <displaynameeditwidget.h>

Inherits QWidget.

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.

Definition at line 37 of file displaynameeditwidget.h.

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-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