![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
RAII class around Qt::beginPropertyUpdateGroup()/Qt::endPropertyUpdateGroup(). More...
#include <qproperty.h>
Public Member Functions | |
Q_NODISCARD_CTOR | QScopedPropertyUpdateGroup () |
Calls Qt::beginPropertyUpdateGroup(). | |
~QScopedPropertyUpdateGroup () noexcept(false) | |
Calls Qt::endPropertyUpdateGroup(). | |
RAII class around Qt::beginPropertyUpdateGroup()/Qt::endPropertyUpdateGroup().
\inmodule QtCore
This class calls Qt::beginPropertyUpdateGroup() in its constructor and Qt::endPropertyUpdateGroup() in its destructor, making sure the latter function is reliably called even in the presence of early returns or thrown exceptions.
{std::terminate()} called) if another exception is causing QScopedPropertyUpdateGroup's destructor to be called during stack unwinding. If you expect exceptions from binding evaluations, use manual Qt::endPropertyUpdateGroup() calls and
{try}/
{catch} blocks.Definition at line 57 of file qproperty.h.
|
inline |
Calls Qt::beginPropertyUpdateGroup().
Definition at line 62 of file qproperty.h.
|
inline |
Calls Qt::endPropertyUpdateGroup().
Definition at line 64 of file qproperty.h.