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

View File

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