Changeset View
Changeset View
Standalone View
Standalone View
autotests/tabbox/test_tabbox_clientmodel.cpp
Show All 16 Lines | |||||
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 "test_tabbox_clientmodel.h" | 20 | #include "test_tabbox_clientmodel.h" | ||
21 | #include "mock_tabboxhandler.h" | 21 | #include "mock_tabboxhandler.h" | ||
22 | #include "clientmodel.h" | 22 | #include "clientmodel.h" | ||
23 | #include "../testutils.h" | 23 | #include "../testutils.h" | ||
24 | 24 | | |||
25 | #include <QtTest/QtTest> | 25 | #include <QtTest> | ||
26 | #include <QX11Info> | 26 | #include <QX11Info> | ||
27 | using namespace KWin; | 27 | using namespace KWin; | ||
28 | 28 | | |||
29 | void TestTabBoxClientModel::initTestCase() | 29 | void TestTabBoxClientModel::initTestCase() | ||
30 | { | 30 | { | ||
31 | qApp->setProperty("x11Connection", QVariant::fromValue<void*>(QX11Info::connection())); | 31 | qApp->setProperty("x11Connection", QVariant::fromValue<void*>(QX11Info::connection())); | ||
32 | } | 32 | } | ||
33 | 33 | | |||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |