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 class KABC_EXPORT ContactGroupTool
00043 {
00044 public:
00049 static bool convertFromXml( QIODevice *device, ContactGroup &group,
00050 QString *errorMessage = 0 );
00051
00056 static bool convertToXml( const ContactGroup &group, QIODevice *device,
00057 QString *errorMessage = 0 );
00058
00063 static bool convertFromXml( QIODevice *device,
00064 QList<ContactGroup> &list,
00065 QString *errorMessage = 0 );
00066
00071 static bool convertToXml( const QList<ContactGroup> &list,
00072 QIODevice *device, QString *errorMessage = 0 );
00073 };
00074
00075 }
00076
00077 #endif