[PATCH] tooltip: add update parametr to updateToolTip function

Rafał Miłecki zajec5 at gmail.com
Tue Apr 1 12:09:00 CEST 2008


Hi,

I extended updateToolTip function to pass bool "update" argument with
each call. This allows tracking current status of tooltip, for
example:

void updateToolTip(bool update) {
m_isToolTipShown = update;
}

That is something we need in digital clock. We use Plasma::DataEngine
to update time in panel but we have no idea when updating tooltip
content is needed. With this updateToolTip(bool update) we will know.

-- 
Rafał Miłecki


More information about the Panel-devel mailing list