diff --git a/src/libcalamares/Job.cpp b/src/libcalamares/Job.cpp index 9e32ff47f..5a63c100e 100644 --- a/src/libcalamares/Job.cpp +++ b/src/libcalamares/Job.cpp @@ -35,6 +35,13 @@ JobResult::message() const } +void +JobResult::setMessage( const QString& message ) +{ + m_message = message; +} + + QString JobResult::details() const { @@ -42,6 +49,13 @@ JobResult::details() const } +void +JobResult::setDetails( const QString& details ) +{ + m_details = details; +} + + JobResult JobResult::ok() { diff --git a/src/libcalamares/Job.h b/src/libcalamares/Job.h index 85eb93cf4..f6a2f10dc 100644 --- a/src/libcalamares/Job.h +++ b/src/libcalamares/Job.h @@ -32,8 +32,10 @@ public: operator bool() const; QString message() const; + void setMessage( const QString& message ); QString details() const; + void setDetails( const QString& details ); static JobResult ok();