KWin
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
x
Variables
a
c
e
f
g
i
k
l
o
p
q
r
s
t
v
w
x
Typedefs
Enumerations
a
c
d
e
g
h
k
l
m
n
o
p
q
r
s
t
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
Enumerations
a
b
c
d
e
f
g
i
k
l
m
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Symbols
a
b
c
d
e
f
g
i
k
l
o
p
q
r
s
t
v
w
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
d
e
g
k
l
m
o
q
s
w
x
Variables
Typedefs
c
d
e
l
p
r
s
x
Enumerations
Macros
_
a
b
c
d
e
f
g
k
l
m
n
p
q
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
src
plugins
slide
slide_config.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: 2017, 2018 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
6
7
SPDX-License-Identifier: GPL-2.0-or-later
8
*/
9
#include "
slide_config.h
"
10
11
#include <config-kwin.h>
12
13
// KConfigSkeleton
14
#include "slideconfig.h"
15
16
#include <kwineffects_interface.h>
17
18
#include <KPluginFactory>
19
20
K_PLUGIN_CLASS(
KWin::SlideEffectConfig
)
21
22
namespace
KWin
23
{
24
25
SlideEffectConfig::SlideEffectConfig
(QObject *parent,
const
KPluginMetaData &data)
26
: KCModule(parent, data)
27
{
28
m_ui.setupUi(widget());
29
SlideConfig::instance(KWIN_CONFIG);
30
addConfig(SlideConfig::self(), widget());
31
}
25
SlideEffectConfig::SlideEffectConfig
(QObject *parent,
const
KPluginMetaData &data) {
…
}
32
33
SlideEffectConfig::~SlideEffectConfig
()
34
{
35
}
33
SlideEffectConfig::~SlideEffectConfig
() {
…
}
36
37
void
SlideEffectConfig::save
()
38
{
39
KCModule::save();
40
41
OrgKdeKwinEffectsInterface interface(QStringLiteral(
"org.kde.KWin"
),
42
QStringLiteral(
"/Effects"
),
43
QDBusConnection::sessionBus());
44
interface.reconfigureEffect(QStringLiteral(
"slide"
));
45
}
37
void
SlideEffectConfig::save
() {
…
}
46
47
}
// namespace KWin
48
49
#include "slide_config.moc"
50
51
#include "moc_slide_config.cpp"
KWin::SlideEffectConfig
Definition
slide_config.h:19
KWin::SlideEffectConfig::~SlideEffectConfig
~SlideEffectConfig() override
Definition
slide_config.cpp:33
KWin::SlideEffectConfig::SlideEffectConfig
SlideEffectConfig(QObject *parent, const KPluginMetaData &data)
Definition
slide_config.cpp:25
KWin::SlideEffectConfig::save
void save() override
Definition
slide_config.cpp:37
KWin
Definition
activation_test.cpp:20
slide_config.h
Generated on Sat Feb 17 2024 01:42:10 for KWin by
1.10.0