Changeset View
Changeset View
Standalone View
Standalone View
libtaskmanager/taskgroupingproxymodel.h
Show First 20 Lines • Show All 308 Lines • ▼ Show 20 Line(s) | 56 | public: | |||
---|---|---|---|---|---|
309 | * This is meant for tasks that have an associated window, and may be | 309 | * This is meant for tasks that have an associated window, and may be | ||
310 | * a no-op when there is no window. | 310 | * a no-op when there is no window. | ||
311 | * | 311 | * | ||
312 | * @param index An index in this tasks model. | 312 | * @param index An index in this tasks model. | ||
313 | **/ | 313 | **/ | ||
314 | void requestToggleShaded(const QModelIndex &index) override; | 314 | void requestToggleShaded(const QModelIndex &index) override; | ||
315 | 315 | | |||
316 | /** | 316 | /** | ||
317 | * Request moving the task at the given index to the specified virtual | 317 | * Request entering the window at the given index on the specified virtual desktops, | ||
318 | * desktop. | 318 | * leaving any other desktops. | ||
319 | * | 319 | * | ||
320 | * This is meant for tasks that have an associated window, and may be | 320 | * On Wayland, virtual desktop ids are QStrings. On X11, they are uint >0. | ||
321 | * a no-op when there is no window. | | |||
322 | * | 321 | * | ||
323 | * @param index An index in this tasks model. | 322 | * An empty list has a special meaning: The window is entered on all virtual desktops | ||
324 | * @param desktop A virtual desktop number. | 323 | * in the session. | ||
324 | * | ||||
325 | * On X11, a window can only be on one or all virtual desktops. Therefore, only the | ||||
326 | * first list entry is actually used. | ||||
327 | * | ||||
328 | * On X11, the id 0 has a special meaning: The window is entered on all virtual | ||||
329 | * desktops in the session. | ||||
330 | * | ||||
331 | * @param index An index in this window tasks model. | ||||
332 | * @param desktops A list of virtual desktop ids. | ||||
333 | **/ | ||||
334 | void requestVirtualDesktops(const QModelIndex &index, const QVariantList &desktops) override; | ||||
335 | | ||||
336 | /** | ||||
337 | * Request entering the window at the given index on a new virtual desktop, | ||||
338 | * which is created in response to this request. | ||||
339 | * | ||||
340 | * @param index An index in this window tasks model. | ||||
325 | **/ | 341 | **/ | ||
326 | void requestVirtualDesktop(const QModelIndex &index, qint32 desktop) override; | 342 | void requestNewVirtualDesktop(const QModelIndex &index) override; | ||
327 | 343 | | |||
328 | /** | 344 | /** | ||
329 | * Request moving the task at the given index to the specified activities. | 345 | * Request moving the task at the given index to the specified activities. | ||
330 | * | 346 | * | ||
331 | * This is meant for tasks that have an associated window, and may be | 347 | * This is meant for tasks that have an associated window, and may be | ||
332 | * a no-op when there is no window. | 348 | * a no-op when there is no window. | ||
333 | * | 349 | * | ||
334 | * This base implementation does nothing. | 350 | * This base implementation does nothing. | ||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |