Make it possible to update message and details fields of a JobResult

This commit is contained in:
Aurélien Gâteau 2014-08-05 17:37:24 +02:00
parent 1314bf944f
commit 249a28910a
2 changed files with 16 additions and 0 deletions

View File

@ -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()
{

View File

@ -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();