#include <KoShapeBulkActionLock.h>
Definition at line 40 of file KoShapeBulkActionLock.h.
◆ BaseClass
◆ KoShapeBulkActionLock()
template<typename T , typename = std::enable_if_t<std::is_base_of_v<KoShape, T>>>
| KoShapeBulkActionLock::KoShapeBulkActionLock |
( |
T * | shape | ) |
|
|
inline |
◆ ~KoShapeBulkActionLock()
| KoShapeBulkActionLock::~KoShapeBulkActionLock |
( |
| ) |
|
Definition at line 88 of file KoShapeBulkActionLock.cpp.
89{
90 if (owns_lock()) {
91 qWarning() << "WARNING: KoShapeBulkActionLock is destroyed while being locked. Update rect will be lost!";
92 }
93}
◆ bulkShapesUpdate()
| void KoShapeBulkActionLock::bulkShapesUpdate |
( |
const UpdatesList & | updates | ) |
|
|
static |
Definition at line 95 of file KoShapeBulkActionLock.cpp.
96{
97
98 for (auto it = updates.begin(); it != updates.end(); ++it) {
99 it->first->updateAbsolute(it->second);
100 }
101}
◆ unlock()
The documentation for this class was generated from the following files: