kiten/lib
EntryKanjidic Class Reference
#include <entryKanjidic.h>

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.
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.
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.
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:
KDE 4.2 API Reference