Merge branch 'xdxf'
[mdictionary] / trunk / src / plugins / xdxf / src / XdxfPlugin / xdxfplugin.h
index a1244af..8f3fbf5 100644 (file)
@@ -5,6 +5,7 @@
 #include <QObject>
 #include <QDialog>
 #include <QRegExp>
+#include <QTime>
 
 class TranslationXdxf;
 
@@ -49,6 +50,9 @@ public:
     //! returns a unique hash for a dictionary
     uint hash() const;
 
+    //! set unique value (unique for every dictionary not plugin)
+    void setHash(uint);
+
 public Q_SLOTS:
     /*! performs search in dictionary
       \param  word word to search in dictionary
@@ -72,6 +76,7 @@ private:
     QDialog *_loadDialog;
     QDialog *_settingsDialog;
     QString path;
+    uint _hash;
     bool stopped;   /*volatile*/
 };