KTNEF Library
formatter.h
Go to the documentation of this file.
00001 /* 00002 Copyright (c) 2001-2003 Cornelius Schumacher <schumacher@kde.org> 00003 Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library General Public License 00016 along with this library; see the file COPYING.LIB. If not, write to 00017 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 Boston, MA 02110-1301, USA. 00019 */ 00033 #ifndef KTNEF_FORMATTER_H 00034 #define KTNEF_FORMATTER_H 00035 00036 #include <QtCore/QString> 00037 00038 #include <kcalcore/memorycalendar.h> 00039 00040 #include "ktnef_export.h" 00041 00042 namespace KCal { 00043 class Calendar; 00044 class InvitationFormatterHelper; 00045 } 00046 00047 namespace KCalUtils{ class InvitationFormatterHelper; } 00048 00049 namespace KTnef { 00050 00051 #ifndef KDEPIM_NO_KCAL 00052 00059 KTNEF_EXPORT_DEPRECATED QString formatTNEFInvitation( const QByteArray &tnef, 00060 KCal::Calendar *cal, 00061 KCal::InvitationFormatterHelper *h ); 00062 #endif 00063 00071 KTNEF_EXPORT QString formatTNEFInvitation( const QByteArray &tnef, 00072 const KCalCore::MemoryCalendar::Ptr &cal, 00073 KCalUtils::InvitationFormatterHelper *h ); 00074 00082 KTNEF_EXPORT QString msTNEFToVPart( const QByteArray &tnef ); 00083 } 00084 00085 #endif