From 010f471bc7ae65ebadc8fa2073143b1781fc94ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Thu, 4 Apr 2013 05:11:31 +0200 Subject: [PATCH] Restore API: ToolTip.visualParent becomes target --- src/declarativeimports/core/ToolTip.qml | 4 ++-- .../applets/testcomponentsapplet/contents/ui/IconsPage.qml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/declarativeimports/core/ToolTip.qml b/src/declarativeimports/core/ToolTip.qml index d2495b4e9..8e5491ffa 100644 --- a/src/declarativeimports/core/ToolTip.qml +++ b/src/declarativeimports/core/ToolTip.qml @@ -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 diff --git a/src/shell/applets/testcomponentsapplet/contents/ui/IconsPage.qml b/src/shell/applets/testcomponentsapplet/contents/ui/IconsPage.qml index 5380156c8..6f77e2080 100644 --- a/src/shell/applets/testcomponentsapplet/contents/ui/IconsPage.qml +++ b/src/shell/applets/testcomponentsapplet/contents/ui/IconsPage.qml @@ -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."