Changeset View
Changeset View
Standalone View
Standalone View
libtaskmanager/waylandtasksmodel.cpp
Show First 20 Lines • Show All 459 Lines • ▼ Show 20 Line(s) | 386 | { | |||
---|---|---|---|---|---|
460 | } else if (role == IsDemandingAttention) { | 460 | } else if (role == IsDemandingAttention) { | ||
461 | return window->isDemandingAttention(); | 461 | return window->isDemandingAttention(); | ||
462 | } else if (role == SkipTaskbar) { | 462 | } else if (role == SkipTaskbar) { | ||
463 | return window->skipTaskbar() || d->appData(window).skipTaskbar; | 463 | return window->skipTaskbar() || d->appData(window).skipTaskbar; | ||
464 | } else if (role == SkipPager) { | 464 | } else if (role == SkipPager) { | ||
465 | // FIXME Implement. | 465 | // FIXME Implement. | ||
466 | } else if (role == AppPid) { | 466 | } else if (role == AppPid) { | ||
467 | return window->pid(); | 467 | return window->pid(); | ||
468 | } else if (role == StackingOrder) { | ||||
469 | return d->windowManagement->stackingOrder().indexOf(window->internalId()); | ||||
468 | } else if (role == ApplicationMenuObjectPath) { | 470 | } else if (role == ApplicationMenuObjectPath) { | ||
469 | return window->applicationMenuObjectPath(); | 471 | return window->applicationMenuObjectPath(); | ||
470 | } else if (role == ApplicationMenuServiceName) { | 472 | } else if (role == ApplicationMenuServiceName) { | ||
471 | return window->applicationMenuServiceName(); | 473 | return window->applicationMenuServiceName(); | ||
472 | } | 474 | } | ||
473 | 475 | | |||
474 | return QVariant(); | 476 | return QVariant(); | ||
475 | } | 477 | } | ||
▲ Show 20 Lines • Show All 301 Lines • Show Last 20 Lines |