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

kabc

  • KABC
  • ContactGroupTool
Functions
KABC::ContactGroupTool Namespace Reference

Functions

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

Detailed Description

Static methods for converting ContactGroup to XML format and vice versa.

Author
Kevin Krammer kevin.nosp@m..kra.nosp@m.mmer@.nosp@m.gmx..nosp@m.at
Since
4.3

Function Documentation

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

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 318 of file contactgrouptool.cpp.

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

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 345 of file contactgrouptool.cpp.

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

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 334 of file contactgrouptool.cpp.

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

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 361 of file contactgrouptool.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:01:06 by doxygen 1.8.7 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 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