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
+2
View File
@@ -18,6 +18,7 @@ public:
void appendWord(const Word &word);
void appendTimestamp();
void appendTimestamp(std::time_t time);
void setHighlight(const bool &value);
QString matchLink(const QString &string);
QRegularExpression regex;
@@ -26,6 +27,7 @@ public:
private:
std::vector<Word> _words;
bool highlight = false;
std::chrono::time_point<std::chrono::system_clock> _parseTime;
};