Krita Source Code Documentation
Loading...
Searching...
No Matches
KisPaintOpSettings::DirtyNotificationsLocker Class Reference

Public Member Functions

 DirtyNotificationsLocker (KisPaintOpSettings::Private *d)
 
 ~DirtyNotificationsLocker ()
 

Private Attributes

KisPaintOpSettings::Privatem_d
 
bool m_oldNotificationsState
 

Detailed Description

Definition at line 95 of file kis_paintop_settings.cpp.

Constructor & Destructor Documentation

◆ DirtyNotificationsLocker()

KisPaintOpSettings::DirtyNotificationsLocker::DirtyNotificationsLocker ( KisPaintOpSettings::Private * d)
inline

Definition at line 97 of file kis_paintop_settings.cpp.

98 : m_d(d),
99 m_oldNotificationsState(d->disableDirtyNotifications)
100 {
101 m_d->disableDirtyNotifications = true;
102 }
const QScopedPointer< Private > d

◆ ~DirtyNotificationsLocker()

KisPaintOpSettings::DirtyNotificationsLocker::~DirtyNotificationsLocker ( )
inline

Definition at line 104 of file kis_paintop_settings.cpp.

104 {
105 m_d->disableDirtyNotifications = m_oldNotificationsState;
106 }

Member Data Documentation

◆ m_d

KisPaintOpSettings::Private* KisPaintOpSettings::DirtyNotificationsLocker::m_d
private

Definition at line 109 of file kis_paintop_settings.cpp.

◆ m_oldNotificationsState

bool KisPaintOpSettings::DirtyNotificationsLocker::m_oldNotificationsState
private

Definition at line 110 of file kis_paintop_settings.cpp.


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