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

#include <ColorModelCheck.h>

+ Inheritance diagram for ColorModelCheckFactory:

Public Member Functions

 ColorModelCheckFactory (const KoID &colorModelID, const KoID &colorDepthId)
 
KisExportCheckBasecreate (KisExportCheckBase::Level level, const QString &customWarning) override
 
QString id () const override
 
 ~ColorModelCheckFactory () override
 
- Public Member Functions inherited from KisExportCheckFactory
virtual ~KisExportCheckFactory ()
 

Public Attributes

const KoID m_colorDepthID
 
const KoID m_colorModelID
 

Detailed Description

Definition at line 51 of file ColorModelCheck.h.

Constructor & Destructor Documentation

◆ ColorModelCheckFactory()

ColorModelCheckFactory::ColorModelCheckFactory ( const KoID & colorModelID,
const KoID & colorDepthId )
inline

Definition at line 55 of file ColorModelCheck.h.

56 : m_colorModelID(colorModelID)
57 , m_colorDepthID(colorDepthId)
58 {
59 }

◆ ~ColorModelCheckFactory()

ColorModelCheckFactory::~ColorModelCheckFactory ( )
inlineoverride

Definition at line 61 of file ColorModelCheck.h.

61{}

Member Function Documentation

◆ create()

KisExportCheckBase * ColorModelCheckFactory::create ( KisExportCheckBase::Level level,
const QString & customWarning )
inlineoverridevirtual

Implements KisExportCheckFactory.

Definition at line 63 of file ColorModelCheck.h.

64 {
65 return new ColorModelCheck(m_colorModelID, m_colorDepthID, id(), level, customWarning);
66 }

References m_colorDepthID, and m_colorModelID.

◆ id()

QString ColorModelCheckFactory::id ( ) const
inlineoverridevirtual

Implements KisExportCheckFactory.

Definition at line 68 of file ColorModelCheck.h.

68 {
69 return "ColorModelCheck/" + m_colorModelID.id() + "/" + m_colorDepthID.id();
70 }
QString id() const
Definition KoID.cpp:63

References KoID::id(), m_colorDepthID, and m_colorModelID.

Member Data Documentation

◆ m_colorDepthID

const KoID ColorModelCheckFactory::m_colorDepthID

Definition at line 73 of file ColorModelCheck.h.

◆ m_colorModelID

const KoID ColorModelCheckFactory::m_colorModelID

Definition at line 72 of file ColorModelCheck.h.


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