KWin
Loading...
Searching...
No Matches
src
colors
colormanager.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4
SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#pragma once
8
9
#include "
effect/globals.h
"
10
11
#include <QObject>
12
#include <memory>
13
14
namespace
KWin
15
{
16
17
class
Output;
18
class
ColorDevice;
19
class
ColorManagerPrivate;
20
24
class
KWIN_EXPORT
ColorManager
:
public
QObject
25
{
26
Q_OBJECT
27
28
public
:
29
ColorManager
();
30
~ColorManager
()
override
;
31
36
ColorDevice
*findDevice(
Output
*output)
const
;
37
41
QList<ColorDevice *> devices()
const
;
42
43
Q_SIGNALS:
47
void
deviceAdded
(
ColorDevice
*device);
52
void
deviceRemoved
(
ColorDevice
*device);
53
54
private
Q_SLOTS:
55
void
handleOutputAdded(
Output
*output);
56
void
handleOutputRemoved(
Output
*output);
57
void
handleSessionActiveChanged(
bool
active);
58
59
private
:
60
std::unique_ptr<ColorManagerPrivate> d;
61
};
62
63
}
// namespace KWin
KWin::ColorDevice
Definition
colordevice.h:24
KWin::ColorManager
Definition
colormanager.h:25
KWin::ColorManager::deviceRemoved
void deviceRemoved(ColorDevice *device)
KWin::ColorManager::~ColorManager
~ColorManager() override
KWin::ColorManager::deviceAdded
void deviceAdded(ColorDevice *device)
KWin::Output
Definition
output.h:132
globals.h
KWin
Definition
activation_test.cpp:20
Generated on Sat Feb 17 2024 01:42:09 for KWin by
1.10.0