KDecoration3

decoratedwindowprivate.cpp
1/*
2 * SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6#include "decoratedwindowprivate.h"
7
8#include <QColor>
9
10namespace KDecoration3
11{
12class Q_DECL_HIDDEN DecoratedWindowPrivate::Private
13{
14public:
15 explicit Private(DecoratedWindow *client, Decoration *decoration);
16 DecoratedWindow *client;
17 Decoration *decoration;
18};
19
20DecoratedWindowPrivate::Private::Private(DecoratedWindow *client, Decoration *decoration)
21 : client(client)
22 , decoration(decoration)
23{
24}
25
26DecoratedWindowPrivate::DecoratedWindowPrivate(DecoratedWindow *client, Decoration *decoration)
27 : d(new Private(client, decoration))
28{
29}
30
31DecoratedWindowPrivate::~DecoratedWindowPrivate() = default;
32
33Decoration *DecoratedWindowPrivate::decoration()
34{
35 return d->decoration;
36}
37
38Decoration *DecoratedWindowPrivate::decoration() const
39{
40 return d->decoration;
41}
42
43DecoratedWindow *DecoratedWindowPrivate::window()
44{
45 return d->client;
46}
47
48QColor DecoratedWindowPrivate::color(ColorGroup group, ColorRole role) const
49{
50 Q_UNUSED(role)
51 Q_UNUSED(group)
52
53 return QColor();
54}
55}
Framework for creating window decorations.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.