lokalize
GettextCatalog::GettextExportPlugin Class Reference
#include <gettextexport.h>
Public Member Functions | |
GettextExportPlugin (short wrapWidth=-1, short trailingNewLines=1) | |
ConversionStatus | save (QIODevice *device, const GettextStorage *catalog, QTextCodec *codec) |
Public Attributes | |
short | m_trailingNewLines |
short | m_wrapWidth |
Detailed Description
The class for exporting GNU gettext PO files.
As an extra information, it stores the list of all obsolete entries.
Definition at line 53 of file gettextexport.h.
Constructor & Destructor Documentation
GettextExportPlugin::GettextExportPlugin | ( | short | wrapWidth = -1 , |
short | trailingNewLines = 1 |
||
) |
Definition at line 57 of file gettextexport.cpp.
Member Function Documentation
ConversionStatus GettextExportPlugin::save | ( | QIODevice * | device, |
const GettextStorage * | catalog, | ||
QTextCodec * | codec | ||
) |
Definition at line 63 of file gettextexport.cpp.
Member Data Documentation
short GettextCatalog::GettextExportPlugin::m_trailingNewLines |
Definition at line 88 of file gettextexport.h.
short GettextCatalog::GettextExportPlugin::m_wrapWidth |
Width of the wrap.
This is the width of the wrap in characters (not bytes), including everything (e.g. keyword, quote characters, spaces).
- A value of 0 means no wrap
- A value of -1 means the traditional KBabel wrapping
- Other negative values are reserved for future extensions (by default: no wrap)
- Note
- Gettext's default value is 78 characters
- Too small values might not be correctly supported.
Definition at line 87 of file gettextexport.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.