Changeset View
Changeset View
Standalone View
Standalone View
src/client/registry.h
Show All 30 Lines | |||||
31 | struct org_kde_kwin_idle; | 31 | struct org_kde_kwin_idle; | ||
32 | struct org_kde_kwin_keystate; | 32 | struct org_kde_kwin_keystate; | ||
33 | struct org_kde_kwin_remote_access_manager; | 33 | struct org_kde_kwin_remote_access_manager; | ||
34 | struct org_kde_kwin_dpms_manager; | 34 | struct org_kde_kwin_dpms_manager; | ||
35 | struct org_kde_kwin_shadow_manager; | 35 | struct org_kde_kwin_shadow_manager; | ||
36 | struct org_kde_kwin_blur_manager; | 36 | struct org_kde_kwin_blur_manager; | ||
37 | struct org_kde_kwin_contrast_manager; | 37 | struct org_kde_kwin_contrast_manager; | ||
38 | struct org_kde_kwin_slide_manager; | 38 | struct org_kde_kwin_slide_manager; | ||
39 | struct org_kde_kwin_screencast_unstable_v1; | ||||
39 | struct org_kde_plasma_shell; | 40 | struct org_kde_plasma_shell; | ||
40 | struct org_kde_plasma_virtual_desktop_management; | 41 | struct org_kde_plasma_virtual_desktop_management; | ||
41 | struct org_kde_plasma_window_management; | 42 | struct org_kde_plasma_window_management; | ||
42 | struct org_kde_kwin_server_decoration_manager; | 43 | struct org_kde_kwin_server_decoration_manager; | ||
43 | struct org_kde_kwin_server_decoration_palette_manager; | 44 | struct org_kde_kwin_server_decoration_palette_manager; | ||
44 | struct xdg_shell; | 45 | struct xdg_shell; | ||
45 | struct zxdg_shell_v6; | 46 | struct zxdg_shell_v6; | ||
46 | struct xdg_wm_base; | 47 | struct xdg_wm_base; | ||
Show All 31 Lines | |||||
78 | class PlasmaWindowManagement; | 79 | class PlasmaWindowManagement; | ||
79 | class PointerConstraints; | 80 | class PointerConstraints; | ||
80 | class PointerGestures; | 81 | class PointerGestures; | ||
81 | class Seat; | 82 | class Seat; | ||
82 | class ShadowManager; | 83 | class ShadowManager; | ||
83 | class BlurManager; | 84 | class BlurManager; | ||
84 | class ContrastManager; | 85 | class ContrastManager; | ||
85 | class SlideManager; | 86 | class SlideManager; | ||
87 | class Screencasting; | ||||
86 | class Shell; | 88 | class Shell; | ||
87 | class ShmPool; | 89 | class ShmPool; | ||
88 | class ServerSideDecorationManager; | 90 | class ServerSideDecorationManager; | ||
89 | class ServerSideDecorationPaletteManager; | 91 | class ServerSideDecorationPaletteManager; | ||
90 | class SubCompositor; | 92 | class SubCompositor; | ||
91 | class TextInputManager; | 93 | class TextInputManager; | ||
92 | class TextInputManagerUnstableV0; | 94 | class TextInputManagerUnstableV0; | ||
93 | class TextInputManagerUnstableV2; | 95 | class TextInputManagerUnstableV2; | ||
▲ Show 20 Lines • Show All 75 Lines • ▼ Show 20 Line(s) | 139 | enum class Interface { | |||
169 | AppMenu, ///Refers to org_kde_kwin_appmenu @since 5.42 | 171 | AppMenu, ///Refers to org_kde_kwin_appmenu @since 5.42 | ||
170 | ServerSideDecorationPalette, ///Refers to org_kde_kwin_server_decoration_palette_manager @since 5.42 | 172 | ServerSideDecorationPalette, ///Refers to org_kde_kwin_server_decoration_palette_manager @since 5.42 | ||
171 | RemoteAccessManager, ///< Refers to org_kde_kwin_remote_access_manager interface, @since 5.45 | 173 | RemoteAccessManager, ///< Refers to org_kde_kwin_remote_access_manager interface, @since 5.45 | ||
172 | PlasmaVirtualDesktopManagement, ///< Refers to org_kde_plasma_virtual_desktop_management interface @since 5.52 | 174 | PlasmaVirtualDesktopManagement, ///< Refers to org_kde_plasma_virtual_desktop_management interface @since 5.52 | ||
173 | XdgOutputUnstableV1, ///refers to zxdg_output_v1, @since 5.47 | 175 | XdgOutputUnstableV1, ///refers to zxdg_output_v1, @since 5.47 | ||
174 | XdgShellStable, ///refers to xdg_wm_base @since 5.48 | 176 | XdgShellStable, ///refers to xdg_wm_base @since 5.48 | ||
175 | XdgDecorationUnstableV1, ///refers to zxdg_decoration_manager_v1, @since 5.54 | 177 | XdgDecorationUnstableV1, ///refers to zxdg_decoration_manager_v1, @since 5.54 | ||
176 | Keystate,///<refers to org_kwin_keystate, @since 5.57 | 178 | Keystate,///<refers to org_kwin_keystate, @since 5.57 | ||
179 | Screencasting,///<refers to org_kwin_screencast_unstable_v1, @since 5.70 | ||||
177 | }; | 180 | }; | ||
178 | explicit Registry(QObject *parent = nullptr); | 181 | explicit Registry(QObject *parent = nullptr); | ||
179 | virtual ~Registry(); | 182 | virtual ~Registry(); | ||
180 | 183 | | |||
181 | /** | 184 | /** | ||
182 | * Releases the wl_registry interface. | 185 | * Releases the wl_registry interface. | ||
183 | * After the interface has been released the Registry instance is no | 186 | * After the interface has been released the Registry instance is no | ||
184 | * longer valid and can be setup with another wl_registry interface. | 187 | * longer valid and can be setup with another wl_registry interface. | ||
▲ Show 20 Lines • Show All 233 Lines • ▼ Show 20 Line(s) | |||||
418 | * @since 5.4 | 421 | * @since 5.4 | ||
419 | **/ | 422 | **/ | ||
420 | org_kde_kwin_idle *bindIdle(uint32_t name, uint32_t version) const; | 423 | org_kde_kwin_idle *bindIdle(uint32_t name, uint32_t version) const; | ||
421 | /** | 424 | /** | ||
422 | * Binds the org_kde_kwin_keystate with @p name and @p version. | 425 | * Binds the org_kde_kwin_keystate with @p name and @p version. | ||
423 | * If the @p name does not exist or is not for the keystate interface, | 426 | * If the @p name does not exist or is not for the keystate interface, | ||
424 | * @c null will be returned. | 427 | * @c null will be returned. | ||
425 | * | 428 | * | ||
426 | * Prefer using createIdle instead. | 429 | * Prefer using createKeystate instead. | ||
427 | * @see createIdle | 430 | * @see createIdle | ||
428 | * @since 5.4 | 431 | * @since 5.4 | ||
429 | **/ | 432 | **/ | ||
430 | org_kde_kwin_keystate *bindKeystate(uint32_t name, uint32_t version) const; | 433 | org_kde_kwin_keystate *bindKeystate(uint32_t name, uint32_t version) const; | ||
431 | /** | 434 | /** | ||
435 | * Binds the org_kde_kwin_screencasting_unstable_v1 with @p name and @p version. | ||||
436 | * If the @p name does not exist or is not for the keystate interface, | ||||
437 | * @c null will be returned. | ||||
438 | * | ||||
439 | * Prefer using createScreencasting instead. | ||||
440 | * @see createScreencasting | ||||
441 | * @since 5.70 | ||||
442 | **/ | ||||
443 | org_kde_kwin_screencast_unstable_v1 *bindScreencasting(uint32_t name, uint32_t version) const; | ||||
444 | /** | ||||
432 | * Binds the org_kde_kwin_remote_access_manager with @p name and @p version. | 445 | * Binds the org_kde_kwin_remote_access_manager with @p name and @p version. | ||
433 | * If the @p name does not exist or is not for the idle interface, | 446 | * If the @p name does not exist or is not for the idle interface, | ||
434 | * @c null will be returned. | 447 | * @c null will be returned. | ||
435 | * | 448 | * | ||
436 | * Prefer using createRemoteAccessManager instead. | 449 | * Prefer using createRemoteAccessManager instead. | ||
437 | * @see createRemoteAccessManager | 450 | * @see createRemoteAccessManager | ||
438 | * @since 5.45 | 451 | * @since 5.45 | ||
439 | **/ | 452 | **/ | ||
▲ Show 20 Lines • Show All 572 Lines • ▼ Show 20 Line(s) | |||||
1012 | * @param version The version or the org_kde_kwin_dpms_manager interface to use | 1025 | * @param version The version or the org_kde_kwin_dpms_manager interface to use | ||
1013 | * @param parent The parent for DpmsManager | 1026 | * @param parent The parent for DpmsManager | ||
1014 | * | 1027 | * | ||
1015 | * @returns The created DpmsManager. | 1028 | * @returns The created DpmsManager. | ||
1016 | * @since 5.5 | 1029 | * @since 5.5 | ||
1017 | **/ | 1030 | **/ | ||
1018 | DpmsManager *createDpmsManager(quint32 name, quint32 version, QObject *parent = nullptr); | 1031 | DpmsManager *createDpmsManager(quint32 name, quint32 version, QObject *parent = nullptr); | ||
1019 | /** | 1032 | /** | ||
1033 | * Creates a Screencasting and sets it up to interact with the screencasting | ||||
1034 | * interface defined by @p name and @p version. | ||||
1035 | * | ||||
1036 | * @param name The name of the interface to bind | ||||
1037 | * @param version The version or the interface to use | ||||
1038 | * @param parent The parent object | ||||
1039 | * | ||||
1040 | * @returns The created Screencasting. | ||||
1041 | * @since 5.5 | ||||
1042 | **/ | ||||
1043 | Screencasting *createScreencasting(quint32 name, quint32 version, QObject *parent = nullptr); | ||||
1044 | /** | ||||
1020 | * Creates a ServerSideDecorationManager and sets it up to manage the interface identified by | 1045 | * Creates a ServerSideDecorationManager and sets it up to manage the interface identified by | ||
1021 | * @p name and @p version. | 1046 | * @p name and @p version. | ||
1022 | * | 1047 | * | ||
1023 | * Note: in case @p name is invalid or isn't for the org_kde_kwin_server_decoration_manager interface, | 1048 | * Note: in case @p name is invalid or isn't for the org_kde_kwin_server_decoration_manager interface, | ||
1024 | * the returned ServerSideDecorationManager will not be valid. Therefore it's recommended to call | 1049 | * the returned ServerSideDecorationManager will not be valid. Therefore it's recommended to call | ||
1025 | * isValid on the created instance. | 1050 | * isValid on the created instance. | ||
1026 | * | 1051 | * | ||
1027 | * @param name The name of the org_kde_kwin_server_decoration_manager interface to bind | 1052 | * @param name The name of the org_kde_kwin_server_decoration_manager interface to bind | ||
▲ Show 20 Lines • Show All 711 Lines • ▼ Show 20 Line(s) | 1281 | Q_SIGNALS: | |||
1739 | * Emitted whenever a zxdg_decoration_manager_v1 gets removed. | 1764 | * Emitted whenever a zxdg_decoration_manager_v1 gets removed. | ||
1740 | * @param name The name of the removed interface | 1765 | * @param name The name of the removed interface | ||
1741 | * @since 5.54 | 1766 | * @since 5.54 | ||
1742 | **/ | 1767 | **/ | ||
1743 | void xdgDecorationRemoved(quint32 name); | 1768 | void xdgDecorationRemoved(quint32 name); | ||
1744 | 1769 | | |||
1745 | void keystateAnnounced(quint32 name, quint32 version); | 1770 | void keystateAnnounced(quint32 name, quint32 version); | ||
1746 | void keystateRemoved(quint32 name); | 1771 | void keystateRemoved(quint32 name); | ||
1772 | void screencastingAnnounced(quint32 name, quint32 version); | ||||
1773 | void screencastingRemoved(quint32 name); | ||||
1747 | 1774 | | |||
1748 | ///@} | 1775 | ///@} | ||
1749 | /** | 1776 | /** | ||
1750 | * Generic announced signal which gets emitted whenever an interface gets | 1777 | * Generic announced signal which gets emitted whenever an interface gets | ||
1751 | * announced. | 1778 | * announced. | ||
1752 | * | 1779 | * | ||
1753 | * This signal is emitted before the dedicated signals are handled. If one | 1780 | * This signal is emitted before the dedicated signals are handled. If one | ||
1754 | * wants to know about one of the well-known interfaces use the dedicated | 1781 | * wants to know about one of the well-known interfaces use the dedicated | ||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |