Krita Source Code Documentation
Loading...
Searching...
No Matches
dbus-types.h
Go to the documentation of this file.
1/***************************************************************************
2 * SPDX-FileCopyrightText: 2013 Daniel Nicoletti <dantti12@gmail.com> *
3 * *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 * *
6 * This program is distributed in the hope that it will be useful, *
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
9 * GNU General Public License for more details. *
10 * *
11 * You should have received a copy of the GNU General Public License *
12 * along with this program; see the file COPYING. If not, write to *
13 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, *
14 * Boston, MA 02110-1301, USA. *
15 ***************************************************************************/
16
17#ifndef DBUS_TYPES_H
18#define DBUS_TYPES_H
19
20#include <QMap>
21#include <QMetaType>
22
23typedef QMap<QString, QString> CdStringMap;
25
26struct Gamma {
27 double red;
28 double green;
29 double blue;
30};
33
34/* defined in org.freedesktop.ColorManager.Device.xml */
35#define CD_DEVICE_PROPERTY_MODEL "Model"
36#define CD_DEVICE_PROPERTY_KIND "Kind"
37#define CD_DEVICE_PROPERTY_VENDOR "Vendor"
38#define CD_DEVICE_PROPERTY_SERIAL "Serial"
39#define CD_DEVICE_PROPERTY_COLORSPACE "Colorspace"
40#define CD_DEVICE_PROPERTY_FORMAT "Format"
41#define CD_DEVICE_PROPERTY_MODE "Mode"
42#define CD_DEVICE_PROPERTY_PROFILES "Profiles"
43#define CD_DEVICE_PROPERTY_CREATED "Created"
44#define CD_DEVICE_PROPERTY_MODIFIED "Modified"
45#define CD_DEVICE_PROPERTY_METADATA "Metadata"
46#define CD_DEVICE_PROPERTY_ID "DeviceId"
47#define CD_DEVICE_PROPERTY_SCOPE "Scope"
48#define CD_DEVICE_PROPERTY_OWNER "Owner"
49#define CD_DEVICE_PROPERTY_SEAT "Seat"
50#define CD_DEVICE_PROPERTY_PROFILING_INHIBITORS "ProfilingInhibitors"
51#define CD_DEVICE_PROPERTY_ENABLED "Enabled"
52#define CD_DEVICE_PROPERTY_EMBEDDED "Embedded"
53
54/* defined in metadata-spec.txt */
55#define CD_DEVICE_METADATA_XRANDR_NAME "XRANDR_name"
56#define CD_DEVICE_METADATA_OUTPUT_EDID_MD5 "OutputEdidMd5"
57#define CD_DEVICE_METADATA_OUTPUT_PRIORITY "OutputPriority"
58#define CD_DEVICE_METADATA_OUTPUT_PRIORITY_PRIMARY "primary"
59#define CD_DEVICE_METADATA_OUTPUT_PRIORITY_SECONDARY "secondary"
60#define CD_DEVICE_METADATA_OWNER_CMDLINE "OwnerCmdline"
61
62#endif
QMap< QString, QString > CdStringMap
Definition dbus-types.h:23
QList< Gamma > CdGamaList
Definition dbus-types.h:31
Q_DECLARE_METATYPE(KisPaintopLodLimitations)
double blue
Definition dbus-types.h:29
double red
Definition dbus-types.h:27
double green
Definition dbus-types.h:28