32#ifndef __KMAIL_HEADERSTYLE_H__
33#define __KMAIL_HEADERSTYLE_H__
54 virtual ~HeaderStyle();
60 enum Type { Brief, Plain, Fancy, Enterprise };
62 static const HeaderStyle * create( Type type );
63 static const HeaderStyle * create( const TQString & type );
65 static const HeaderStyle * brief();
66 static const HeaderStyle * plain();
67 static const HeaderStyle * fancy();
68 static const HeaderStyle * enterprise();
73 virtual const char * name() const = 0;
74 virtual const HeaderStyle * next() const = 0;
75 virtual const HeaderStyle * prev() const = 0;
80 virtual TQString format( const KMMessage * message,
81 const KMail::HeaderStrategy * strategy,
82 const TQString & vCardName,
83 bool printing= false, bool topLevel = false ) const = 0;
|