Changeset View
Changeset View
Standalone View
Standalone View
src/server/display.cpp
Show All 25 Lines | |||||
26 | #include "plasmavirtualdesktop_interface.h" | 26 | #include "plasmavirtualdesktop_interface.h" | ||
27 | #include "plasmawindowmanagement_interface.h" | 27 | #include "plasmawindowmanagement_interface.h" | ||
28 | #include "pointerconstraints_interface_p.h" | 28 | #include "pointerconstraints_interface_p.h" | ||
29 | #include "pointergestures_interface_p.h" | 29 | #include "pointergestures_interface_p.h" | ||
30 | #include "qtsurfaceextension_interface.h" | 30 | #include "qtsurfaceextension_interface.h" | ||
31 | #include "relativepointer_interface_p.h" | 31 | #include "relativepointer_interface_p.h" | ||
32 | #include "remote_access_interface.h" | 32 | #include "remote_access_interface.h" | ||
33 | #include "seat_interface.h" | 33 | #include "seat_interface.h" | ||
34 | #include "screencasting_interface.h" | ||||
34 | #include "server_decoration_interface.h" | 35 | #include "server_decoration_interface.h" | ||
35 | #include "server_decoration_palette_interface.h" | 36 | #include "server_decoration_palette_interface.h" | ||
36 | #include "shadow_interface.h" | 37 | #include "shadow_interface.h" | ||
37 | #include "shell_interface.h" | 38 | #include "shell_interface.h" | ||
38 | #include "slide_interface.h" | 39 | #include "slide_interface.h" | ||
39 | #include "subcompositor_interface.h" | 40 | #include "subcompositor_interface.h" | ||
40 | #include "tablet_interface.h" | 41 | #include "tablet_interface.h" | ||
41 | #include "textinput_interface_p.h" | 42 | #include "textinput_interface_p.h" | ||
▲ Show 20 Lines • Show All 331 Lines • ▼ Show 20 Line(s) | |||||
373 | 374 | | |||
374 | ServerSideDecorationManagerInterface *Display::createServerSideDecorationManager(QObject *parent) | 375 | ServerSideDecorationManagerInterface *Display::createServerSideDecorationManager(QObject *parent) | ||
375 | { | 376 | { | ||
376 | auto d = new ServerSideDecorationManagerInterface(this, parent); | 377 | auto d = new ServerSideDecorationManagerInterface(this, parent); | ||
377 | connect(this, &Display::aboutToTerminate, d, [d] { delete d; }); | 378 | connect(this, &Display::aboutToTerminate, d, [d] { delete d; }); | ||
378 | return d; | 379 | return d; | ||
379 | } | 380 | } | ||
380 | 381 | | |||
382 | ScreencastingInterface *Display::createScreencastingInterface(QObject *parent) | ||||
383 | { | ||||
384 | auto s = new ScreencastingInterface(this, parent); | ||||
385 | connect(this, &Display::aboutToTerminate, s, [s] { delete s; }); | ||||
386 | return s; | ||||
387 | } | ||||
388 | | ||||
381 | TextInputManagerInterface *Display::createTextInputManager(const TextInputInterfaceVersion &version, QObject *parent) | 389 | TextInputManagerInterface *Display::createTextInputManager(const TextInputInterfaceVersion &version, QObject *parent) | ||
382 | { | 390 | { | ||
383 | TextInputManagerInterface *t = nullptr; | 391 | TextInputManagerInterface *t = nullptr; | ||
384 | switch (version) { | 392 | switch (version) { | ||
385 | case TextInputInterfaceVersion::UnstableV0: | 393 | case TextInputInterfaceVersion::UnstableV0: | ||
386 | t = new TextInputManagerUnstableV0Interface(this, parent); | 394 | t = new TextInputManagerUnstableV0Interface(this, parent); | ||
387 | break; | 395 | break; | ||
388 | case TextInputInterfaceVersion::UnstableV1: | 396 | case TextInputInterfaceVersion::UnstableV1: | ||
▲ Show 20 Lines • Show All 262 Lines • Show Last 20 Lines |