don't need to be public
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833298
This commit is contained in:
parent
f4ec3034df
commit
21888421bf
@ -183,11 +183,6 @@ 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);
|
||||||
@ -206,7 +201,6 @@ void ToolTipManager::onWidgetDestroyed(QObject * object)
|
|||||||
if (iterator.key() == object) {
|
if (iterator.key() == object) {
|
||||||
ToolTip * tooltip = iterator.value();
|
ToolTip * tooltip = iterator.value();
|
||||||
d->tooltips.remove(iterator.key());
|
d->tooltips.remove(iterator.key());
|
||||||
kDebug()<<"Tooltip destroyed"<<(int)object;
|
|
||||||
d->showTimer->stop(); // stop the timer to show the tooltip
|
d->showTimer->stop(); // stop the timer to show the tooltip
|
||||||
d->delayedHide = false;
|
d->delayedHide = false;
|
||||||
d->currentWidget = 0;
|
d->currentWidget = 0;
|
||||||
|
@ -125,13 +125,6 @@ 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…
Reference in New Issue
Block a user