/*! Translation is kind of GoF proxy, it stores key:translation pair and
- provides it in lazy way -> key is available always, but translation is fetched
+ provides it in a lazy way -> key is available always, but translation is fetched
as late as possible*/
class Translation {
public:
return this->key()==translation->key();
}
- /*! \returns dictionary information (plugin name, languages, <logo> etc)\
- to be displayed in translation table header */
- virtual QString dictionaryInfo() const = 0;
-
- //! \return parsed raw format into html
- virtual QString toHtml() const = 0;
+ //! \return parsed raw format into xml
+ virtual QString toXml() const = 0;
//! \return whether given translation is taken from bookmarks
virtual bool isBookmark() const {
_bookmark = b;
}
- //! returns coresponding dict object
+ //! \returns corresponding dict object
virtual uint dict() const {return 0;}
protected: