|
Krita Source Code Documentation
|
#include <KisColord.h>
Inheritance diagram for KisColord:Signals | |
| void | changed () |
| void | changed (const QString &device) |
Public Member Functions | |
| const QString | deviceName (const QString &id) const |
| QByteArray | deviceProfile (const QString &id, int profile) |
| QStringList | devices (const QString &type) const |
| KisColord (QObject *parent=0) | |
| ~KisColord () override | |
Private Slots | |
| void | deviceAdded (const QDBusObjectPath &objectPath, bool emitChanged=true) |
| void | deviceChanged (const QDBusObjectPath &objectPath) |
| void | deviceRemoved (const QDBusObjectPath &objectPath) |
| void | gotDevices (QDBusPendingCallWatcher *call) |
| void | serviceOwnerChanged (const QString &serviceName, const QString &oldOwner, const QString &newOwner) |
Private Member Functions | |
| void | addProfilesToDevice (Device *dev, QList< QDBusObjectPath > profiles) const |
Private Attributes | |
| CdInterface * | m_cdInterface |
| QMap< QDBusObjectPath, Device * > | m_devices |
Definition at line 34 of file KisColord.h.
| KisColord::KisColord | ( | QObject * | parent = 0 | ) |
Definition at line 44 of file KisColord.cpp.
References connect(), deviceAdded(), deviceChanged(), deviceRemoved(), gotDevices(), m_cdInterface, and serviceOwnerChanged().
|
override |
Definition at line 79 of file KisColord.cpp.
References m_devices.
|
private |
Definition at line 250 of file KisColord.cpp.
References Profile::kind, p, and Device::profiles.
|
signal |
|
signal |
|
privateslot |
Definition at line 203 of file KisColord.cpp.
References addProfilesToDevice(), changed(), Device::colorspace, dbgKrita, Device::id, Device::kind, m_devices, Device::model, and Device::vendor.
|
privateslot |
Definition at line 175 of file KisColord.cpp.
References addProfilesToDevice(), changed(), deviceAdded(), Device::id, m_devices, and Device::profiles.
| const QString KisColord::deviceName | ( | const QString & | id | ) | const |
Definition at line 96 of file KisColord.cpp.
References Device::id, m_devices, Device::model, and Device::vendor.
| QByteArray KisColord::deviceProfile | ( | const QString & | id, |
| int | profile ) |
Definition at line 107 of file KisColord.cpp.
References dbgKrita, Profile::filename, m_devices, p, Device::profiles, and Profile::title.
|
privateslot |
| QStringList KisColord::devices | ( | const QString & | type | ) | const |
Definition at line 85 of file KisColord.cpp.
References Device::id, Device::kind, and m_devices.
|
privateslot |
Definition at line 157 of file KisColord.cpp.
References changed(), dbgKrita, deviceAdded(), and devices().
|
privateslot |
|
private |
Definition at line 65 of file KisColord.h.
|
private |
Definition at line 63 of file KisColord.h.