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

kiten/lib

entryDeinflect Class Reference

#include <entryDeinflect.h>

Inheritance diagram for entryDeinflect:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 28 of file entryDeinflect.h.


Public Member Functions

entryDeinflect * clone () const
virtual QString dumpEntry () const
 entryDeinflect (const entryDeinflect &old)
 entryDeinflect (const QString &correction, const QString &type, int index, const QString &matchedEnding)
virtual bool loadEntry (const QString &)
virtual bool matchesQuery (const DictQuery &query) const
virtual QString toHTML () const

Constructor & Destructor Documentation

entryDeinflect::entryDeinflect ( const QString &  correction,
const QString &  type,
int  index,
const QString &  matchedEnding 
) [inline]

Definition at line 31 of file entryDeinflect.h.

entryDeinflect::entryDeinflect ( const entryDeinflect &  old  )  [inline]

Definition at line 34 of file entryDeinflect.h.


Member Function Documentation

entryDeinflect* entryDeinflect::clone (  )  const [inline, virtual]

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

Implements Entry.

Definition at line 36 of file entryDeinflect.h.

virtual QString entryDeinflect::dumpEntry (  )  const [inline, virtual]

Return a QString of an entry, as if it were dumped back into it's source file.

Implements Entry.

Definition at line 44 of file entryDeinflect.h.

virtual bool entryDeinflect::loadEntry ( const QString &   )  [inline, virtual]

An entry should be able to parse an in-file representation of an entry as a QString and put it back.

The latter will be useful for writing to dictionaries on disk at some point.

Implements Entry.

Definition at line 43 of file entryDeinflect.h.

virtual bool entryDeinflect::matchesQuery ( const DictQuery &  query  )  const [inline, virtual]

Fairly important method, this tests if this particular entry matches a query.

The EDICT and Kanjidic doSearch methods do an approximate match, load an Entry, and then check more carefully by calling this method. This works nicely for handling searchWithinResults cleanly

Reimplemented from Entry.

Definition at line 45 of file entryDeinflect.h.

virtual QString entryDeinflect::toHTML (  )  const [inline, virtual]

An entry should be able to generate a representation of itself in (valid) HTML.

Main switching function for displaying to the user.

Reimplemented from Entry.

Definition at line 38 of file entryDeinflect.h.


The documentation for this class was generated from the following file:
  • entryDeinflect.h

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