changed the return value of searchWordList function
[mdictionary] / trunk / src / plugins / xdxf / src / XdxfPlugin / TranslationXdxf.h
1 #ifndef TRANSLATIONXDXF_H
2 #define TRANSLATIONXDXF_H
3
4 #include <QString>
5 #include "../../../../includes/translation.h"
6 #include "xdxfplugin.h"
7
8 class XdxfPlugin;
9
10 class TranslationXdxf : public Translation
11 {
12 public:
13     TranslationXdxf();
14     TranslationXdxf(QString _key,QString _dictionaryInfo, XdxfPlugin *xdxfPlugin);
15
16     //! \return word to be translated
17     QString key() const;
18
19     //! \returns dictionary information (plugin name, languages, <logo> etc)\
20     //!    to be displayed in translation table header
21     QString dictionaryInfo() const;
22
23     //! \return parsed raw format into html
24     QString toHtml() const;
25
26     //! sets the word for which we want to find a translation
27     void setKey(QString);
28
29     //! sets information about dictionary
30     void setDictionaryInfo(QString);
31
32
33 private:
34     QString _key;
35     QString _dictionaryInfo;
36     XdxfPlugin *xdxfPlugin;
37
38 };
39
40 #endif // TRANSLATIONXDXF_H
41