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

kabc

  • KABC
  • ContactGroup
  • ContactGroupReference
Public Types | Public Member Functions | List of all members
KABC::ContactGroup::ContactGroupReference Class Reference

#include <contactgroup.h>

Public Types

typedef QList< ContactGroupReference > List
 

Public Member Functions

 ContactGroupReference ()
 
 ContactGroupReference (const ContactGroupReference &other)
 
 ContactGroupReference (const QString &uid)
 
 ~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
 

Detailed Description

This class represents a contact group reference.

Definition at line 160 of file contactgroup.h.

Member Typedef Documentation

◆ List

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

A list of contact group references.

Definition at line 166 of file contactgroup.h.

Constructor & Destructor Documentation

◆ ContactGroupReference() [1/3]

ContactGroup::ContactGroupReference::ContactGroupReference ( )

Creates an empty contact group reference.

Definition at line 154 of file contactgroup.cpp.

◆ ContactGroupReference() [2/3]

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

Creates a contact group reference from an other reference.

Definition at line 159 of file contactgroup.cpp.

◆ ContactGroupReference() [3/3]

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

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

Definition at line 164 of file contactgroup.cpp.

◆ ~ContactGroupReference()

ContactGroup::ContactGroupReference::~ContactGroupReference ( )

Destroys the contact group reference.

Definition at line 170 of file contactgroup.cpp.

Member Function Documentation

◆ custom()

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 194 of file contactgroup.cpp.

◆ insertCustom()

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
keyThe unique key.
valueThe value.

Definition at line 184 of file contactgroup.cpp.

◆ operator=()

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

Definition at line 199 of file contactgroup.cpp.

◆ operator==()

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

Definition at line 209 of file contactgroup.cpp.

◆ removeCustom()

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

Removes the custom entry with the given key.

Definition at line 189 of file contactgroup.cpp.

◆ setUid()

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

Sets the contact group uid of the contact group reference.

Definition at line 174 of file contactgroup.cpp.

◆ uid()

QString ContactGroup::ContactGroupReference::uid ( ) const

Returns the contact group uid of the contact group reference.

Definition at line 179 of file contactgroup.cpp.


The documentation for this class was generated from the following files:
  • contactgroup.h
  • contactgroup.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.

kabc

Skip menu "kabc"
  • Main Page
  • Namespace List
  • Namespace Members
  • 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