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

libkdeedu/keduvocdocument

Public Member Functions | Static Public Member Functions | List of all members
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.

Author
Jeremy Whiting

Definition at line 38 of file keduvockvtml2writer.h.

Constructor & Destructor Documentation

KEduVocKvtml2Writer::KEduVocKvtml2Writer ( QFile *  file)

Definition at line 31 of file keduvockvtml2writer.cpp.

Member Function Documentation

void KEduVocKvtml2Writer::appendTextElement ( QDomElement &  parent,
const QString &  elementName,
const QString &  text 
)
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 654 of file keduvockvtml2writer.cpp.

QByteArray KEduVocKvtml2Writer::toByteArray ( KEduVocDocument *  doc,
const QString &  generator 
)

Definition at line 47 of file keduvockvtml2writer.cpp.

bool KEduVocKvtml2Writer::writeDoc ( KEduVocDocument *  doc,
const QString &  generator 
)

Definition at line 37 of file keduvockvtml2writer.cpp.


The documentation for this class was generated from the following files:
  • keduvockvtml2writer.h
  • keduvockvtml2writer.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:37:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkdeedu/keduvocdocument

Skip menu "libkdeedu/keduvocdocument"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

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