Make it possible to update message and details fields of a JobResult
This commit is contained in:
parent
1314bf944f
commit
249a28910a
@ -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()
|
||||
{
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user