Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_color_manager.h
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#ifndef KIS_COLOR_MANAGER_H
7#define KIS_COLOR_MANAGER_H
8
9#include <QObject>
10#include <QString>
11#include <QStringList>
12#include <QByteArray>
13
14#include "kritacolor_export.h"
21class KRITACOLOR_EXPORT KisColorManager : public QObject
22{
23 Q_OBJECT
24
25public:
26 explicit KisColorManager();
27 ~KisColorManager() override;
28
35
37 QString deviceName(const QString &id);
38
40 QStringList devices(DeviceType type = screen) const;
41
43 QByteArray displayProfile(const QString &device, int profile = 0) const;
44
45 static KisColorManager *instance();
46
47Q_SIGNALS:
48
49 void changed(const QString device);
50
51public Q_SLOTS:
52
53private:
54
57
58 class Private;
59 const Private *const d;
60};
61
62#endif // KIS_COLOR_MANAGER_H
PythonPluginManager * instance
The KisColorManager class can be used as a cross-platform way to get the display profile associated w...
KisColorManager operator=(const KisColorManager &)
void changed(const QString device)
KisColorManager(const KisColorManager &)
const Private *const d