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

kabc

KABC::ContactGroupTool

KABC::ContactGroupTool Class Reference

A class for converting ContactGroup to XML format and vice versa. More...

#include <contactgrouptool.h>

List of all members.


Static Public Member Functions

static bool convertFromXml (QIODevice *device, QList< ContactGroup > &list, QString *errorMessage=0)
static bool convertFromXml (QIODevice *device, ContactGroup &group, QString *errorMessage=0)
static bool convertToXml (const QList< ContactGroup > &list, QIODevice *device, QString *errorMessage=0)
static bool convertToXml (const ContactGroup &group, QIODevice *device, QString *errorMessage=0)

Detailed Description

A class for converting ContactGroup to XML format and vice versa.

Author:
Kevin Krammer <kevin.krammer@gmx.at>
Since:
4.3

Definition at line 42 of file contactgrouptool.h.


Member Function Documentation

bool ContactGroupTool::convertFromXml ( QIODevice *  device,
QList< ContactGroup > &  list,
QString *  errorMessage = 0 
) [static]

Converts XML data coming from a device into a list of contact groups.

If an error occurs, false is returned and errorMessage is set.

Definition at line 342 of file contactgrouptool.cpp.

bool ContactGroupTool::convertFromXml ( QIODevice *  device,
ContactGroup &  group,
QString *  errorMessage = 0 
) [static]

Converts XML data coming from a device into a contact group.

If an error occurs, false is returned and errorMessage is set.

Definition at line 315 of file contactgrouptool.cpp.

bool ContactGroupTool::convertToXml ( const QList< ContactGroup > &  list,
QIODevice *  device,
QString *  errorMessage = 0 
) [static]

Converts a list of contact groups into XML data and writes them to a device.

If an error occurs, false is returned and errorMessage is set.

Definition at line 358 of file contactgrouptool.cpp.

bool ContactGroupTool::convertToXml ( const ContactGroup &  group,
QIODevice *  device,
QString *  errorMessage = 0 
) [static]

Converts a contact group into XML data and writes them to a device.

If an error occurs, false is returned and errorMessage is set.

Definition at line 331 of file contactgrouptool.cpp.


The documentation for this class was generated from the following files:
  • contactgrouptool.h
  • contactgrouptool.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
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7
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