virtual QString search(QString key) = 0;
//! \returns unique value (unique for every dictionary, not plugin)
- uint hash() const {
+ virtual uint hash() const {
return _hash;
}
//! sets unique value (unique for every dictionary, not plugin)
- void setHash(uint) {
- this->_hash=_hash;
+ virtual void setHash(uint h) {
+ this->_hash=h;
}
//! returns current plugin settings
return string;
}
-private:
uint _hash;
};
QString _type;
//! information about dictionary
QString _infoNote;
- //! unique number of a dictionary assigned to it by backbone
- uint _hash;
+
//! icon displayed during translations and when the dictionary is chosen
QIcon _icon;
Settings *_settings;