projects
/
mdictionary
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://drop.maemo.org/git/mdictionary
[mdictionary]
/
src
/
include
/
CommonDictInterface.h
diff --git
a/src/include/CommonDictInterface.h
b/src/include/CommonDictInterface.h
index
4e8cebc
..
b9ed0bb
100644
(file)
--- a/
src/include/CommonDictInterface.h
+++ b/
src/include/CommonDictInterface.h
@@
-76,13
+76,13
@@
class CommonDictInterface : public QObject, public AccentsNormalizer {
virtual QString search(QString key) = 0;
//! \returns unique value (unique for every dictionary, not plugin)
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)
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
}
//! returns current plugin settings
@@
-137,7
+137,6
@@
protected:
return string;
}
return string;
}
-private:
uint _hash;
};
uint _hash;
};