• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

kabc

KABC::ContactGroup::ContactGroupReference

KABC::ContactGroup::ContactGroup::ContactGroupReference Class Reference

This class represents a contact group reference. More...

#include <contactgroup.h>

List of all members.


Public Types

typedef QList
< ContactGroupReference > 
List

Public Member Functions

 ContactGroupReference (const QString &uid)
 ContactGroupReference (const ContactGroupReference &other)
 ContactGroupReference ()
QString custom (const QString &key) const
void insertCustom (const QString &key, const QString &value)
ContactGroupReference & operator= (const ContactGroupReference &)
bool operator== (const ContactGroupReference &) const
void removeCustom (const QString &key)
void setUid (const QString &uid)
QString uid () const
 ~ContactGroupReference ()

Detailed Description

This class represents a contact group reference.

Definition at line 140 of file contactgroup.h.


Member Typedef Documentation

typedef QList<ContactGroupReference> KABC::ContactGroup::ContactGroup::ContactGroupReference::List

A list of contact group references.

Definition at line 146 of file contactgroup.h.


Constructor & Destructor Documentation

ContactGroup::ContactGroupReference::ContactGroupReference (  ) 

Creates an empty contact group reference.

Definition at line 143 of file contactgroup.cpp.

ContactGroup::ContactGroupReference::ContactGroupReference ( const ContactGroupReference &  other  ) 

Creates a contact group reference from an other reference.

Definition at line 148 of file contactgroup.cpp.

ContactGroup::ContactGroupReference::ContactGroupReference ( const QString &  uid  ) 

Creates a contact group reference for the given contact group uid.

Definition at line 153 of file contactgroup.cpp.

ContactGroup::ContactGroupReference::~ContactGroupReference (  ) 

Destroys the contact group reference.

Definition at line 159 of file contactgroup.cpp.


Member Function Documentation

QString ContactGroup::ContactGroupReference::custom ( const QString &  key  )  const

Returns the value for the given key, or an empty string if the entry for that key does not exists.

Definition at line 183 of file contactgroup.cpp.

void ContactGroup::ContactGroupReference::insertCustom ( const QString &  key,
const QString &  value 
)

Inserts a custom entry.

If an entry with the same key already exists, it is overwritten.

Parameters:
key The unique key.
value The value.

Definition at line 173 of file contactgroup.cpp.

ContactGroup::ContactGroupReference & ContactGroup::ContactGroupReference::operator= ( const ContactGroupReference &  other  ) 

For internal use only.

Definition at line 188 of file contactgroup.cpp.

bool ContactGroup::ContactGroupReference::operator== ( const ContactGroupReference &  other  )  const

For internal use only.

Definition at line 198 of file contactgroup.cpp.

void ContactGroup::ContactGroupReference::removeCustom ( const QString &  key  ) 

Removes the custom entry with the given key.

Definition at line 178 of file contactgroup.cpp.

void ContactGroup::ContactGroupReference::setUid ( const QString &  uid  ) 

Sets the contact group uid of the contact group reference.

Definition at line 163 of file contactgroup.cpp.

QString ContactGroup::ContactGroupReference::uid (  )  const

Returns the contact group uid of the contact group reference.

Definition at line 168 of file contactgroup.cpp.


The documentation for this class was generated from the following files:
  • contactgroup.h
  • contactgroup.cpp

kabc

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.8
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal