Changeset View
Changeset View
Standalone View
Standalone View
virtualdesktops.h
Show First 20 Lines • Show All 162 Lines • ▼ Show 20 Line(s) | 158 | public: | |||
---|---|---|---|---|---|
163 | void setRootInfo(NETRootInfo *info); | 163 | void setRootInfo(NETRootInfo *info); | ||
164 | /** | 164 | /** | ||
165 | * @internal, for Wayland case | 165 | * @internal, for Wayland case | ||
166 | */ | 166 | */ | ||
167 | void setVirtualDesktopManagement(KWayland::Server::PlasmaVirtualDesktopManagementInterface *management); | 167 | void setVirtualDesktopManagement(KWayland::Server::PlasmaVirtualDesktopManagementInterface *management); | ||
168 | /** | 168 | /** | ||
169 | * @internal | 169 | * @internal | ||
170 | */ | 170 | */ | ||
171 | void setConfig(KSharedConfig::Ptr config); | 171 | void setConfig(const KSharedConfig::Ptr &config); | ||
172 | /** | 172 | /** | ||
173 | * @returns Total number of desktops currently in existence. | 173 | * @returns Total number of desktops currently in existence. | ||
174 | * @see setCount | 174 | * @see setCount | ||
175 | * @see countChanged | 175 | * @see countChanged | ||
176 | */ | 176 | */ | ||
177 | uint count() const; | 177 | uint count() const; | ||
178 | /** | 178 | /** | ||
179 | * @returns the number of rows the layout has. | 179 | * @returns the number of rows the layout has. | ||
▲ Show 20 Lines • Show All 523 Lines • ▼ Show 20 Line(s) | |||||
703 | 703 | | |||
704 | inline | 704 | inline | ||
705 | bool VirtualDesktopManager::isNavigationWrappingAround() const | 705 | bool VirtualDesktopManager::isNavigationWrappingAround() const | ||
706 | { | 706 | { | ||
707 | return m_navigationWrapsAround; | 707 | return m_navigationWrapsAround; | ||
708 | } | 708 | } | ||
709 | 709 | | |||
710 | inline | 710 | inline | ||
711 | void VirtualDesktopManager::setConfig(KSharedConfig::Ptr config) | 711 | void VirtualDesktopManager::setConfig(const KSharedConfig::Ptr &config) | ||
712 | { | 712 | { | ||
713 | m_config = config; | 713 | m_config = config; | ||
714 | } | 714 | } | ||
715 | 715 | | |||
716 | inline | 716 | inline | ||
717 | const VirtualDesktopGrid &VirtualDesktopManager::grid() const | 717 | const VirtualDesktopGrid &VirtualDesktopManager::grid() const | ||
718 | { | 718 | { | ||
719 | return m_grid; | 719 | return m_grid; | ||
Show All 11 Lines |