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

kabc

Namespaces | Classes | Typedefs | Enumerations | Functions
KABC Namespace Reference

Namespaces

namespace  ContactGroupTool
 
namespace  LDIFConverter
 
namespace  SortingTraits
 
namespace  VCardDrag
 

Classes

class  Address
 
class  AddressBook
 
class  Addressee
 
class  AddresseeDialog
 
class  AddresseeHelper
 
class  AddresseeItem
 
class  AddresseeList
 
class  AddressLineEdit
 
class  BinaryFormat
 
class  ConsoleErrorHandler
 
class  ContactGroup
 
class  DistributionList
 
class  DistributionListDialog
 
class  DistributionListEditorWidget
 
class  EmailSelector
 
class  ErrorHandler
 
class  Field
 
class  FieldSortMode
 
class  Format
 
class  FormatFactory
 
struct  FormatInfo
 
class  Geo
 
class  GuiErrorHandler
 
class  Key
 
class  Lock
 
class  LockNull
 
class  NameSortMode
 
class  PhoneNumber
 
class  Picture
 
class  Plugin
 
class  Resource
 
class  ResourceABC
 
class  ResourceDir
 
class  ResourceFile
 
class  ResourceNet
 
class  SortMode
 
class  Sound
 
class  StdAddressBook
 
class  Ticket
 
class  TimeZone
 
class  VCardConverter
 
class  VCardFormat
 

Typedefs

typedef QMap< QString, DistributionList * > DistributionListMap
 

Enumerations

enum  SortingCriterion {
  Uid , Name , FormattedName , FamilyName ,
  GivenName
}
 

Functions

QString dateToVCardString (const QDate &date)
 
QString dateToVCardString (const QDateTime &dateTime)
 
QDataStream & operator<< (QDataStream &, const Addressee &)
 
QDataStream & operator<< (QDataStream &lhs, const AddressBook &rhs)
 
QDataStream & operator<< (QDataStream &stream, const Address &address)
 
QDataStream & operator<< (QDataStream &stream, const CalendarUrl &object)
 
QDataStream & operator<< (QDataStream &stream, const Email &object)
 
QDataStream & operator<< (QDataStream &stream, const Gender &object)
 
QDataStream & operator<< (QDataStream &stream, const Geo &object)
 
QDataStream & operator<< (QDataStream &stream, const Impp &object)
 
QDataStream & operator<< (QDataStream &stream, const Key &key)
 
QDataStream & operator<< (QDataStream &stream, const Lang &object)
 
QDataStream & operator<< (QDataStream &stream, const PhoneNumber &number)
 
QDataStream & operator<< (QDataStream &stream, const Picture &picture)
 
QDataStream & operator<< (QDataStream &stream, const Secrecy &secrecy)
 
QDataStream & operator<< (QDataStream &stream, const Sound &sound)
 
QDataStream & operator<< (QDataStream &stream, const TimeZone &timeZone)
 
QDataStream & operator>> (QDataStream &, Addressee &)
 
QDataStream & operator>> (QDataStream &lhs, AddressBook &rhs)
 
QDataStream & operator>> (QDataStream &stream, Address &address)
 
QDataStream & operator>> (QDataStream &stream, CalendarUrl &object)
 
QDataStream & operator>> (QDataStream &stream, const PhoneNumber &number)
 
QDataStream & operator>> (QDataStream &stream, Email &object)
 
QDataStream & operator>> (QDataStream &stream, Gender &object)
 
QDataStream & operator>> (QDataStream &stream, Geo &object)
 
QDataStream & operator>> (QDataStream &stream, Impp &object)
 
QDataStream & operator>> (QDataStream &stream, Key &key)
 
QDataStream & operator>> (QDataStream &stream, Lang &object)
 
QDataStream & operator>> (QDataStream &stream, Picture &picture)
 
QDataStream & operator>> (QDataStream &stream, Secrecy &secrecy)
 
QDataStream & operator>> (QDataStream &stream, Sound &sound)
 
QDataStream & operator>> (QDataStream &stream, TimeZone &timeZone)
 
QDateTime VCardStringToDate (const QString &dateString)
 

Detailed Description

Class that holds a Calendar Url (FBURL/CALADRURI/CALURI)

Class that holds a Language for a contact.

Class that holds a IMPP for a contact.

Class that holds a Gender for a contact.

Class that holds a Email for a contact.

Since
4.14.6
4.14.5

Typedef Documentation

◆ DistributionListMap

typedef QMap<QString, DistributionList*> KABC::DistributionListMap

Typedef for map from IDs to respective DistribtionList.

Definition at line 205 of file distributionlist.h.

Enumeration Type Documentation

◆ SortingCriterion

enum KABC::SortingCriterion

Addressee attribute used for sorting.

Definition at line 257 of file addresseelist.h.

Function Documentation

◆ dateToVCardString() [1/2]

QString KABC::dateToVCardString ( const QDate &  date)

Converts a QDate to a short date string as it is used in VCard and LDIF files.

The return value is in the form "yyyyMMdd" (e.g. "20031201")

Parameters
datedate to be converted

Definition at line 110 of file vcardconverter.cpp.

◆ dateToVCardString() [2/2]

QString KABC::dateToVCardString ( const QDateTime &  dateTime)

Helper functions.

Converts a QDateTime to a date string as it is used in VCard and LDIF files. The return value is in the form "yyyyMMddThhmmssZ" (e.g. "20031201T120000Z")

Parameters
dateTimedate and time to be converted

Definition at line 105 of file vcardconverter.cpp.

◆ operator<<() [1/15]

QDataStream & KABC::operator<< ( QDataStream &  s,
const Addressee &  a 
)

Definition at line 2186 of file addressee.cpp.

◆ operator<<() [2/15]

QDataStream & KABC::operator<< ( QDataStream &  lhs,
const AddressBook &  rhs 
)

Definition at line 813 of file addressbook.cpp.

◆ operator<<() [3/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const Address &  address 
)

Serializes the address object into the stream.

Definition at line 680 of file address.cpp.

◆ operator<<() [4/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const CalendarUrl &  object 
)

Definition at line 167 of file calendarurl.cpp.

◆ operator<<() [5/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const Email &  object 
)

Definition at line 129 of file email.cpp.

◆ operator<<() [6/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const Gender &  object 
)

Definition at line 121 of file gender.cpp.

◆ operator<<() [7/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const Geo &  object 
)

Serializes the geographical position object into the stream.

Definition at line 156 of file geo.cpp.

◆ operator<<() [8/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const Impp &  object 
)

Definition at line 143 of file impp.cpp.

◆ operator<<() [9/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const Key &  key 
)

Serializes the key object into the stream.

Definition at line 230 of file key.cpp.

◆ operator<<() [10/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const Lang &  object 
)

Definition at line 131 of file lang.cpp.

◆ operator<<() [11/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const PhoneNumber &  number 
)

Serializes the phone number object into the stream.

Parameters
streamThe stream to write into
numberThe phone number object to serialize

Definition at line 272 of file phonenumber.cpp.

◆ operator<<() [12/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const Picture &  picture 
)

Serializes the picture object into the stream.

Definition at line 239 of file picture.cpp.

◆ operator<<() [13/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const Secrecy &  secrecy 
)

Serializes the secrecy object into the stream.

Definition at line 136 of file secrecy.cpp.

◆ operator<<() [14/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const Sound &  sound 
)

Serializes the sound object into the stream.

Definition at line 161 of file sound.cpp.

◆ operator<<() [15/15]

QDataStream & KABC::operator<< ( QDataStream &  stream,
const TimeZone &  timeZone 
)

Serializes the timezone object into the stream.

Definition at line 124 of file timezone.cpp.

◆ operator>>() [1/15]

QDataStream & KABC::operator>> ( QDataStream &  s,
Addressee &  a 
)

Definition at line 2235 of file addressee.cpp.

◆ operator>>() [2/15]

QDataStream & KABC::operator>> ( QDataStream &  lhs,
AddressBook &  rhs 
)

Definition at line 822 of file addressbook.cpp.

◆ operator>>() [3/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
Address &  address 
)

Initializes the address object from the stream.

Definition at line 688 of file address.cpp.

◆ operator>>() [4/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
CalendarUrl &  object 
)

Definition at line 172 of file calendarurl.cpp.

◆ operator>>() [5/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
const PhoneNumber &  number 
)

Initializes the phone number object from the stream.

Parameters
streamThe stream to read from
numberThe phone number object to deserialize into

◆ operator>>() [6/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
Email &  object 
)

Definition at line 134 of file email.cpp.

◆ operator>>() [7/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
Gender &  object 
)

Definition at line 126 of file gender.cpp.

◆ operator>>() [8/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
Geo &  object 
)

Initializes the geographical position object from the stream.

Definition at line 162 of file geo.cpp.

◆ operator>>() [9/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
Impp &  object 
)

Definition at line 148 of file impp.cpp.

◆ operator>>() [10/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
Key &  key 
)

Initializes the key object from the stream.

Definition at line 236 of file key.cpp.

◆ operator>>() [11/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
Lang &  object 
)

Definition at line 136 of file lang.cpp.

◆ operator>>() [12/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
Picture &  picture 
)

Initializes the picture object from the stream.

Definition at line 244 of file picture.cpp.

◆ operator>>() [13/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
Secrecy &  secrecy 
)

Initializes the secrecy object from the stream.

Definition at line 141 of file secrecy.cpp.

◆ operator>>() [14/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
Sound &  sound 
)

Initializes the sound object from the stream.

Definition at line 166 of file sound.cpp.

◆ operator>>() [15/15]

QDataStream & KABC::operator>> ( QDataStream &  stream,
TimeZone &  timeZone 
)

Initializes the timezone object from the stream.

Definition at line 129 of file timezone.cpp.

◆ VCardStringToDate()

QDateTime KABC::VCardStringToDate ( const QString &  dateString)

Converts a date string as it is used in VCard and LDIF files to a QDateTime value.

If the date string does not contain a time value, it will be returned as 00:00:00. (e.g. "20031201T120000" will return a QDateTime for 2003-12-01 at 12:00)

Parameters
dateStringstring representing the date and time.

Definition at line 115 of file vcardconverter.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.

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