GH-1675 reimplement suspesion of log watch
This commit is contained in:
parent
6e80f03409
commit
f07496ac6d
4 changed files with 12 additions and 7 deletions
|
@ -17,6 +17,7 @@ public:
|
|||
|
||||
void append(MessageLevel::Enum, QString line);
|
||||
void clear();
|
||||
void suspend(bool suspend);
|
||||
|
||||
QString toPlainText();
|
||||
|
||||
|
@ -45,6 +46,7 @@ private: /* data */
|
|||
int m_numLines = 0;
|
||||
bool m_stopOnOverflow = false;
|
||||
QString m_overflowMessage = "OVERFLOW";
|
||||
bool m_suspended = false;
|
||||
|
||||
private:
|
||||
Q_DISABLE_COPY(LogModel)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue