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

kiten/lib

EntryKanjidic Class Reference

#include <entryKanjidic.h>

Inheritance diagram for EntryKanjidic:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 30 of file entryKanjidic.h.


Public Member Functions

Entry * clone () const
virtual QString dumpEntry () const
 EntryKanjidic (const QString &dict, const QString &entry)
 EntryKanjidic (const QString &x)
 EntryKanjidic (const EntryKanjidic &x)
virtual bool loadEntry (const QString &)
virtual QString toHTML () const

Protected Member Functions

virtual bool extendedItemCheck (const QString &, const QString &) const
virtual QString HTMLExtendedInfo (const QString &field) const
virtual QString HTMLReadings () const
virtual QString HTMLWord () const
virtual QString makeReadingLink (const QString &) const

Protected Attributes

QStringList originalReadings

Constructor & Destructor Documentation

EntryKanjidic::EntryKanjidic ( const EntryKanjidic &  x  )  [inline]

Definition at line 32 of file entryKanjidic.h.

EntryKanjidic::EntryKanjidic ( const QString &  x  )  [inline]

Definition at line 33 of file entryKanjidic.h.

EntryKanjidic::EntryKanjidic ( const QString &  dict,
const QString &  entry 
) [inline]

Definition at line 34 of file entryKanjidic.h.


Member Function Documentation

Entry* EntryKanjidic::clone (  )  const [inline, virtual]

A clone method, this should just implement "return new EntrySubClass(*this)".

Implements Entry.

Definition at line 35 of file entryKanjidic.h.

QString EntryKanjidic::dumpEntry (  )  const [virtual]

This reproduces a kanjidic-formatted line from the Entry.

Look at the above parser to see how the format works

Implements Entry.

Definition at line 298 of file entryKanjidic.cpp.

bool EntryKanjidic::extendedItemCheck ( const QString &  key,
const QString &  value 
) const [protected, virtual]

Simple accessor.

Parameters:
key the key for the extended item that is being verified
value the value it is supposed to have
Returns:
true if the key has that value, false if it is different or does not exist

Reimplemented from Entry.

Definition at line 309 of file entryKanjidic.cpp.

QString EntryKanjidic::HTMLExtendedInfo ( const QString &  field  )  const [protected, virtual]

Definition at line 74 of file entryKanjidic.cpp.

QString EntryKanjidic::HTMLReadings (  )  const [protected, virtual]

Prepares Readings for output as HTML.

Reimplemented from Entry.

Definition at line 48 of file entryKanjidic.cpp.

QString EntryKanjidic::HTMLWord (  )  const [protected, virtual]

Return and HTML version of a word.

Reimplemented from Entry.

Definition at line 70 of file entryKanjidic.cpp.

bool EntryKanjidic::loadEntry ( const QString &  entryLine  )  [virtual]

Fill the fields of our Entry object apprpriate to the given entry line from Kanjidic.

Implements Entry.

Definition at line 88 of file entryKanjidic.cpp.

QString EntryKanjidic::makeReadingLink ( const QString &  inReading  )  const [protected, virtual]

Definition at line 79 of file entryKanjidic.cpp.

QString EntryKanjidic::toHTML (  )  const [virtual]

returns a HTML version of an Entry

Reimplemented from Entry.

Definition at line 31 of file entryKanjidic.cpp.


Member Data Documentation

QStringList EntryKanjidic::originalReadings [protected]

Definition at line 49 of file entryKanjidic.h.


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

kiten/lib

Skip menu "kiten/lib"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • 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