Krita Source Code Documentation
Loading...
Searching...
No Matches
KisPaintOpPreset::UpdatedPostponer Class Reference

The UpdatedPostponer class. More...

#include <kis_paintop_preset.h>

Public Member Functions

 UpdatedPostponer (KisPaintOpPresetSP preset)
 
 ~UpdatedPostponer ()
 

Private Attributes

QPointer< KisPaintOpPresetUpdateProxym_updateProxy
 

Detailed Description

Constructor & Destructor Documentation

◆ UpdatedPostponer()

KisPaintOpPreset::UpdatedPostponer::UpdatedPostponer ( KisPaintOpPresetSP preset)

Definition at line 638 of file kis_paintop_preset.cpp.

639 : m_updateProxy(preset->updateProxyNoCreate())
640{
641 if (m_updateProxy) {
642 m_updateProxy->postponeSettingsChanges();
643 }
644}
QPointer< KisPaintOpPresetUpdateProxy > m_updateProxy

References m_updateProxy.

◆ ~UpdatedPostponer()

KisPaintOpPreset::UpdatedPostponer::~UpdatedPostponer ( )

Definition at line 646 of file kis_paintop_preset.cpp.

647{
648 if (m_updateProxy) {
649 m_updateProxy->unpostponeSettingsChanges();
650 }
651}

Member Data Documentation

◆ m_updateProxy

QPointer<KisPaintOpPresetUpdateProxy> KisPaintOpPreset::UpdatedPostponer::m_updateProxy
private

Definition at line 111 of file kis_paintop_preset.h.


The documentation for this class was generated from the following files: