Clean and order documentation in source files. Source ready to beta 2 release
[mdictionary] / src / plugins / xdxf / TranslationXdxf.cpp
index 394ab81..e6974c6 100644 (file)
     Copyright 2010 Comarch S.A.
 
 *******************************************************************************/
-/*! \file TranslationXdxf.cpp
+/*!
+    \file TranslationXdxf.cpp
+    \brief Implementation of xdxf plugin's translation.
+
     \author Jakub Jaszczynski <j.j.jaszczynski@gmail.com>
 */
 
-
 #include "TranslationXdxf.h"
 #include <QDebug>
 
@@ -30,6 +32,7 @@ TranslationXdxf::TranslationXdxf():_key(""),_dictionaryInfo("") {
     xdxfPlugin=0;
 }
 
+
 TranslationXdxf::TranslationXdxf(QString _key, QString _dictionaryInfo,
          XdxfPlugin *xdxfPlugin): _key(_key),_dictionaryInfo(_dictionaryInfo) {
     this->xdxfPlugin=xdxfPlugin;
@@ -43,7 +46,8 @@ QString TranslationXdxf::key() const {
     return _key;
 }
 
-QString TranslationXdxf::toHtml() const { 
+
+QString TranslationXdxf::toXml() const { 
     QString result("");
     if(!xdxfPlugin)
         return result;
@@ -57,11 +61,12 @@ QString TranslationXdxf::toHtml() const {
     return result.replace("&","&amp;");
 }
 
+
 void TranslationXdxf::setKey(QString _key) {
     this->_key=_key;
 }
 
+
 void TranslationXdxf::setDictionaryInfo(QString _dictionaryInfo) {
     this->_dictionaryInfo=_dictionaryInfo;
 }
-