kiten/lib
#include <entrykanjidic.h>
Protected Member Functions | |
virtual bool | extendedItemCheck (const QString &key, const QString &value) const |
virtual QString | HTMLExtendedInfo (const QString &field) const |
virtual QString | HTMLReadings () const |
virtual QString | HTMLWord () const |
virtual QString | makeReadingLink (const QString &inReading) const |
Protected Member Functions inherited from Entry | |
Entry (const Entry &) | |
Entry (const QString &sourceDictionary) | |
Entry (const QString &sourceDictionary, const QString &word, const QStringList &readings, const QStringList &meanings) | |
virtual QString | HTMLMeanings () const |
void | init () |
bool | isKanji (const QChar &character) const |
bool | listMatch (const QStringList &list, const QStringList &test, DictQuery::MatchType type) const |
virtual QString | makeLink (const QString &entryString) const |
Protected Attributes | |
QStringList | AsRadicalReadings |
QStringList | InNamesReadings |
QStringList | KunyomiReadings |
QStringList | OnyomiReadings |
QStringList | originalReadings |
Protected Attributes inherited from Entry | |
QHash< QString, QString > | ExtendedInfo |
QStringList | Meanings |
QString | outputListDelimiter |
QStringList | Readings |
QString | sourceDict |
QString | Word |
Detailed Description
Definition at line 34 of file entrykanjidic.h.
Constructor & Destructor Documentation
EntryKanjidic::EntryKanjidic | ( | const EntryKanjidic & | dict | ) |
Definition at line 34 of file entrykanjidic.cpp.
EntryKanjidic::EntryKanjidic | ( | const QString & | dict | ) |
Definition at line 39 of file entrykanjidic.cpp.
Definition at line 44 of file entrykanjidic.cpp.
Member Function Documentation
|
virtual |
A clone method, this should just implement "return new EntrySubClass(*this)".
Implements Entry.
Definition at line 61 of file entrykanjidic.cpp.
|
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 70 of file entrykanjidic.cpp.
|
protectedvirtual |
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 85 of file entrykanjidic.cpp.
QString EntryKanjidic::getAsRadicalReadings | ( | ) | const |
Definition at line 95 of file entrykanjidic.cpp.
QStringList EntryKanjidic::getAsRadicalReadingsList | ( | ) | const |
Definition at line 100 of file entrykanjidic.cpp.
|
virtual |
Get the dictionary type (e.g.
edict, kanjidic).
Implements Entry.
Definition at line 105 of file entrykanjidic.cpp.
QString EntryKanjidic::getInNamesReadings | ( | ) | const |
Definition at line 110 of file entrykanjidic.cpp.
QStringList EntryKanjidic::getInNamesReadingsList | ( | ) | const |
Definition at line 115 of file entrykanjidic.cpp.
QString EntryKanjidic::getKanjiGrade | ( | ) | const |
Definition at line 120 of file entrykanjidic.cpp.
QString EntryKanjidic::getKunyomiReadings | ( | ) | const |
Definition at line 125 of file entrykanjidic.cpp.
QStringList EntryKanjidic::getKunyomiReadingsList | ( | ) | const |
Definition at line 130 of file entrykanjidic.cpp.
QString EntryKanjidic::getOnyomiReadings | ( | ) | const |
Definition at line 135 of file entrykanjidic.cpp.
QStringList EntryKanjidic::getOnyomiReadingsList | ( | ) | const |
Definition at line 140 of file entrykanjidic.cpp.
QString EntryKanjidic::getStrokesCount | ( | ) | const |
Definition at line 145 of file entrykanjidic.cpp.
Definition at line 150 of file entrykanjidic.cpp.
|
protectedvirtual |
Prepares Readings for output as HTML.
Reimplemented from Entry.
Definition at line 161 of file entrykanjidic.cpp.
|
protectedvirtual |
Return and HTML version of a word.
Prepares Word for output as HTML.
Reimplemented from Entry.
Definition at line 183 of file entrykanjidic.cpp.
|
virtual |
Fill the fields of our Entry object apprpriate to the given entry line from Kanjidic.
Implements Entry.
Definition at line 193 of file entrykanjidic.cpp.
Definition at line 465 of file entrykanjidic.cpp.
|
virtual |
Returns a HTML version of an Entry.
Reimplemented from Entry.
Definition at line 475 of file entrykanjidic.cpp.
Member Data Documentation
|
protected |
Definition at line 64 of file entrykanjidic.h.
|
protected |
Definition at line 65 of file entrykanjidic.h.
|
protected |
Definition at line 66 of file entrykanjidic.h.
|
protected |
Definition at line 67 of file entrykanjidic.h.
|
protected |
Definition at line 68 of file entrykanjidic.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.