2020-08-02 22:22:19 +00:00
|
|
|
/*
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
2012-07-21 09:25:17 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-FileCopyrightText: 2012 Martin Gräßlin <mgraesslin@kde.org>
|
2012-07-21 09:25:17 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2012-07-21 09:25:17 +00:00
|
|
|
#include "mock_tabboxclient.h"
|
|
|
|
#include "mock_tabboxhandler.h"
|
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
2019-10-31 13:03:39 +00:00
|
|
|
MockTabBoxClient::MockTabBoxClient(QString caption)
|
2012-07-21 09:25:17 +00:00
|
|
|
: TabBoxClient()
|
|
|
|
, m_caption(caption)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void MockTabBoxClient::close()
|
|
|
|
{
|
2022-03-23 10:13:38 +00:00
|
|
|
static_cast<MockTabBoxHandler *>(TabBox::tabBox)->closeWindow(this);
|
2012-07-21 09:25:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace KWin
|