MessageViewer::HeaderStrategy

Search for usage in LXR

MessageViewer::HeaderStrategy Class Referenceabstract

#include <headerstrategy.h>

Inheritance diagram for MessageViewer::HeaderStrategy:

Public Types

enum  DefaultPolicy { Display , Hide }
 

Public Member Functions

virtual DefaultPolicy defaultPolicy () const =0
 
virtual QStringList headersToDisplay () const
 
virtual QStringList headersToHide () const
 
virtual const char * name () const =0
 
void readConfig ()
 
virtual bool showHeader (const QString &header) const
 

Static Public Member Functions

static QStringList stringList (const char *const headers[], int numHeaders)
 

Detailed Description

The HeaderStrategy class.

Definition at line 23 of file headerstrategy.h.

Member Enumeration Documentation

◆ DefaultPolicy

enum MessageViewer::HeaderStrategy::DefaultPolicy

Definition at line 39 of file headerstrategy.h.

Member Function Documentation

◆ headersToDisplay()

QStringList HeaderStrategy::headersToDisplay ( ) const
nodiscardvirtual

Definition at line 22 of file headerstrategy.cpp.

◆ headersToHide()

QStringList HeaderStrategy::headersToHide ( ) const
nodiscardvirtual

Definition at line 27 of file headerstrategy.cpp.

◆ showHeader()

bool HeaderStrategy::showHeader ( const QString & header) const
nodiscardvirtual

Definition at line 32 of file headerstrategy.cpp.

◆ stringList()

QStringList HeaderStrategy::stringList ( const char *const headers[],
int numHeaders )
staticnodiscard

Definition at line 44 of file headerstrategy.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.