Changeset View
Changeset View
Standalone View
Standalone View
src/client/registry.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | |||||
50 | struct org_kde_kwin_blur_manager; | 50 | struct org_kde_kwin_blur_manager; | ||
51 | struct org_kde_kwin_contrast_manager; | 51 | struct org_kde_kwin_contrast_manager; | ||
52 | struct org_kde_kwin_slide_manager; | 52 | struct org_kde_kwin_slide_manager; | ||
53 | struct org_kde_plasma_shell; | 53 | struct org_kde_plasma_shell; | ||
54 | struct org_kde_plasma_virtual_desktop_management; | 54 | struct org_kde_plasma_virtual_desktop_management; | ||
55 | struct org_kde_plasma_window_management; | 55 | struct org_kde_plasma_window_management; | ||
56 | struct org_kde_kwin_server_decoration_manager; | 56 | struct org_kde_kwin_server_decoration_manager; | ||
57 | struct org_kde_kwin_server_decoration_palette_manager; | 57 | struct org_kde_kwin_server_decoration_palette_manager; | ||
58 | struct wp_viewporter; | ||||
58 | struct xdg_shell; | 59 | struct xdg_shell; | ||
59 | struct zxdg_shell_v6; | 60 | struct zxdg_shell_v6; | ||
60 | struct xdg_wm_base; | 61 | struct xdg_wm_base; | ||
61 | struct zwp_relative_pointer_manager_v1; | 62 | struct zwp_relative_pointer_manager_v1; | ||
62 | struct zwp_pointer_gestures_v1; | 63 | struct zwp_pointer_gestures_v1; | ||
63 | struct zwp_pointer_constraints_v1; | 64 | struct zwp_pointer_constraints_v1; | ||
64 | struct zxdg_exporter_v2; | 65 | struct zxdg_exporter_v2; | ||
65 | struct zxdg_importer_v2; | 66 | struct zxdg_importer_v2; | ||
Show All 34 Lines | |||||
100 | class Shell; | 101 | class Shell; | ||
101 | class ShmPool; | 102 | class ShmPool; | ||
102 | class ServerSideDecorationManager; | 103 | class ServerSideDecorationManager; | ||
103 | class ServerSideDecorationPaletteManager; | 104 | class ServerSideDecorationPaletteManager; | ||
104 | class SubCompositor; | 105 | class SubCompositor; | ||
105 | class TextInputManager; | 106 | class TextInputManager; | ||
106 | class TextInputManagerUnstableV0; | 107 | class TextInputManagerUnstableV0; | ||
107 | class TextInputManagerUnstableV2; | 108 | class TextInputManagerUnstableV2; | ||
109 | class Viewporter; | ||||
108 | class XdgShell; | 110 | class XdgShell; | ||
109 | class RelativePointerManager; | 111 | class RelativePointerManager; | ||
110 | class XdgExporterUnstableV2; | 112 | class XdgExporterUnstableV2; | ||
111 | class XdgImporterUnstableV2; | 113 | class XdgImporterUnstableV2; | ||
112 | class XdgExporter; | 114 | class XdgExporter; | ||
113 | class XdgImporter; | 115 | class XdgImporter; | ||
114 | class XdgOutputManager; | 116 | class XdgOutputManager; | ||
115 | class XdgDecorationManager; | 117 | class XdgDecorationManager; | ||
▲ Show 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 153 | enum class Interface { | |||
183 | AppMenu, ///Refers to org_kde_kwin_appmenu @since 5.42 | 185 | AppMenu, ///Refers to org_kde_kwin_appmenu @since 5.42 | ||
184 | ServerSideDecorationPalette, ///Refers to org_kde_kwin_server_decoration_palette_manager @since 5.42 | 186 | ServerSideDecorationPalette, ///Refers to org_kde_kwin_server_decoration_palette_manager @since 5.42 | ||
185 | RemoteAccessManager, ///< Refers to org_kde_kwin_remote_access_manager interface, @since 5.45 | 187 | RemoteAccessManager, ///< Refers to org_kde_kwin_remote_access_manager interface, @since 5.45 | ||
186 | PlasmaVirtualDesktopManagement, ///< Refers to org_kde_plasma_virtual_desktop_management interface @since 5.52 | 188 | PlasmaVirtualDesktopManagement, ///< Refers to org_kde_plasma_virtual_desktop_management interface @since 5.52 | ||
187 | XdgOutputUnstableV1, ///refers to zxdg_output_v1, @since 5.47 | 189 | XdgOutputUnstableV1, ///refers to zxdg_output_v1, @since 5.47 | ||
188 | XdgShellStable, ///refers to xdg_wm_base @since 5.48 | 190 | XdgShellStable, ///refers to xdg_wm_base @since 5.48 | ||
189 | XdgDecorationUnstableV1, ///refers to zxdg_decoration_manager_v1, @since 5.54 | 191 | XdgDecorationUnstableV1, ///refers to zxdg_decoration_manager_v1, @since 5.54 | ||
190 | Keystate,///<refers to org_kwin_keystate, @since 5.57 | 192 | Keystate,///<refers to org_kwin_keystate, @since 5.57 | ||
193 | Viewporter, ///< Refers to wp_viewporter, @since 5.66 | ||||
191 | }; | 194 | }; | ||
192 | explicit Registry(QObject *parent = nullptr); | 195 | explicit Registry(QObject *parent = nullptr); | ||
193 | virtual ~Registry(); | 196 | virtual ~Registry(); | ||
194 | 197 | | |||
195 | /** | 198 | /** | ||
196 | * Releases the wl_registry interface. | 199 | * Releases the wl_registry interface. | ||
197 | * After the interface has been released the Registry instance is no | 200 | * After the interface has been released the Registry instance is no | ||
198 | * longer valid and can be setup with another wl_registry interface. | 201 | * longer valid and can be setup with another wl_registry interface. | ||
▲ Show 20 Lines • Show All 339 Lines • ▼ Show 20 Line(s) | |||||
538 | * @c null will be returned. | 541 | * @c null will be returned. | ||
539 | * | 542 | * | ||
540 | * Prefer using createTextInputManager instead. | 543 | * Prefer using createTextInputManager instead. | ||
541 | * @see createTextInputManager | 544 | * @see createTextInputManager | ||
542 | * @since 5.23 | 545 | * @since 5.23 | ||
543 | **/ | 546 | **/ | ||
544 | zwp_text_input_manager_v2 *bindTextInputManagerUnstableV2(uint32_t name, uint32_t version) const; | 547 | zwp_text_input_manager_v2 *bindTextInputManagerUnstableV2(uint32_t name, uint32_t version) const; | ||
545 | /** | 548 | /** | ||
549 | * Binds the wp_viewporter with @p name and @p version. | ||||
550 | * If the @p name does not exist or is not for the viewporter interface, | ||||
551 | * @c null will be returned. | ||||
552 | * | ||||
553 | * Prefer using createViewporter instead. | ||||
554 | * @see createViewporter | ||||
555 | * @since 5.66 | ||||
556 | **/ | ||||
557 | wp_viewporter *bindViewporter(uint32_t name, uint32_t version) const; | ||||
558 | /** | ||||
546 | * Binds the xdg_shell (unstable version 5) with @p name and @p version. | 559 | * Binds the xdg_shell (unstable version 5) with @p name and @p version. | ||
547 | * If the @p name does not exist or is not for the xdg shell interface in unstable version 5, | 560 | * If the @p name does not exist or is not for the xdg shell interface in unstable version 5, | ||
548 | * @c null will be returned. | 561 | * @c null will be returned. | ||
549 | * | 562 | * | ||
550 | * Prefer using createXdgShell instead. | 563 | * Prefer using createXdgShell instead. | ||
551 | * @see createXdgShell | 564 | * @see createXdgShell | ||
552 | * @since 5.25 | 565 | * @since 5.25 | ||
553 | **/ | 566 | **/ | ||
▲ Show 20 Lines • Show All 506 Lines • ▼ Show 20 Line(s) | |||||
1060 | * @param name The name of the interface to bind | 1073 | * @param name The name of the interface to bind | ||
1061 | * @param version The version of the interface to use | 1074 | * @param version The version of the interface to use | ||
1062 | * @param parent The parent for the TextInputManager | 1075 | * @param parent The parent for the TextInputManager | ||
1063 | * | 1076 | * | ||
1064 | * @returns The created TextInputManager | 1077 | * @returns The created TextInputManager | ||
1065 | * @since 5.23 | 1078 | * @since 5.23 | ||
1066 | **/ | 1079 | **/ | ||
1067 | TextInputManager *createTextInputManager(quint32 name, quint32 version, QObject *parent = nullptr); | 1080 | TextInputManager *createTextInputManager(quint32 name, quint32 version, QObject *parent = nullptr); | ||
1081 | | ||||
1082 | /** | ||||
1083 | * Creates a Viewporter and sets it up to manage the interface identified by | ||||
1084 | * @p name and @p version. | ||||
1085 | * | ||||
1086 | * Note: in case @p name is invalid or isn't for the wp_viewporter interface, | ||||
1087 | * the returned Viewporter will not be valid. Therefore it's recommended to call | ||||
1088 | * isValid on the created instance. | ||||
1089 | * | ||||
1090 | * @param name The name of the interface to bind | ||||
1091 | * @param version The version of the interface to use | ||||
1092 | * @param parent The parent for the Viewporter | ||||
1093 | * | ||||
1094 | * @returns The created Viewporter | ||||
1095 | * @since 5.66 | ||||
1096 | **/ | ||||
1097 | Viewporter *createViewporter(quint32 name, quint32 version, QObject *parent = nullptr); | ||||
1098 | | ||||
1068 | /** | 1099 | /** | ||
1069 | * Creates an XdgShell and sets it up to manage the interface identified by | 1100 | * Creates an XdgShell and sets it up to manage the interface identified by | ||
1070 | * @p name and @p version. | 1101 | * @p name and @p version. | ||
1071 | * | 1102 | * | ||
1072 | * This factory method supports the following interfaces: | 1103 | * This factory method supports the following interfaces: | ||
1073 | * @li xdg_shell (Unstable version 5) | 1104 | * @li xdg_shell (Unstable version 5) | ||
1074 | * | 1105 | * | ||
1075 | * If @p name is for one of the supported interfaces the corresponding shell will be created, | 1106 | * If @p name is for one of the supported interfaces the corresponding shell will be created, | ||
▲ Show 20 Lines • Show All 347 Lines • ▼ Show 20 Line(s) | 1301 | Q_SIGNALS: | |||
1423 | /** | 1454 | /** | ||
1424 | * Emitted whenever a zwp_text_input_manager_v2 interface gets announced. | 1455 | * Emitted whenever a zwp_text_input_manager_v2 interface gets announced. | ||
1425 | * @param name The name for the announced interface | 1456 | * @param name The name for the announced interface | ||
1426 | * @param version The maximum supported version of the announced interface | 1457 | * @param version The maximum supported version of the announced interface | ||
1427 | * @since 5.23 | 1458 | * @since 5.23 | ||
1428 | **/ | 1459 | **/ | ||
1429 | void textInputManagerUnstableV2Announced(quint32 name, quint32 version); | 1460 | void textInputManagerUnstableV2Announced(quint32 name, quint32 version); | ||
1430 | /** | 1461 | /** | ||
1462 | * Emitted whenever a wp_viewporter interface gets announced. | ||||
1463 | * @param name The name for the announced interface | ||||
1464 | * @param version The maximum supported version of the announced interface | ||||
1465 | * @since 5.66 | ||||
1466 | **/ | ||||
1467 | void viewporterAnnounced(quint32 name, quint32 version); | ||||
1468 | /** | ||||
1431 | * Emitted whenever a xdg_shell (unstable version 5) interface gets announced. | 1469 | * Emitted whenever a xdg_shell (unstable version 5) interface gets announced. | ||
1432 | * @param name The name for the announced interface | 1470 | * @param name The name for the announced interface | ||
1433 | * @param version The maximum supported version of the announced interface | 1471 | * @param version The maximum supported version of the announced interface | ||
1434 | * @since 5.25 | 1472 | * @since 5.25 | ||
1435 | **/ | 1473 | **/ | ||
1436 | void xdgShellUnstableV5Announced(quint32 name, quint32 version); | 1474 | void xdgShellUnstableV5Announced(quint32 name, quint32 version); | ||
1437 | /** | 1475 | /** | ||
1438 | * Emitted whenever a zxdg_shell_v6 (unstable version 6) interface gets announced. | 1476 | * Emitted whenever a zxdg_shell_v6 (unstable version 6) interface gets announced. | ||
▲ Show 20 Lines • Show All 227 Lines • ▼ Show 20 Line(s) | |||||
1666 | void textInputManagerUnstableV0Removed(quint32 name); | 1704 | void textInputManagerUnstableV0Removed(quint32 name); | ||
1667 | /** | 1705 | /** | ||
1668 | * Emitted whenever a zwp_text_input_manager_v2 interface gets removed. | 1706 | * Emitted whenever a zwp_text_input_manager_v2 interface gets removed. | ||
1669 | * @param name The name for the removed interface | 1707 | * @param name The name for the removed interface | ||
1670 | * @since 5.23 | 1708 | * @since 5.23 | ||
1671 | **/ | 1709 | **/ | ||
1672 | void textInputManagerUnstableV2Removed(quint32 name); | 1710 | void textInputManagerUnstableV2Removed(quint32 name); | ||
1673 | /** | 1711 | /** | ||
1712 | * Emitted whenever a wp_viewporter interface gets removed. | ||||
1713 | * @param name The name for the removed interface | ||||
1714 | * @since 5.66 | ||||
1715 | **/ | ||||
1716 | void viewporterRemoved(quint32 name); | ||||
1717 | /** | ||||
1674 | * Emitted whenever an xdg_shell (unstable version 5) interface gets removed. | 1718 | * Emitted whenever an xdg_shell (unstable version 5) interface gets removed. | ||
1675 | * @param name The name for the removed interface | 1719 | * @param name The name for the removed interface | ||
1676 | * @since 5.25 | 1720 | * @since 5.25 | ||
1677 | **/ | 1721 | **/ | ||
1678 | void xdgShellUnstableV5Removed(quint32 name); | 1722 | void xdgShellUnstableV5Removed(quint32 name); | ||
1679 | /** | 1723 | /** | ||
1680 | * Emitted whenever an xdg_shell (unstable version 5) interface gets removed. | 1724 | * Emitted whenever an xdg_shell (unstable version 5) interface gets removed. | ||
1681 | * @param name The name for the removed interface | 1725 | * @param name The name for the removed interface | ||
▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines |