Added Highlights (#86)

Added Highlights
This commit is contained in:
Cranken
2017-07-31 00:37:22 +02:00
committed by pajlada
parent 467ca90fd8
commit 8fb0671834
17 changed files with 245 additions and 12 deletions
+10
View File
@@ -43,6 +43,10 @@ public:
return _value;
}
T &getnonConst() {
return _value;
}
void set(const T &newValue)
{
if (_value != newValue) {
@@ -65,6 +69,12 @@ public:
}
}
void insertMap(QString id, bool sound, bool task){
QPair<bool,bool> pair(sound,task);
_value.insert(id,pair);
}
boost::signals2::signal<void(const T &newValue)> valueChanged;
private: