Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_color_manager.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 Boudewijn Rempt <boud@valdyas.org>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#include "kis_color_manager.h"
8
10
12public:
13 Private(QObject *)
14 {}
15};
16
18 : QObject()
19 , d(new Private(this))
20{
21}
22
27
28QString KisColorManager::deviceName(const QString &)
29{
30 return QString();
31}
32
37
38QByteArray KisColorManager::displayProfile(const QString &, int ) const
39{
40 return QByteArray();
41}
42
44{
45 return s_instance;
46}
QList< QString > QStringList
Q_GLOBAL_STATIC(KisStoragePluginRegistry, s_instance)
The KisColorManager class can be used as a cross-platform way to get the display profile associated w...
QByteArray displayProfile(const QString &device, int profile=0) const
Return the icc profile for the given device and index (if a device has more than one profile)
QString deviceName(const QString &id)
Return the user-visible name for the given device.
~KisColorManager() override
QStringList devices(DeviceType type=screen) const
Return a list of device id's for the specified type.
const Private *const d
static KisColorManager * instance()