KWin
Loading...
Searching...
No Matches
tabboxconfig.cpp
Go to the documentation of this file.
1/*
2 KWin - the KDE window manager
3 This file is part of the KDE project.
4
5 SPDX-FileCopyrightText: 2009 Martin Gräßlin <mgraesslin@kde.org>
6
7 SPDX-License-Identifier: GPL-2.0-or-later
8*/
9
10#include "tabboxconfig.h"
11
12namespace KWin
13{
14namespace TabBox
15{
49
54
56{
57 delete d;
58}
59
61{
62 d->showTabBox = object.isShowTabBox();
63 d->highlightWindows = object.isHighlightWindows();
64 d->clientDesktopMode = object.clientDesktopMode();
65 d->clientActivitiesMode = object.clientActivitiesMode();
66 d->clientApplicationsMode = object.clientApplicationsMode();
67 d->orderMinimizedMode = object.orderMinimizedMode();
68 d->clientMinimizedMode = object.clientMinimizedMode();
69 d->showDesktopMode = object.showDesktopMode();
70 d->clientMultiScreenMode = object.clientMultiScreenMode();
71 d->clientSwitchingMode = object.clientSwitchingMode();
72 d->layoutName = object.layoutName();
73 return *this;
74}
75
77{
78 d->highlightWindows = highlight;
79}
80
82{
83 return d->highlightWindows;
84}
85
87{
88 d->showTabBox = show;
89}
90
92{
93 return d->showTabBox;
94}
95
100
102{
103 d->clientDesktopMode = desktopMode;
104}
105
110
112{
113 d->clientActivitiesMode = activitiesMode;
114}
115
120
122{
123 d->clientApplicationsMode = applicationsMode;
124}
125
130
135
140
142{
143 d->clientMinimizedMode = minimizedMode;
144}
145
150
155
160
162{
163 d->clientMultiScreenMode = multiScreenMode;
164}
165
170
172{
173 d->clientSwitchingMode = switchingMode;
174}
175
177{
178 return d->layoutName;
179}
180
181void TabBoxConfig::setLayoutName(const QString &name)
182{
183 d->layoutName = name;
184}
185
186} // namespace TabBox
187} // namespace KWin
ClientMinimizedMode clientMinimizedMode() const
void setShowTabBox(bool show)
void setLayoutName(const QString &name)
void setClientMinimizedMode(ClientMinimizedMode minimizedMode)
ClientApplicationsMode clientApplicationsMode() const
void setClientActivitiesMode(ClientActivitiesMode activitiesMode)
void setClientApplicationsMode(ClientApplicationsMode applicationsMode)
ClientDesktopMode clientDesktopMode() const
ClientMultiScreenMode clientMultiScreenMode() const
ClientSwitchingMode clientSwitchingMode() const
void setClientMultiScreenMode(ClientMultiScreenMode multiScreenMode)
void setHighlightWindows(bool highlight)
void setOrderMinimizedMode(OrderMinimizedMode orderMinimizedMode)
ShowDesktopMode showDesktopMode() const
void setShowDesktopMode(ShowDesktopMode showDesktopMode)
ClientActivitiesMode clientActivitiesMode() const
void setClientSwitchingMode(ClientSwitchingMode switchingMode)
void setClientDesktopMode(ClientDesktopMode desktopMode)
OrderMinimizedMode orderMinimizedMode() const
TabBoxConfig & operator=(const TabBoxConfig &object)
QString & layoutName() const
TabBoxConfig::OrderMinimizedMode orderMinimizedMode
TabBoxConfig::ClientSwitchingMode clientSwitchingMode
TabBoxConfig::ClientApplicationsMode clientApplicationsMode
TabBoxConfig::ClientDesktopMode clientDesktopMode
TabBoxConfig::ClientMinimizedMode clientMinimizedMode
TabBoxConfig::ShowDesktopMode showDesktopMode
TabBoxConfig::ClientMultiScreenMode clientMultiScreenMode
TabBoxConfig::ClientActivitiesMode clientActivitiesMode