8 #ifndef SCCOLORPROFILE_H
9 #define SCCOLORPROFILE_H
11 #include <QSharedPointer>
12 #include <QWeakPointer>
13 #include "scribusapi.h"
14 #include "sccolorprofiledata.h"
28 inline bool isNull()
const {
return (m_data.isNull() || m_data->isNull()); }
29 inline operator bool ()
const {
return !isNull(); }
31 QString profilePath()
const;
32 QString productDescription()
const;
34 eColorSpaceType colorSpace()
const;
35 eProfileClass deviceClass()
const;
42 QSharedPointer<ScColorProfileData> m_data;
44 QWeakPointer<ScColorProfileData> weakRef()
const {
return m_data.toWeakRef(); }
45 QSharedPointer<ScColorProfileData> strongRef()
const {
return m_data; }
Definition: sccolorprofilecache.h:16
Definition: sccolorprofile.h:16
Definition: sccolormgmtengine.h:16
Definition: sccolorprofiledata.h:17