summaryrefslogtreecommitdiffstats
path: root/api/logic/launch/LogModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/launch/LogModel.h')
-rw-r--r--api/logic/launch/LogModel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/api/logic/launch/LogModel.h b/api/logic/launch/LogModel.h
index 57cd23b0..e6deac89 100644
--- a/api/logic/launch/LogModel.h
+++ b/api/logic/launch/LogModel.h
@@ -17,7 +17,9 @@ public:
void append(MessageLevel::Enum, QString line);
void clear();
+
void suspend(bool suspend);
+ bool suspended();
QString toPlainText();
@@ -26,6 +28,9 @@ public:
void setStopOnOverflow(bool stop);
void setOverflowMessage(const QString & overflowMessage);
+ void setLineWrap(bool state);
+ bool wrapLines() const;
+
enum Roles
{
LevelRole = Qt::UserRole
@@ -48,6 +53,7 @@ private: /* data */
bool m_stopOnOverflow = false;
QString m_overflowMessage = "OVERFLOW";
bool m_suspended = false;
+ bool m_lineWrap = true;
private:
Q_DISABLE_COPY(LogModel)