Restore API: ToolTip.visualParent becomes target

This commit is contained in:
Sebastian Kügler 2013-04-04 05:11:31 +02:00
parent e4ee4d6dd0
commit 010f471bc7
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ MouseArea {
property alias subText: tooltipWindow.subText // string
property alias iconSource: tooltipIcon.source // icon name
property alias image: tooltipImage.source // string / url to the image
property Item visualParent: parent
property Item target: parent
// private props
property int _s: theme.iconSizes.small / 2
@ -73,7 +73,7 @@ MouseArea {
PlasmaCore.ToolTipWindow {
id: tooltipWindow
visualParent: tooltip.visualParent
visualParent: tooltip.target
mainItem: PlasmaCore.FrameSvgItem {
id: tooltipSvg

View File

@ -100,7 +100,7 @@ PlasmaComponents.Page {
// Rectangle { color: "orange"; opacity: 0.3; anchors.fill: parent; }
PlasmaCore.ToolTip {
anchors.fill: parent
visualParent: akonadiIcon
target: akonadiIcon
iconSource: "klipper"
mainText: "Fish sighted in the wild, in the wild, a fish was seen."
subText: "A mean-looking grouper swam by."