delete unnecessary variable
[mdictionary] / trunk / src / plugins / google / src / GooglePlugin.h
index ca8ca0c..69b0e35 100644 (file)
@@ -82,7 +82,7 @@ public:
 
     void setConnectionAccept(QString connectionAcepted);
 
-    bool isConnectionAccept();
+    bool isConnectionAccept() const;
 
     //! returns a description of a word given by a QString
     QString search(QString key);
@@ -97,7 +97,7 @@ public:
     Settings* settings();
 
     //! Sets new settings
-    void setSettings(Settings*);
+    void setSettings(const Settings*);
 
     //! returns plugin icon
     QIcon* icon();
@@ -124,15 +124,8 @@ public slots:
     QString jsonParse(QString result);
 
 private:
-
     void getDictionaryInfo();
-
     QMap<QString, QString> languages;
-    //! language from which we translate
-    QString _langFrom;
-    //! language to which we translate
-    QString _langTo;
-    //! name of a dictionary
     QString _name;
     //! type of a dictionary
     QString _type;