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

libkdeedu/keduvocdocument

KEduVocKvtml2Writer Class Reference

#include <keduvockvtml2writer.h>

List of all members.


Detailed Description

Class to write kvtml2 data files from KEduVocDocument.

Author:
Jeremy Whiting

Definition at line 37 of file 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)

Constructor & Destructor Documentation

KEduVocKvtml2Writer::KEduVocKvtml2Writer ( QFile *  file  ) 

Definition at line 30 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 612 of file keduvockvtml2writer.cpp.

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

Definition at line 46 of file keduvockvtml2writer.cpp.

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

Definition at line 36 of file keduvockvtml2writer.cpp.


The documentation for this class was generated from the following files:
  • keduvockvtml2writer.h
  • keduvockvtml2writer.cpp

libkdeedu/keduvocdocument

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

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal