Changeset View
Changeset View
Standalone View
Standalone View
autotests/mock_x11client.cpp
- This file was moved from autotests/mock_client.cpp.
Show All 11 Lines | |||||
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 | ||
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | GNU General Public License for more details. | 15 | GNU General Public License for more details. | ||
16 | 16 | | |||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License | ||
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | #include "mock_client.h" | 20 | #include "mock_x11client.h" | ||
21 | 21 | | |||
22 | namespace KWin | 22 | namespace KWin | ||
23 | { | 23 | { | ||
24 | 24 | | |||
25 | Client::Client(QObject *parent) | 25 | X11Client::X11Client(QObject *parent) | ||
26 | : AbstractClient(parent) | 26 | : AbstractClient(parent) | ||
27 | { | 27 | { | ||
28 | } | 28 | } | ||
29 | 29 | | |||
30 | Client::~Client() = default; | 30 | X11Client::~X11Client() = default; | ||
31 | 31 | | |||
32 | void Client::showOnScreenEdge() | 32 | void X11Client::showOnScreenEdge() | ||
33 | { | 33 | { | ||
34 | setKeepBelow(false); | 34 | setKeepBelow(false); | ||
35 | setHiddenInternal(false); | 35 | setHiddenInternal(false); | ||
36 | } | 36 | } | ||
37 | 37 | | |||
38 | } | 38 | } |