kabc
vcardformat.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KABC_VCARDFORMAT_H
00022 #define KABC_VCARDFORMAT_H
00023
00024 #include "format.h"
00025
00026 namespace KABC {
00027
00028 class AddressBook;
00029 class Addressee;
00030
00037 class KABC_EXPORT VCardFormat : public Format
00038 {
00039 public:
00040 VCardFormat();
00041 virtual ~VCardFormat();
00042
00043 bool load( Addressee &, QFile *file );
00044 bool loadAll( AddressBook *, Resource *, QFile *file );
00045 void save( const Addressee &, QFile *file );
00046 void saveAll( AddressBook *, Resource *, QFile *file );
00047
00048 bool checkFormat( QFile *file ) const;
00049
00050 private:
00051 class Private;
00052 Private *const d;
00053 };
00054
00055 }
00056 #endif