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

kabc

  • KABC
  • BinaryFormat
Public Member Functions | List of all members
KABC::BinaryFormat Class Reference

#include <binaryformat.h>

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

Public Member Functions

bool checkFormat (QFile *file) const
 
bool load (Addressee &, QFile *file)
 
bool loadAll (AddressBook *, Resource *, QFile *file)
 
void save (const Addressee &, QFile *file)
 
void saveAll (AddressBook *, Resource *, QFile *file)
 
- 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

binary file format for addressbook entries.

Definition at line 33 of file binaryformat.h.

Member Function Documentation

bool BinaryFormat::checkFormat ( QFile *  file) const
virtual

Check for valid format of a file.

Implements KABC::Format.

Definition at line 121 of file binaryformat.cpp.

bool BinaryFormat::load ( Addressee &  addressee,
QFile *  file 
)
virtual

Load single addressee from file.

Implements KABC::Format.

Definition at line 46 of file binaryformat.cpp.

bool BinaryFormat::loadAll ( AddressBook *  ,
Resource *  resource,
QFile *  file 
)
virtual

Load whole addressee from file.

Implements KABC::Format.

Definition at line 60 of file binaryformat.cpp.

void BinaryFormat::save ( const Addressee &  addressee,
QFile *  file 
)
virtual

Save single addressee to file.

Implements KABC::Format.

Definition at line 85 of file binaryformat.cpp.

void BinaryFormat::saveAll ( AddressBook *  ,
Resource *  resource,
QFile *  file 
)
virtual

Save all addressees to file.

Implements KABC::Format.

Definition at line 98 of file binaryformat.cpp.


The documentation for this class was generated from the following files:
  • binaryformat.h
  • binaryformat.cpp
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