|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
The thread checks of threadcheck_p.h. More...
Namespaces | |
| namespace | Sonde |
| Embeddable Model Context Protocol server for Qt applications. | |
Functions | |
| bool | Sonde::Detail::checkGuiThread (const char *function) |
| Whether this is the GUI thread (the application object's). | |
| bool | Sonde::Detail::checkObjectThread (const QObject *owner, const char *function) |
Whether this is owner's thread. | |
The thread checks of threadcheck_p.h.
| bool Sonde::Detail::checkGuiThread | ( | const char * | function | ) |
Whether this is the GUI thread (the application object's).
If it isn't, says so with qCritical(), naming function, and asserts: the caller races with the GUI. True if there is no application object yet.
| bool Sonde::Detail::checkObjectThread | ( | const QObject * | owner, |
| const char * | function ) |
Whether this is owner's thread.
If it isn't, says so with qCritical(), naming function, and asserts.