• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kabc
 

kabc

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

#include <formatplugin.h>

Inheritance diagram for KABC::FormatPlugin:
KABC::BinaryFormat KABC::VCardFormatPlugin

Public Member Functions

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

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 formatplugin.h.

Member Function Documentation

virtual bool KABC::FormatPlugin::checkFormat ( TQFile *  file) const
pure virtual

Checks if given file contains the right format.

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

virtual bool KABC::FormatPlugin::load ( Addressee &  ,
TQFile *  file 
)
pure virtual

Load single addressee from file.

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

virtual bool KABC::FormatPlugin::loadAll ( AddressBook *  ,
Resource *  ,
TQFile *  file 
)
pure virtual

Load whole addressbook from file.

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

virtual void KABC::FormatPlugin::save ( const Addressee &  ,
TQFile *  file 
)
pure virtual

Save a single Addressee to file.

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

virtual void KABC::FormatPlugin::saveAll ( AddressBook *  ,
Resource *  ,
TQFile *  file 
)
pure virtual

Save whole addressbook to file.

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


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

kabc

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

kabc

Skip menu "kabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kabc by doxygen 1.8.11
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |