• Skip to content
  • Skip to link menu
KDE 4.7 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

kabc

  • KABC
  • Format
Public Member Functions
KABC::Format Class Reference

#include <format.h>

Inheritance diagram for KABC::Format:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool checkFormat (QFile *file) const =0
virtual bool load (Addressee &, QFile *file)=0
virtual bool loadAll (AddressBook *, Resource *, QFile *file)=0
virtual void save (const Addressee &, QFile *file)=0
virtual void saveAll (AddressBook *, Resource *, QFile *file)=0

Detailed Description

Base class for address book formats.

This class provides an abstract interface for ResourceFile and ResourceDir formats.


Member Function Documentation

virtual bool KABC::Format::checkFormat ( QFile *  file) const [pure virtual]

Checks if given file contains the right format.

Implemented in KABC::BinaryFormat, and KABC::VCardFormat.

virtual bool KABC::Format::load ( Addressee &  ,
QFile *  file 
) [pure virtual]

Load single addressee from file.

Implemented in KABC::VCardFormat, and KABC::BinaryFormat.

virtual bool KABC::Format::loadAll ( AddressBook *  ,
Resource *  ,
QFile *  file 
) [pure virtual]

Load whole addressbook from file.

Implemented in KABC::BinaryFormat, and KABC::VCardFormat.

virtual void KABC::Format::save ( const Addressee &  ,
QFile *  file 
) [pure virtual]

Save a single Addressee to file.

Implemented in KABC::BinaryFormat, and KABC::VCardFormat.

virtual void KABC::Format::saveAll ( AddressBook *  ,
Resource *  ,
QFile *  file 
) [pure virtual]

Save whole addressbook to file.

Implemented in KABC::BinaryFormat, and KABC::VCardFormat.


The documentation for this class was generated from the following file:
  • format.h

kabc

Skip menu "kabc"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.5
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