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

kabc

  • KABC
  • Format
Public Member Functions | List of all members
KABC::Format Class Referenceabstract

#include <format.h>

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

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
 
- Public Member Functions inherited from KABC::Plugin
 Plugin ()
 
virtual ~Plugin ()
 
virtual QString descriptionLabel () const
 
virtual QString nameLabel () const
 
virtual void setDescriptionLabel (const QString &label)
 
virtual void setNameLabel (const QString &label)
 
virtual void setType (const QString &type)
 
virtual QString type () const
 

Detailed Description

Base class for address book formats.

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

Definition at line 42 of file format.h.

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
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