vcardformatplugin.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KABC_VCARDFORMATPLUGIN_H
00022 #define KABC_VCARDFORMATPLUGIN_H
00023
00024 #include "formatplugin.h"
00025
00026 namespace KABC {
00027
00028 class AddressBook;
00029 class Addressee;
00030
00037 class KABC_EXPORT VCardFormatPlugin : public FormatPlugin
00038 {
00039 public:
00040 VCardFormatPlugin();
00041 virtual ~VCardFormatPlugin();
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 struct VCardFormatPrivate;
00052 VCardFormatPrivate *d;
00053 };
00054
00055 }
00056 #endif
|