|
Krita Source Code Documentation
|
Inheritance diagram for MessageForwarderThread:Signals | |
| void | sigDeliverMessage (QtMsgType type, const QString &message) |
Public Member Functions | |
| void | pushExitFlag () |
| void | pushMessage (QtMsgType type, const QString &message) |
| void | run () override |
Private Attributes | |
| bool | m_exitFlag {false} |
| QQueue< std::pair< QtMsgType, QString > > | m_messages |
| QMutex | m_mutex |
| QWaitCondition | m_waitCondition |
A background thread that receives all the debug messages from the main thread and resends them forward using qt-signals. We cannot resend the message in the same thread, because the a qDebug() message can come form the qt-signaling code, which can cause deadlocks.
Definition at line 55 of file LogDockerDock.cpp.
|
inline |
Definition at line 79 of file LogDockerDock.cpp.
References m_exitFlag, m_mutex, and m_waitCondition.
|
inline |
Definition at line 72 of file LogDockerDock.cpp.
References m_messages, m_mutex, and m_waitCondition.
|
inlineoverride |
Definition at line 59 of file LogDockerDock.cpp.
References m_exitFlag, m_messages, m_mutex, m_waitCondition, and sigDeliverMessage().
|
signal |
|
private |
Definition at line 94 of file LogDockerDock.cpp.
|
private |
Definition at line 93 of file LogDockerDock.cpp.
|
private |
Definition at line 91 of file LogDockerDock.cpp.
|
private |
Definition at line 92 of file LogDockerDock.cpp.