Logo Search packages:      
Sourcecode: qstardict version File versions  Download package

QStarDict::DictPlugin Class Reference

#include <dictplugin.h>

Inherited by StarDict, and Web.

List of all members.


Detailed Description

This is a base class for all dictionary plugins classes.

Definition at line 34 of file dictplugin.h.


Public Types

enum  Feature { None = 0x00, SearchSimilar = 0x01, SettingsDialog = 0x02 }

Public Member Functions

virtual QStringList authors () const =0
virtual QStringList availableDicts () const =0
virtual QString description () const =0
virtual DictInfo dictInfo (const QString &dict)=0
virtual int execSettingsDialog (QWidget *parent=0)
virtual Features features () const
virtual QStringList findSimilarWords (const QString &dict, const QString &word)
virtual bool isTranslatable (const QString &dict, const QString &word)=0
virtual QStringList loadedDicts () const =0
virtual QString name () const =0
virtual void setLoadedDicts (const QStringList &loadedDicts)=0
virtual Translation translate (const QString &dict, const QString &word)=0
virtual QString version () const =0
virtual ~DictPlugin ()

Protected Member Functions

QString workPath () const

Classes

class  DictInfo
class  Translation

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index