kmail Library API Documentation

kmgroupwarefuncs.h

00001 #ifndef KMGROUPWAREFUNCS_H
00002 #define KMGROUPWAREFUNCS_H
00003 
00004 #include <qstring.h>
00005 #include <qdatetime.h>
00006 
00007 
00008 struct save_tz { char* old_tz; char* tz_env_str; };
00009 
00010 /* temporarily go to a different timezone */
00011 struct save_tz set_tz( const char* _tc );
00012 
00013 /* restore previous timezone */
00014 void unset_tz( struct save_tz old_tz );
00015 
00016 QDateTime utc2Local( const QDateTime& utcdt );
00017 
00018 QDateTime pureISOToLocalQDateTime(const QString & dtStr, bool bDateOnly=false);
00019 
00020 QString ISOToLocalQDateTime(const QString & dtStr);
00021 
00022 // This is a very light-weight and fast 'parser' to retrieve up
00023 // to 7 data entries from a vCal taking continuation lines
00024 // into account
00025 // This very primitive function may be removed once a link
00026 // to an iCal/vCal parsing library is established...
00027 extern QString nullQString;
00028 void vPartMicroParser( const QCString& str, QString& s1, QString& s2=nullQString,
00029                   QString& s3=nullQString, QString& s4=nullQString,
00030                   QString& s5=nullQString, QString& s6=nullQString,
00031                   QString& s7=nullQString );
00032 
00033 QString isoDateTimeToLocal(const QString& isoStr );
00034 
00035 // This replaces chars with the html equivalents
00036 void string2HTML( QString& str );
00037 
00038 #endif // KMGROUPWAREFUNCS_H
KDE Logo
This file is part of the documentation for kmail Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:37:28 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003