• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

lokalize

  • GettextCatalog
  • GettextExportPlugin
Public Member Functions | Public Attributes | List of all members
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:
  • gettextexport.h
  • gettextexport.cpp
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

KDE's Doxygen guidelines are available online.

lokalize

Skip menu "lokalize"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal