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. | | |||
319 | * | 318 | * | ||
320 | * This is meant for tasks that have an associated window, and may be | 319 | * On Wayland, virtual desktop ids are QStrings. On X11, they are uint >0. | ||
321 | * a no-op when there is no window. | | |||
322 | * | 320 | * | ||
323 | * @param index An index in this tasks model. | 321 | * An empty list has a special meaning: The window is entered on all virtual desktops | ||
324 | * @param desktop A virtual desktop number. | 322 | * in the session. | ||
323 | * | ||||
324 | * On X11, a window can only be on one or all virtual desktops. Therefore, only the | ||||
325 | * first list entry is actually used. | ||||
326 | * | ||||
327 | * On X11, the id 0 has a special meaning: The window is entered on all virtual | ||||
328 | * desktops in the session. | ||||
329 | * | ||||
330 | * @param index An index in this window tasks model. | ||||
331 | * @param desktops A list of virtual desktop ids. | ||||
325 | **/ | 332 | **/ | ||
326 | void requestVirtualDesktop(const QModelIndex &index, qint32 desktop) override; | 333 | void requestVirtualDesktops(const QModelIndex &index, const QVariantList &desktops) override; | ||
327 | 334 | | |||
328 | /** | 335 | /** | ||
329 | * Request moving the task at the given index to the specified activities. | 336 | * Request moving the task at the given index to the specified activities. | ||
330 | * | 337 | * | ||
331 | * This is meant for tasks that have an associated window, and may be | 338 | * This is meant for tasks that have an associated window, and may be | ||
332 | * a no-op when there is no window. | 339 | * a no-op when there is no window. | ||
333 | * | 340 | * | ||
334 | * This base implementation does nothing. | 341 | * This base implementation does nothing. | ||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |