Process message.
More...
#include <Message.h>
◆ Type
Message type.
Enumerator |
---|
Information | Non-critical information.
|
Warning | Warning, that does not influence the process flow.
|
Error | Error, that influences the process flow.
|
Critical | Critical error, that makes the process unable to run.
|
◆ Message()
QtPdCom::Message::Message |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~Message()
QtPdCom::Message::~Message |
( |
| ) |
|
◆ getDescription()
QString QtPdCom::Message::getDescription |
( |
const QString & |
lang = QString() | ) |
const |
- Returns
- The message description.
References impl.
◆ getIndex()
int QtPdCom::Message::getIndex |
( |
| ) |
const |
◆ getPath()
const QString & QtPdCom::Message::getPath |
( |
| ) |
const |
◆ getText()
QString QtPdCom::Message::getText |
( |
const QString & |
lang = QString() | ) |
const |
- Returns
- The message text. If the text is not available in the desired language, the default text (empty language) will be returned.
References impl.
◆ getTime()
double QtPdCom::Message::getTime |
( |
| ) |
const |
- Returns
- The message time in seconds.
References impl.
◆ getTimeString()
QString QtPdCom::Message::getTimeString |
( |
| ) |
const |
Returns the message time as a string.
References impl.
◆ getType()
- Returns
- The message type.
References impl.
◆ isActive()
bool QtPdCom::Message::isActive |
( |
| ) |
const |
- Returns
- True, if the message is currently active.
References impl.
◆ Q_ENUM()
QtPdCom::Message::Q_ENUM |
( |
Type |
| ) |
|
◆ stateChanged
void QtPdCom::Message::stateChanged |
( |
| ) |
|
|
signal |
◆ MessageModel
◆ Impl
◆ impl
std::unique_ptr<Impl> QtPdCom::Message::impl |
|
private |
Referenced by QtPdCom::MessageModel::Impl::addHistoricMessage(), QtPdCom::MessageModel::Impl::addProcessMessage(), QtPdCom::MessageModel::connect(), getDescription(), getIndex(), getPath(), getText(), getTime(), getTimeString(), getType(), isActive(), QtPdCom::MessageModel::load(), and QtPdCom::MessageModel::Impl::stateChanged().
The documentation for this class was generated from the following files: