kmail
#include <codecaction.h>
Public Types | |
enum | Mode { ComposerMode, ReaderMode } |
Public Member Functions | |
CodecAction (Mode mode, QObject *parent=0) | |
~CodecAction () | |
QList< QByteArray > | mimeCharsets () const |
void | setAutoCharset () |
void | setCharset (const QByteArray &charset) |
Detailed Description
Definition at line 31 of file codecaction.h.
Member Enumeration Documentation
enum CodecAction::Mode |
Definition at line 36 of file codecaction.h.
Constructor & Destructor Documentation
Definition at line 51 of file codecaction.cpp.
CodecAction::~CodecAction | ( | ) |
Definition at line 74 of file codecaction.cpp.
Member Function Documentation
QList< QByteArray > CodecAction::mimeCharsets | ( | ) | const |
The name of the charset, if a specific encoding was selected, or a list containing the names of the preferred charsets, if 'Default' was selected in Composer mode.
In Reader mode it probably makes more sense to use KCodecAction::currentCodec() and KCodecAction::currentAutoDetectScript().
Definition at line 79 of file codecaction.cpp.
void CodecAction::setAutoCharset | ( | ) |
Definition at line 98 of file codecaction.cpp.
void CodecAction::setCharset | ( | const QByteArray & | charset | ) |
Definition at line 127 of file codecaction.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.