Changeset View
Changeset View
Standalone View
Standalone View
src/client/registry.h
Show All 37 Lines | |||||
38 | struct wl_text_input_manager; | 38 | struct wl_text_input_manager; | ||
39 | struct zwp_text_input_manager_v2; | 39 | struct zwp_text_input_manager_v2; | ||
40 | struct _wl_fullscreen_shell; | 40 | struct _wl_fullscreen_shell; | ||
41 | struct org_kde_kwin_appmenu_manager; | 41 | struct org_kde_kwin_appmenu_manager; | ||
42 | struct org_kde_kwin_outputmanagement; | 42 | struct org_kde_kwin_outputmanagement; | ||
43 | struct org_kde_kwin_outputdevice; | 43 | struct org_kde_kwin_outputdevice; | ||
44 | struct org_kde_kwin_fake_input; | 44 | struct org_kde_kwin_fake_input; | ||
45 | struct org_kde_kwin_idle; | 45 | struct org_kde_kwin_idle; | ||
46 | struct org_kde_kwin_keystate; | ||||
46 | struct org_kde_kwin_remote_access_manager; | 47 | struct org_kde_kwin_remote_access_manager; | ||
47 | struct org_kde_kwin_dpms_manager; | 48 | struct org_kde_kwin_dpms_manager; | ||
48 | struct org_kde_kwin_shadow_manager; | 49 | struct org_kde_kwin_shadow_manager; | ||
49 | struct org_kde_kwin_blur_manager; | 50 | struct org_kde_kwin_blur_manager; | ||
50 | struct org_kde_kwin_contrast_manager; | 51 | struct org_kde_kwin_contrast_manager; | ||
51 | struct org_kde_kwin_slide_manager; | 52 | struct org_kde_kwin_slide_manager; | ||
52 | struct org_kde_plasma_shell; | 53 | struct org_kde_plasma_shell; | ||
53 | struct org_kde_plasma_virtual_desktop_management; | 54 | struct org_kde_plasma_virtual_desktop_management; | ||
Show All 24 Lines | |||||
78 | class DpmsManager; | 79 | class DpmsManager; | ||
79 | class EventQueue; | 80 | class EventQueue; | ||
80 | class FakeInput; | 81 | class FakeInput; | ||
81 | class FullscreenShell; | 82 | class FullscreenShell; | ||
82 | class OutputManagement; | 83 | class OutputManagement; | ||
83 | class OutputDevice; | 84 | class OutputDevice; | ||
84 | class Idle; | 85 | class Idle; | ||
85 | class IdleInhibitManager; | 86 | class IdleInhibitManager; | ||
87 | class Keystate; | ||||
86 | class RemoteAccessManager; | 88 | class RemoteAccessManager; | ||
87 | class Output; | 89 | class Output; | ||
88 | class PlasmaShell; | 90 | class PlasmaShell; | ||
89 | class PlasmaVirtualDesktopManagement; | 91 | class PlasmaVirtualDesktopManagement; | ||
90 | class PlasmaWindowManagement; | 92 | class PlasmaWindowManagement; | ||
91 | class PointerConstraints; | 93 | class PointerConstraints; | ||
92 | class PointerGestures; | 94 | class PointerGestures; | ||
93 | class Seat; | 95 | class Seat; | ||
▲ Show 20 Lines • Show All 86 Lines • ▼ Show 20 Line(s) | 151 | enum class Interface { | |||
180 | IdleInhibitManagerUnstableV1, ///< Refers to zwp_idle_inhibit_manager_v1 (unstable version 1), @since 5.41 | 182 | IdleInhibitManagerUnstableV1, ///< Refers to zwp_idle_inhibit_manager_v1 (unstable version 1), @since 5.41 | ||
181 | AppMenu, ///Refers to org_kde_kwin_appmenu @since 5.42 | 183 | AppMenu, ///Refers to org_kde_kwin_appmenu @since 5.42 | ||
182 | ServerSideDecorationPalette, ///Refers to org_kde_kwin_server_decoration_palette_manager @since 5.42 | 184 | ServerSideDecorationPalette, ///Refers to org_kde_kwin_server_decoration_palette_manager @since 5.42 | ||
183 | RemoteAccessManager, ///< Refers to org_kde_kwin_remote_access_manager interface, @since 5.45 | 185 | RemoteAccessManager, ///< Refers to org_kde_kwin_remote_access_manager interface, @since 5.45 | ||
184 | PlasmaVirtualDesktopManagement, ///< Refers to org_kde_plasma_virtual_desktop_management interface @since 5.52 | 186 | PlasmaVirtualDesktopManagement, ///< Refers to org_kde_plasma_virtual_desktop_management interface @since 5.52 | ||
185 | XdgOutputUnstableV1, ///refers to zxdg_output_v1, @since 5.47 | 187 | XdgOutputUnstableV1, ///refers to zxdg_output_v1, @since 5.47 | ||
186 | XdgShellStable, ///refers to xdg_wm_base @since 5.48 | 188 | XdgShellStable, ///refers to xdg_wm_base @since 5.48 | ||
187 | XdgDecorationUnstableV1, ///refers to zxdg_decoration_manager_v1, @since 5.54 | 189 | XdgDecorationUnstableV1, ///refers to zxdg_decoration_manager_v1, @since 5.54 | ||
190 | Keystate,///<refers to org_kwin_keystate, @since 5.57 | ||||
188 | }; | 191 | }; | ||
189 | explicit Registry(QObject *parent = nullptr); | 192 | explicit Registry(QObject *parent = nullptr); | ||
190 | virtual ~Registry(); | 193 | virtual ~Registry(); | ||
191 | 194 | | |||
192 | /** | 195 | /** | ||
193 | * Releases the wl_registry interface. | 196 | * Releases the wl_registry interface. | ||
194 | * After the interface has been released the Registry instance is no | 197 | * After the interface has been released the Registry instance is no | ||
195 | * longer valid and can be setup with another wl_registry interface. | 198 | * longer valid and can be setup with another wl_registry interface. | ||
▲ Show 20 Lines • Show All 229 Lines • ▼ Show 20 Line(s) | |||||
425 | * @c null will be returned. | 428 | * @c null will be returned. | ||
426 | * | 429 | * | ||
427 | * Prefer using createIdle instead. | 430 | * Prefer using createIdle instead. | ||
428 | * @see createIdle | 431 | * @see createIdle | ||
429 | * @since 5.4 | 432 | * @since 5.4 | ||
430 | **/ | 433 | **/ | ||
431 | org_kde_kwin_idle *bindIdle(uint32_t name, uint32_t version) const; | 434 | org_kde_kwin_idle *bindIdle(uint32_t name, uint32_t version) const; | ||
432 | /** | 435 | /** | ||
436 | * Binds the org_kde_kwin_keystate with @p name and @p version. | ||||
437 | * If the @p name does not exist or is not for the keystate interface, | ||||
438 | * @c null will be returned. | ||||
439 | * | ||||
440 | * Prefer using createIdle instead. | ||||
441 | * @see createIdle | ||||
442 | * @since 5.4 | ||||
443 | **/ | ||||
444 | org_kde_kwin_keystate *bindKeystate(uint32_t name, uint32_t version) const; | ||||
445 | /** | ||||
433 | * Binds the org_kde_kwin_remote_access_manager with @p name and @p version. | 446 | * Binds the org_kde_kwin_remote_access_manager with @p name and @p version. | ||
434 | * If the @p name does not exist or is not for the idle interface, | 447 | * If the @p name does not exist or is not for the idle interface, | ||
435 | * @c null will be returned. | 448 | * @c null will be returned. | ||
436 | * | 449 | * | ||
437 | * Prefer using createRemoteAccessManager instead. | 450 | * Prefer using createRemoteAccessManager instead. | ||
438 | * @see createRemoteAccessManager | 451 | * @see createRemoteAccessManager | ||
439 | * @since 5.45 | 452 | * @since 5.45 | ||
440 | **/ | 453 | **/ | ||
▲ Show 20 Lines • Show All 444 Lines • ▼ Show 20 Line(s) | |||||
885 | * @param version The version or the org_kde_kwin_idle interface to use | 898 | * @param version The version or the org_kde_kwin_idle interface to use | ||
886 | * @param parent The parent for Idle | 899 | * @param parent The parent for Idle | ||
887 | * | 900 | * | ||
888 | * @returns The created Idle. | 901 | * @returns The created Idle. | ||
889 | * @since 5.4 | 902 | * @since 5.4 | ||
890 | **/ | 903 | **/ | ||
891 | Idle *createIdle(quint32 name, quint32 version, QObject *parent = nullptr); | 904 | Idle *createIdle(quint32 name, quint32 version, QObject *parent = nullptr); | ||
892 | /** | 905 | /** | ||
906 | * Creates a KEystate and sets it up to manage the interface identified by | ||||
907 | * @p name and @p version. | ||||
908 | * | ||||
909 | * Note: in case @p name is invalid or isn't for the org_kde_kwin_keystate interface, | ||||
910 | * the returned Idle will not be valid. Therefore it's recommended to call | ||||
911 | * isValid on the created instance. | ||||
912 | * | ||||
913 | * @param name The name of the org_kde_kwin_keystate interface to bind | ||||
914 | * @param version The version or the org_kde_kwin_keystate interface to use | ||||
915 | * @param parent The parent for Idle | ||||
916 | * | ||||
917 | * @returns The created Idle. | ||||
918 | * @since 5.4 | ||||
919 | **/ | ||||
920 | Keystate *createKeystate(quint32 name, quint32 version, QObject *parent = nullptr); | ||||
921 | /** | ||||
893 | * Creates a RemoteAccessManager and sets it up to manage the interface identified by | 922 | * Creates a RemoteAccessManager and sets it up to manage the interface identified by | ||
894 | * @p name and @p version. | 923 | * @p name and @p version. | ||
895 | * | 924 | * | ||
896 | * Note: in case @p name is invalid or isn't for the org_kde_kwin_remote_access_manager interface, | 925 | * Note: in case @p name is invalid or isn't for the org_kde_kwin_remote_access_manager interface, | ||
897 | * the returned RemoteAccessManager will not be valid. Therefore it's recommended to call | 926 | * the returned RemoteAccessManager will not be valid. Therefore it's recommended to call | ||
898 | * isValid on the created instance. | 927 | * isValid on the created instance. | ||
899 | * | 928 | * | ||
900 | * @param name The name of the org_kde_kwin_remote_access_manager interface to bind | 929 | * @param name The name of the org_kde_kwin_remote_access_manager interface to bind | ||
▲ Show 20 Lines • Show All 821 Lines • ▼ Show 20 Line(s) | 1270 | Q_SIGNALS: | |||
1722 | 1751 | | |||
1723 | /** | 1752 | /** | ||
1724 | * Emitted whenever a zxdg_decoration_manager_v1 gets removed. | 1753 | * Emitted whenever a zxdg_decoration_manager_v1 gets removed. | ||
1725 | * @param name The name of the removed interface | 1754 | * @param name The name of the removed interface | ||
1726 | * @since 5.54 | 1755 | * @since 5.54 | ||
1727 | **/ | 1756 | **/ | ||
1728 | void xdgDecorationRemoved(quint32 name); | 1757 | void xdgDecorationRemoved(quint32 name); | ||
1729 | 1758 | | |||
1759 | void keystateAnnounced(quint32 name, quint32 version); | ||||
1760 | void keystateRemoved(quint32 name); | ||||
1761 | | ||||
1730 | ///@} | 1762 | ///@} | ||
1731 | /** | 1763 | /** | ||
1732 | * Generic announced signal which gets emitted whenever an interface gets | 1764 | * Generic announced signal which gets emitted whenever an interface gets | ||
1733 | * announced. | 1765 | * announced. | ||
1734 | * | 1766 | * | ||
1735 | * This signal is emitted before the dedicated signals are handled. If one | 1767 | * This signal is emitted before the dedicated signals are handled. If one | ||
1736 | * wants to know about one of the well-known interfaces use the dedicated | 1768 | * wants to know about one of the well-known interfaces use the dedicated | ||
1737 | * signals instead. Especially the bind methods might fail before the dedicated | 1769 | * signals instead. Especially the bind methods might fail before the dedicated | ||
Show All 40 Lines |