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

tdeabc

TDEABC::FormatPlugin

TDEABC::FormatPlugin Class Reference

Base class for address book formats. More...

#include <formatplugin.h>

Inheritance diagram for TDEABC::FormatPlugin:
TDEABC::BinaryFormat TDEABC::VCardFormatPlugin

List of all members.

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 TDEABC::FormatPlugin::checkFormat ( TQFile *  file  )  const [pure virtual]

Checks if given file contains the right format.

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

virtual bool TDEABC::FormatPlugin::load ( Addressee &  ,
TQFile *  file 
) [pure virtual]

Load single addressee from file.

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

virtual bool TDEABC::FormatPlugin::loadAll ( AddressBook *  ,
Resource *  ,
TQFile *  file 
) [pure virtual]

Load whole addressbook from file.

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

virtual void TDEABC::FormatPlugin::save ( const Addressee &  ,
TQFile *  file 
) [pure virtual]

Save a single Addressee to file.

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

virtual void TDEABC::FormatPlugin::saveAll ( AddressBook *  ,
Resource *  ,
TQFile *  file 
) [pure virtual]

Save whole addressbook to file.

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


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

tdeabc

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

tdeabc

Skip menu "tdeabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeabc by doxygen 1.6.3
This website is maintained by Timothy Pearson.