summaryrefslogtreecommitdiffstats
path: root/krita/kritacolor/kis_profile.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-26 00:29:37 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-26 00:29:37 +0000
commit2785103a6bd4de55bd26d79e34d0fdd4b329a73a (patch)
treec2738b1095bfdb263da27bc1391403d829522a14 /krita/kritacolor/kis_profile.h
parentf008adb5a77e094eaf6abf3fc0f36958e66896a5 (diff)
downloadkoffice-2785103a6bd4de55bd26d79e34d0fdd4b329a73a.tar.gz
koffice-2785103a6bd4de55bd26d79e34d0fdd4b329a73a.zip
Remove krita* in preparation for name switch from Krita to Chalk
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238361 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krita/kritacolor/kis_profile.h')
-rw-r--r--krita/kritacolor/kis_profile.h98
1 files changed, 0 insertions, 98 deletions
diff --git a/krita/kritacolor/kis_profile.h b/krita/kritacolor/kis_profile.h
deleted file mode 100644
index 5f732188..00000000
--- a/krita/kritacolor/kis_profile.h
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- * kis_profile.h - part of Krayon
- *
- * Copyright (c) 2000 Matthias Elter <[email protected]>
- * 2004 Boudewijn Rempt <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef KIS_PROFILE_H
-#define KIS_PROFILE_H
-
-#include <config.h>
-
-#include LCMS_HEADER
-
-#include <tqvaluevector.h>
-#include <tqcstring.h>
-
-#include <kio/job.h>
-
-#include <kis_annotation.h>
-
-//XXX: Profiles should be loaded by the color strategies
-// and be available only through the color strategy
-// that matches the profile's color model
-class KisProfile {
-
-public:
- KisProfile(TQByteArray rawData);
- KisProfile(const TQString& file);
- KisProfile(const cmsHPROFILE profile);
-
- virtual ~KisProfile();
-
- virtual bool load();
- virtual bool save();
-
- inline icColorSpaceSignature colorSpaceSignature() const { return m_colorSpaceSignature; }
- inline icProfileClassSignature deviceClass() const { return m_deviceClass; }
- inline TQString productName() const { return m_productName; }
- inline TQString productDescription() const { return m_productDescription; }
- inline TQString productInfo() const { return m_productInfo; }
- inline TQString manufacturer() const { return m_manufacturer; }
- cmsHPROFILE profile();
-
- KisAnnotationSP annotation() const;
-
- friend inline bool operator==( const KisProfile &, const KisProfile & );
-
- inline bool valid() const { return m_valid; };
-
- inline bool isSuitableForOutput() { return m_suitableForOutput; };
-
- inline TQString filename() const { return m_filename; }
-
-public:
-
- static KisProfile * getScreenProfile(int screen = -1);
-
-private:
- bool init();
-
- cmsHPROFILE m_profile;
- icColorSpaceSignature m_colorSpaceSignature;
- icProfileClassSignature m_deviceClass;
- TQString m_productName;
- TQString m_productDescription;
- TQString m_productInfo;
- TQString m_manufacturer;
-
- TQByteArray m_rawData;
-
- TQString m_filename;
- bool m_valid;
- bool m_suitableForOutput;
-
-};
-
-inline bool operator==( const KisProfile & p1, const KisProfile & p2 )
-{
- return p1.m_profile == p2.m_profile;
-}
-
-#endif // KIS_PROFILE_H
-