lokalize
catalogfileplugin.h
Go to the documentation of this file.
Definition: catalogfileplugin.h:65
void setCatalogExtraData(const QStringList &data)
set extra data for the catalog, which can't be stored in CatalogItem.
Definition: importplugin.cpp:72
This class represents an entry in a catalog.
Definition: catalogitem.h:55
virtual ~CatalogImportPlugin()
Definition: importplugin.cpp:57
Definition: catalogfileplugin.h:64
virtual ConversionStatus load(QIODevice *)=0
Reimplement this method to load the local file passed as an argument.
CatalogImportPlugin()
Definition: importplugin.cpp:51
void commitTransaction()
commit the data in the current transaction.
Definition: importplugin.cpp:125
Header error that could be recovered.
Definition: catalogfileplugin.h:63
void setErrorIndex(const QList< int > &errors)
set the list of parse error indexes
Definition: importplugin.cpp:84
void appendCatalogItem(const CatalogItem &item, const bool obsolete=false)
Append a new catalog item, either as normal or as an obsolete one.
Definition: importplugin.cpp:62
Definition: catalogfileplugin.h:61
void setCodec(QTextCodec *codec)
Set the character encoding used in the catalog file.
Definition: importplugin.cpp:96
HISTORY: this was a base class for Catalog import plugins in KBabel, but this architecture isn't not ...
Definition: catalogfileplugin.h:85
short _maxLineLength
Definition: catalogfileplugin.h:140
void setGeneratedFromDocbook(const bool fromDocbook)
set flag that the file is generated from DocBook
Definition: importplugin.cpp:78
Definition: catalogfileplugin.h:60
Definition: catalogfileplugin.h:56
void setHeader(const CatalogItem &header)
set the header catalog item
Definition: importplugin.cpp:90
Implementation of storage for Gettext PO.
Definition: gettextstorage.h:39
The loaded catalog has not any entry!
Definition: catalogfileplugin.h:66
ConversionStatus open(QIODevice *, GettextStorage *catalog, int *errorLine)
Load the file and fill the corresponding catalog.
Definition: importplugin.cpp:101
short _trailingNewLines
Definition: catalogfileplugin.h:141
Definition: catalogfileplugin.h:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:06 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:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.