oops don't compile ;) revert the last commit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833299
This commit is contained in:
parent
21888421bf
commit
aa2a6f536d
@ -183,6 +183,11 @@ void ToolTipManager::setWidgetToolTipContent(QGraphicsWidget *widget,const ToolT
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool ToolTipManager::widgetHasToolTip(QGraphicsWidget *widget)
|
||||||
|
{
|
||||||
|
return d->tooltips.contains(widget);
|
||||||
|
}
|
||||||
|
|
||||||
void ToolTipManager::themeUpdated()
|
void ToolTipManager::themeUpdated()
|
||||||
{
|
{
|
||||||
QMapIterator<QGraphicsWidget*, ToolTip *> iterator(d->tooltips);
|
QMapIterator<QGraphicsWidget*, ToolTip *> iterator(d->tooltips);
|
||||||
|
@ -125,6 +125,13 @@ namespace Plasma
|
|||||||
*/
|
*/
|
||||||
void setWidgetToolTipContent(QGraphicsWidget *widget,const ToolTipContent &data);
|
void setWidgetToolTipContent(QGraphicsWidget *widget,const ToolTipContent &data);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function to know if widget has a tooltip registered in the tooltip manager
|
||||||
|
* @param widget the widget
|
||||||
|
* @return true if this widget has a tooltip
|
||||||
|
*/
|
||||||
|
bool widgetHasToolTip(QGraphicsWidget *widget);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reccomended position for a popup window like a menu or a tooltip
|
* Reccomended position for a popup window like a menu or a tooltip
|
||||||
* given its size
|
* given its size
|
||||||
|
Loading…
x
Reference in New Issue
Block a user