Warning, file /plasma/kwin/autotests/tabbox/mock_tabboxclient.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 KWin - the KDE window manager 0003 This file is part of the KDE project. 0004 0005 SPDX-FileCopyrightText: 2012 Martin Gräßlin <mgraesslin@kde.org> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 #include "mock_tabboxclient.h" 0010 #include "mock_tabboxhandler.h" 0011 0012 namespace KWin 0013 { 0014 0015 MockTabBoxClient::MockTabBoxClient(QString caption) 0016 : TabBoxClient() 0017 , m_caption(caption) 0018 { 0019 } 0020 0021 void MockTabBoxClient::close() 0022 { 0023 static_cast<MockTabBoxHandler *>(TabBox::tabBox)->closeWindow(this); 0024 } 0025 0026 } // namespace KWin