change html to xml in funcions names
[mdictionary] / src / plugins / google / TranslationGoogle.cpp
index 2f5db67..2e54ea9 100644 (file)
@@ -47,7 +47,7 @@ QString TranslationGoogle::key() const{
     return _key;
 }
 
-QString TranslationGoogle::toHtml() const {
+QString TranslationGoogle::toXml() const {
     QString result("");
     if(!googlePlugin)
         return result;   
@@ -65,7 +65,7 @@ QString TranslationGoogle::toHtml() const {
     QList<Translation*> translations=googlePlugin->searchWordList(_key);
     qDebug()<<"test: "<<translations.size();
     if(translations.size()>0 && translations.at(0))
-        return translations.at(0)->toHtml();
+        return translations.at(0)->toXml();
     return "";
 
 }