added text selection

This commit is contained in:
fourtf
2017-09-12 19:06:16 +02:00
parent 8b40393023
commit 81b1a8774b
18 changed files with 585 additions and 239 deletions
+2 -1
View File
@@ -16,7 +16,7 @@ public:
SharedMessage build();
void appendWord(const Word &word);
void appendWord(const Word &&word);
void appendTimestamp();
void appendTimestamp(std::time_t time);
void setHighlight(const bool &value);
@@ -27,6 +27,7 @@ public:
QString originalMessage;
private:
std::shared_ptr<messages::Message> message;
std::vector<Word> _words;
bool highlight = false;
std::chrono::time_point<std::chrono::system_clock> _parseTime;