Changeset View
Changeset View
Standalone View
Standalone View
effects/slide/slide_config.h
1 | /******************************************************************** | 1 | /******************************************************************** | ||
---|---|---|---|---|---|
2 | KWin - the KDE window manager | 2 | KWin - the KDE window manager | ||
3 | This file is part of the KDE project. | 3 | This file is part of the KDE project. | ||
4 | 4 | | |||
5 | Copyright (C) 2017 Vlad Zagorodniy <vladzzag@gmail.com> | 5 | Copyright (C) 2017, 2018 Vlad Zagorodniy <vladzzag@gmail.com> | ||
6 | 6 | | |||
7 | This program is free software; you can redistribute it and/or modify | 7 | This program is free software; you can redistribute it and/or modify | ||
8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by | ||
9 | the Free Software Foundation; either version 2 of the License, or | 9 | the Free Software Foundation; either version 2 of the License, or | ||
10 | (at your option) any later version. | 10 | (at your option) any later version. | ||
11 | 11 | | |||
12 | This program is distributed in the hope that it will be useful, | 12 | This program is distributed in the hope that it will be useful, | ||
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
Show All 14 Lines | |||||
28 | namespace KWin | 28 | namespace KWin | ||
29 | { | 29 | { | ||
30 | 30 | | |||
31 | class SlideEffectConfig : public KCModule | 31 | class SlideEffectConfig : public KCModule | ||
32 | { | 32 | { | ||
33 | Q_OBJECT | 33 | Q_OBJECT | ||
34 | 34 | | |||
35 | public: | 35 | public: | ||
36 | explicit SlideEffectConfig(QWidget *parent = 0, const QVariantList& args = QVariantList()); | 36 | explicit SlideEffectConfig(QWidget *parent = nullptr, const QVariantList& args = QVariantList()); | ||
37 | ~SlideEffectConfig(); | 37 | ~SlideEffectConfig(); | ||
38 | 38 | | |||
39 | void save(); | 39 | void save(); | ||
40 | 40 | | |||
41 | private: | 41 | private: | ||
42 | ::Ui::SlideEffectConfig mUi; | 42 | ::Ui::SlideEffectConfig m_ui; | ||
43 | }; | 43 | }; | ||
44 | 44 | | |||
45 | } // namespace KWin | 45 | } // namespace KWin | ||
46 | 46 | | |||
47 | #endif | 47 | #endif |