kabc Library API Documentation

KABC::VCardFormat Class Reference

Interface of vCard backend for address book. More...

#include <vcardformat.h>

Inheritance diagram for KABC::VCardFormat:

KABC::Format List of all members.

Public Methods

bool load (AddressBook *, const QString &fileName)
 Load addressbook from file.

bool save (AddressBook *, const QString &fileName)
 Save addressbook to file.


Detailed Description

Interface of vCard backend for address book.

This class implements the file format interface of address book entries for the vCard format.

Definition at line 38 of file vcardformat.h.


Member Function Documentation

bool VCardFormat::load AddressBook  ,
const QString   fileName
[virtual]
 

Load addressbook from file.

Implements KABC::Format.

Definition at line 37 of file vcardformat.cpp.

References QFile::close(), KABC::VCardFormatImpl::loadAll(), and QFile::open().

bool VCardFormat::save AddressBook  ,
const QString   fileName
[virtual]
 

Save addressbook to file.

Implements KABC::Format.

Definition at line 49 of file vcardformat.cpp.

References QFile::close(), QFile::open(), and KABC::VCardFormatImpl::saveAll().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:22:10 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001