Krita Source Code Documentation
Loading...
Searching...
No Matches
KisImageConfigNotifier Class Reference

#include <KisImageConfigNotifier.h>

+ Inheritance diagram for KisImageConfigNotifier:

Classes

struct  Private
 

Signals

void autoKeyFrameConfigurationChanged ()
 
void configChanged (void)
 
void globalProofingConfigChanged ()
 

Public Member Functions

 KisImageConfigNotifier ()
 
void notifyAutoKeyFrameConfigurationChanged ()
 
void notifyConfigChanged (void)
 
void notifyGlobalProofingConfigChanged ()
 
 ~KisImageConfigNotifier () override
 

Static Public Member Functions

static KisImageConfigNotifierinstance ()
 

Private Attributes

const QScopedPointer< Privatem_d
 

Detailed Description

Definition at line 13 of file KisImageConfigNotifier.h.

Constructor & Destructor Documentation

◆ KisImageConfigNotifier()

KisImageConfigNotifier::KisImageConfigNotifier ( )
explicit

Definition at line 27 of file KisImageConfigNotifier.cpp.

28 : m_d(new Private)
29{
30 connect(&m_d->updateCompressor, SIGNAL(timeout()), SIGNAL(configChanged()));
31 connect(&m_d->updateCompressor, SIGNAL(timeout()), SIGNAL(autoKeyFrameConfigurationChanged()));
32 connect(&m_d->autoKeyframeUpdateCompressor, SIGNAL(timeout()), SIGNAL(autoKeyFrameConfigurationChanged()));
33}
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
const QScopedPointer< Private > m_d
void autoKeyFrameConfigurationChanged()

References autoKeyFrameConfigurationChanged(), configChanged(), connect(), and m_d.

◆ ~KisImageConfigNotifier()

KisImageConfigNotifier::~KisImageConfigNotifier ( )
override

Definition at line 35 of file KisImageConfigNotifier.cpp.

36{
37}

Member Function Documentation

◆ autoKeyFrameConfigurationChanged

void KisImageConfigNotifier::autoKeyFrameConfigurationChanged ( )
signal

This signal is also emitted whenever notifyConfigChanged() is called.

◆ configChanged

void KisImageConfigNotifier::configChanged ( void )
signal

This signal is emitted whenever notifyConfigChanged() is called.

◆ globalProofingConfigChanged

void KisImageConfigNotifier::globalProofingConfigChanged ( )
signal

This signal is also emitted whenever notifyConfigChanged() is called.

◆ instance()

KisImageConfigNotifier * KisImageConfigNotifier::instance ( )
static

Definition at line 39 of file KisImageConfigNotifier.cpp.

40{
41 return s_instance;
42}

◆ notifyAutoKeyFrameConfigurationChanged()

void KisImageConfigNotifier::notifyAutoKeyFrameConfigurationChanged ( )

Notify that the animation keyframing configuration has changed. This will cause the autoKeyFrameConfigurationChanged() signal to be emitted.

Definition at line 49 of file KisImageConfigNotifier.cpp.

50{
51 m_d->autoKeyframeUpdateCompressor.start();
52}

References m_d.

◆ notifyConfigChanged()

void KisImageConfigNotifier::notifyConfigChanged ( void )

Notify that the configuration has changed. This will cause the configChanged() signal to be emitted.

Definition at line 44 of file KisImageConfigNotifier.cpp.

45{
46 m_d->updateCompressor.start();
47}

References m_d.

◆ notifyGlobalProofingConfigChanged()

void KisImageConfigNotifier::notifyGlobalProofingConfigChanged ( )

Notify that the global proofing configuration stored in KisImageConfig has been changed

Definition at line 54 of file KisImageConfigNotifier.cpp.

55{
57}
void globalProofingConfigChanged()

References globalProofingConfigChanged().

Member Data Documentation

◆ m_d

const QScopedPointer<Private> KisImageConfigNotifier::m_d
private

Definition at line 62 of file KisImageConfigNotifier.h.


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