Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/Task.qml
Show First 20 Lines • Show All 350 Lines • ▼ Show 20 Line(s) | 350 | toolTipDelegate.virtualDesktopParent = Qt.binding(function() { | |||
---|---|---|---|---|---|
351 | return model.VirtualDesktop != undefined ? model.VirtualDesktop : 0; | 351 | return model.VirtualDesktop != undefined ? model.VirtualDesktop : 0; | ||
352 | }); | 352 | }); | ||
353 | toolTipDelegate.isOnAllVirtualDesktopsParent = Qt.binding(function() { | 353 | toolTipDelegate.isOnAllVirtualDesktopsParent = Qt.binding(function() { | ||
354 | return model.IsOnAllVirtualDesktops == true; | 354 | return model.IsOnAllVirtualDesktops == true; | ||
355 | }); | 355 | }); | ||
356 | toolTipDelegate.activitiesParent = Qt.binding(function() { | 356 | toolTipDelegate.activitiesParent = Qt.binding(function() { | ||
357 | return model.Activities; | 357 | return model.Activities; | ||
358 | }); | 358 | }); | ||
359 | | ||||
360 | toolTipDelegate.smartLauncherCountVisible = Qt.binding(function() { | ||||
361 | return plasmoid.configuration.smartLaunchersEnabled && task.smartLauncherItem && task.smartLauncherItem.countVisible; | ||||
362 | }); | ||||
363 | toolTipDelegate.smartLauncherCount = Qt.binding(function() { | ||||
364 | return toolTipDelegate.smartLauncherCountVisible ? task.smartLauncherItem.count : 0; | ||||
365 | }); | ||||
359 | } | 366 | } | ||
360 | } | 367 | } | ||
361 | } | 368 | } | ||
362 | } | 369 | } | ||
363 | 370 | | |||
364 | Loader { | 371 | Loader { | ||
365 | anchors.fill: frame | 372 | anchors.fill: frame | ||
366 | asynchronous: true | 373 | asynchronous: true | ||
▲ Show 20 Lines • Show All 193 Lines • Show Last 20 Lines |