Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/activities_test.cpp
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Line(s) | 81 | QDBusConnection::sessionBus().asyncCall(QDBusMessage::createMethodCall( | |||
---|---|---|---|---|---|
83 | QStringLiteral("/ActivityManager"), | 83 | QStringLiteral("/ActivityManager"), | ||
84 | QStringLiteral("org.qtproject.Qt.QCoreApplication"), | 84 | QStringLiteral("org.qtproject.Qt.QCoreApplication"), | ||
85 | QStringLiteral("quit"))); | 85 | QStringLiteral("quit"))); | ||
86 | } | 86 | } | ||
87 | 87 | | |||
88 | void ActivitiesTest::init() | 88 | void ActivitiesTest::init() | ||
89 | { | 89 | { | ||
90 | screens()->setCurrent(0); | 90 | screens()->setCurrent(0); | ||
91 | Cursor::setPos(QPoint(640, 512)); | 91 | Cursors::self()->mouse()->setPos(QPoint(640, 512)); | ||
92 | } | 92 | } | ||
93 | 93 | | |||
94 | void ActivitiesTest::cleanup() | 94 | void ActivitiesTest::cleanup() | ||
95 | { | 95 | { | ||
96 | } | 96 | } | ||
97 | 97 | | |||
98 | struct XcbConnectionDeleter | 98 | struct XcbConnectionDeleter | ||
99 | { | 99 | { | ||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |