<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;">On Thursday, 19. February 2009 11:14:57 Ricardo wrote:<br>
&gt; Thanks...<br>
&gt;<br>
&gt; I did what you said, but now it says this:<br>
&gt;<br>
&gt;   Plasma.ToolTipManager.self().registerWidget(self)<br>
&gt; TypeError: argument 1 of ToolTipManager.registerWidget() has an invalid<br>
&gt; type<br>
&gt;<br>
&gt; and without Plasma.ToolTipManager.self().registerWidget(self)<br>
&gt;<br>
&gt;     Plasma.ToolTipManager.self().setContent(self.toolTipData)<br>
&gt; TypeError: argument 1 of ToolTipManager.setContent() has an invalid type<br>
Well, both registerWidget() and setContent() requires a QGraphicsWidget as first parameter, and neither self nor self.toolTipData are such.<br>
You have to use self.applet (No parentheses, it's a field!) there:<br>
        <span style=" font-style:italic;">Plasma.ToolTipManager.self().setContent(self.applet, self.toolTipData) </span><br>
Sorry I didn't mentioned it earlier, I got myself caught up in multitasking ^^'</p></body></html>