How to check if tooltip is visible (digital clock)?

Dmitry Suzdalev dimsuzkde at gmail.com
Mon Mar 31 08:59:07 CEST 2008


On Monday 31 March 2008 01:29:25 Rafał Miłecki wrote:
> Again, I'm not KDE guru but after checking for example Plasma::Applet
> I can see about 6 bool arguments in public functions:
> http://api.kde.org/4.0-api/kdebase-workspace-apidocs/libs/plasma/html/class
>Plasma_1_1Applet.html Of course it can also mean that Plasma::Applet should
> be fixed to use enum ;) Just wanted to say what I noticed. If someone asked
> me about this enum<->bool I'd say it sounds weird to use enum for simple
> true/false.

In his previous post in reply to mine Aaron made a perfect point that in this case 
bool would perfectly suffice. So listen to him, not me :)

(Actually I was referring to:
http://doc.trolltech.com/qq/qq13-apis.html#thebooleanparametertrap )

Cheers,
Dmitry.



More information about the Panel-devel mailing list