Changeset View
Changeset View
Standalone View
Standalone View
libtaskmanager/abstracttasksproxymodeliface.h
Show First 20 Lines • Show All 152 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
153 | * This is meant for tasks that have an associated window, and may be | 153 | * This is meant for tasks that have an associated window, and may be | ||
154 | * a no-op when there is no window. | 154 | * a no-op when there is no window. | ||
155 | * | 155 | * | ||
156 | * @param index An index in this tasks model. | 156 | * @param index An index in this tasks model. | ||
157 | **/ | 157 | **/ | ||
158 | void requestToggleShaded(const QModelIndex &index) override; | 158 | void requestToggleShaded(const QModelIndex &index) override; | ||
159 | 159 | | |||
160 | /** | 160 | /** | ||
161 | * Request moving the task at the given index to the specified virtual | 161 | * Request entering the window at the given index on the specified virtual desktops, | ||
162 | * desktop. | 162 | * leaving any other desktops. | ||
163 | * | 163 | * | ||
164 | * This is meant for tasks that have an associated window, and may be | 164 | * On Wayland, virtual desktop ids are QStrings. On X11, they are uint >0. | ||
165 | * a no-op when there is no window. | | |||
166 | * | 165 | * | ||
167 | * @param index An index in this tasks model. | 166 | * An empty list has a special meaning: The window is entered on all virtual desktops | ||
168 | * @param desktop A virtual desktop number. | 167 | * in the session. | ||
168 | * | ||||
169 | * On X11, a window can only be on one or all virtual desktops. Therefore, only the | ||||
170 | * first list entry is actually used. | ||||
171 | * | ||||
172 | * On X11, the id 0 has a special meaning: The window is entered on all virtual | ||||
173 | * desktops in the session. | ||||
174 | * | ||||
175 | * @param index An index in this window tasks model. | ||||
176 | * @param desktops A list of virtual desktop ids. | ||||
177 | **/ | ||||
178 | void requestVirtualDesktops(const QModelIndex &index, const QVariantList &desktops) override; | ||||
179 | | ||||
180 | /** | ||||
181 | * Request entering the window at the given index on a new virtual desktop, | ||||
182 | * which is created in response to this request. | ||||
183 | * | ||||
184 | * @param index An index in this window tasks model. | ||||
169 | **/ | 185 | **/ | ||
170 | void requestVirtualDesktop(const QModelIndex &index, qint32 desktop = -1) override; | 186 | void requestNewVirtualDesktop(const QModelIndex &index) override; | ||
171 | 187 | | |||
172 | /** | 188 | /** | ||
173 | * Request moving the task at the given index to the specified activities. | 189 | * Request moving the task at the given index to the specified activities. | ||
174 | * | 190 | * | ||
175 | * This is meant for tasks that have an associated window, and may be | 191 | * This is meant for tasks that have an associated window, and may be | ||
176 | * a no-op when there is no window. | 192 | * a no-op when there is no window. | ||
177 | * | 193 | * | ||
178 | * @param index An index in this tasks model. | 194 | * @param index An index in this tasks model. | ||
Show All 31 Lines |