Changeset View
Changeset View
Standalone View
Standalone View
libtaskmanager/waylandtasksmodel.cpp
Show First 20 Lines • Show All 326 Lines • ▼ Show 20 Line(s) | 268 | { | |||
---|---|---|---|---|---|
327 | } else if (role == Activities) { | 327 | } else if (role == Activities) { | ||
328 | // FIXME Implement. | 328 | // FIXME Implement. | ||
329 | } else if (role == IsDemandingAttention) { | 329 | } else if (role == IsDemandingAttention) { | ||
330 | return window->isDemandingAttention(); | 330 | return window->isDemandingAttention(); | ||
331 | } else if (role == SkipTaskbar) { | 331 | } else if (role == SkipTaskbar) { | ||
332 | return window->skipTaskbar(); | 332 | return window->skipTaskbar(); | ||
333 | } else if (role == SkipPager) { | 333 | } else if (role == SkipPager) { | ||
334 | // FIXME Implement. | 334 | // FIXME Implement. | ||
335 | } else if (role == AppPid) { | ||||
336 | // FIXME Implement. | ||||
335 | } | 337 | } | ||
336 | 338 | | |||
337 | return QVariant(); | 339 | return QVariant(); | ||
338 | } | 340 | } | ||
339 | 341 | | |||
340 | int WaylandTasksModel::rowCount(const QModelIndex &parent) const | 342 | int WaylandTasksModel::rowCount(const QModelIndex &parent) const | ||
341 | { | 343 | { | ||
342 | return parent.isValid() ? 0 : d->windows.count(); | 344 | return parent.isValid() ? 0 : d->windows.count(); | ||
▲ Show 20 Lines • Show All 202 Lines • Show Last 20 Lines |