headerstyle.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef __KMAIL_HEADERSTYLE_H__
00033 #define __KMAIL_HEADERSTYLE_H__
00034
00035 class QString;
00036 class KMMessage;
00037
00038 namespace KMail {
00039
00040 class HeaderStrategy;
00041
00051 class HeaderStyle {
00052 protected:
00053 HeaderStyle();
00054 virtual ~HeaderStyle();
00055
00056 public:
00057
00058
00059
00060 enum Type { Brief, Plain, Fancy };
00061
00062 static const HeaderStyle * create( Type type );
00063 static const HeaderStyle * create( const QString & type );
00064
00065 static const HeaderStyle * brief();
00066 static const HeaderStyle * plain();
00067 static const HeaderStyle * fancy();
00068
00069
00070
00071
00072 virtual const char * name() const = 0;
00073 virtual const HeaderStyle * next() const = 0;
00074 virtual const HeaderStyle * prev() const = 0;
00075
00076
00077
00078
00079 virtual QString format( const KMMessage * message,
00080 const KMail::HeaderStrategy * strategy,
00081 const QString & vCardName,
00082 bool printing=false ) const = 0;
00083 };
00084
00085 }
00086
00087 #endif // __KMAIL_HEADERSTYLE_H__
This file is part of the documentation for kmail Library Version 3.2.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Mar 6 17:18:16 2004 by
doxygen 1.3.6-20040222 written by
Dimitri van Heesch, © 1997-2003