Changeset View
Changeset View
Standalone View
Standalone View
src/server/display.cpp
Show All 40 Lines | |||||
41 | #include "blur_interface.h" | 41 | #include "blur_interface.h" | ||
42 | #include "contrast_interface.h" | 42 | #include "contrast_interface.h" | ||
43 | #include "relativepointer_interface_p.h" | 43 | #include "relativepointer_interface_p.h" | ||
44 | #include "server_decoration_interface.h" | 44 | #include "server_decoration_interface.h" | ||
45 | #include "slide_interface.h" | 45 | #include "slide_interface.h" | ||
46 | #include "shell_interface.h" | 46 | #include "shell_interface.h" | ||
47 | #include "subcompositor_interface.h" | 47 | #include "subcompositor_interface.h" | ||
48 | #include "textinput_interface_p.h" | 48 | #include "textinput_interface_p.h" | ||
49 | #include "viewporter_interface.h" | ||||
49 | #include "xdgshell_v5_interface_p.h" | 50 | #include "xdgshell_v5_interface_p.h" | ||
50 | #include "xdgforeign_interface.h" | 51 | #include "xdgforeign_interface.h" | ||
51 | #include "xdgshell_v6_interface_p.h" | 52 | #include "xdgshell_v6_interface_p.h" | ||
52 | #include "xdgshell_stable_interface_p.h" | 53 | #include "xdgshell_stable_interface_p.h" | ||
53 | #include "appmenu_interface.h" | 54 | #include "appmenu_interface.h" | ||
54 | #include "server_decoration_palette_interface.h" | 55 | #include "server_decoration_palette_interface.h" | ||
55 | #include "plasmavirtualdesktop_interface.h" | 56 | #include "plasmavirtualdesktop_interface.h" | ||
56 | #include "xdgoutput_interface.h" | 57 | #include "xdgoutput_interface.h" | ||
▲ Show 20 Lines • Show All 447 Lines • ▼ Show 20 Line(s) | |||||
504 | 505 | | |||
505 | PlasmaVirtualDesktopManagementInterface *Display::createPlasmaVirtualDesktopManagement(QObject *parent) | 506 | PlasmaVirtualDesktopManagementInterface *Display::createPlasmaVirtualDesktopManagement(QObject *parent) | ||
506 | { | 507 | { | ||
507 | auto b = new PlasmaVirtualDesktopManagementInterface(this, parent); | 508 | auto b = new PlasmaVirtualDesktopManagementInterface(this, parent); | ||
508 | connect(this, &Display::aboutToTerminate, b, [this, b] { delete b; }); | 509 | connect(this, &Display::aboutToTerminate, b, [this, b] { delete b; }); | ||
509 | return b; | 510 | return b; | ||
510 | } | 511 | } | ||
511 | 512 | | |||
513 | ViewporterInterface *Display::createViewporterInterface(QObject *parent) | ||||
514 | { | ||||
515 | auto b = new ViewporterInterface(this, parent); | ||||
516 | connect(this, &Display::aboutToTerminate, b, [this, b] { delete b; }); | ||||
517 | return b; | ||||
518 | } | ||||
519 | | ||||
512 | XdgOutputManagerInterface *Display::createXdgOutputManager(QObject *parent) | 520 | XdgOutputManagerInterface *Display::createXdgOutputManager(QObject *parent) | ||
513 | { | 521 | { | ||
514 | auto b = new XdgOutputManagerInterface(this, parent); | 522 | auto b = new XdgOutputManagerInterface(this, parent); | ||
515 | connect(this, &Display::aboutToTerminate, b, [this, b] { delete b; }); | 523 | connect(this, &Display::aboutToTerminate, b, [this, b] { delete b; }); | ||
516 | return b; | 524 | return b; | ||
517 | } | 525 | } | ||
518 | 526 | | |||
519 | XdgDecorationManagerInterface *Display::createXdgDecorationManager(XdgShellInterface *shellInterface, QObject *parent) | 527 | XdgDecorationManagerInterface *Display::createXdgDecorationManager(XdgShellInterface *shellInterface, QObject *parent) | ||
▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines |