Added icon to xdxf plugin and commonDictInterface
[mdictionary] / trunk / src / plugins / xdxf / src / xdxfplugin.h
index 4c9c286..7d0cd93 100644 (file)
@@ -83,6 +83,9 @@ public:
     //! Sets new settings
     void setSettings(Settings*);
 
+    //! returns plugin icon
+    virtual QIcon icon();
+
 public Q_SLOTS:
     /*! performs search in dictionary
       \param  word word to search in dictionary
@@ -124,6 +127,7 @@ private:
     //! path to dictionary file
     QString path;
     uint _hash;
+    QIcon _icon;
 
     //! number of words in dicrionary
     long _wordsCount;