KEduVocKvtml2Writer
KEduVocKvtml2Writer Class Reference
#include <keduvockvtml2writer.h>
Public Member Functions | |
KEduVocKvtml2Writer (QFile *file) | |
QByteArray | toByteArray (KEduVocDocument *doc, const QString &generator) |
bool | writeDoc (KEduVocDocument *doc, const QString &generator) |
Static Public Member Functions | |
static void | appendTextElement (QDomElement &parent, const QString &elementName, const QString &text) |
Detailed Description
Class to write kvtml2 data files from KEduVocDocument.
Definition at line 28 of file keduvockvtml2writer.h.
Constructor & Destructor Documentation
◆ KEduVocKvtml2Writer()
|
explicit |
Definition at line 22 of file keduvockvtml2writer.cpp.
Member Function Documentation
◆ appendTextElement()
|
static |
Helper function, appends a new element AND a text child to parent
Only appends if text
is NOT empty.
- Parameters
-
parent elementName text
Definition at line 630 of file keduvockvtml2writer.cpp.
◆ toByteArray()
QByteArray KEduVocKvtml2Writer::toByteArray | ( | KEduVocDocument * | doc, |
const QString & | generator ) |
Definition at line 38 of file keduvockvtml2writer.cpp.
◆ writeDoc()
bool KEduVocKvtml2Writer::writeDoc | ( | KEduVocDocument * | doc, |
const QString & | generator ) |
Definition at line 28 of file keduvockvtml2writer.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 Fri Nov 29 2024 11:53:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:53:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.