kabc
contactgrouptool.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef KABC_CONTACTGROUPTOOL_H
00023 #define KABC_CONTACTGROUPTOOL_H
00024
00025 #include "kabc_export.h"
00026
00027 class QIODevice;
00028 class QString;
00029
00030 template <class T> class QList;
00031
00032 namespace KABC {
00033
00034 class ContactGroup;
00035
00042 namespace ContactGroupTool {
00043
00048 KABC_EXPORT bool convertFromXml( QIODevice *device, ContactGroup &group,
00049 QString *errorMessage = 0 );
00050
00055 KABC_EXPORT bool convertToXml( const ContactGroup &group, QIODevice *device,
00056 QString *errorMessage = 0 );
00057
00062 KABC_EXPORT bool convertFromXml( QIODevice *device,
00063 QList<ContactGroup> &list,
00064 QString *errorMessage = 0 );
00065
00070 KABC_EXPORT bool convertToXml( const QList<ContactGroup> &list,
00071 QIODevice *device, QString *errorMessage = 0 );
00072 }
00073
00074 }
00075
00076 #endif