refactor(MessageLevel): move and rename 'FromLine*' functions

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers 2025-12-11 04:41:29 -07:00
parent d1b6d7c402
commit 28d27d4f19
No known key found for this signature in database
GPG key ID: B4CB507E51F8B89C
4 changed files with 10 additions and 10 deletions

View file

@ -33,12 +33,12 @@ struct MessageLevel {
explicit operator int() const { return static_cast<int>(m_type); }
explicit operator MessageLevel::Enum() { return m_type; }
/* Get message level from a line. Line is modified if it was successful. */
static MessageLevel takeFromLine(QString& line);
/* Get message level from a line from the launcher log. Line is modified if it was successful. */
static MessageLevel takeFromLauncherLine(QString& line);
private:
Enum m_type;
};
/* Get message level from a line. Line is modified if it was successful. */
MessageLevel messageLevelFromLine(QString& line);
/* Get message level from a line from the launcher log. Line is modified if it was successful. */
MessageLevel messageLevelFromLauncherLine(QString& line);