From kde-panel-devel Mon Mar 31 06:59:07 2008 From: Dmitry Suzdalev Date: Mon, 31 Mar 2008 06:59:07 +0000 To: kde-panel-devel Subject: Re: How to check if tooltip is visible (digital clock)? Message-Id: <200803311059.07273.dimsuz () gmail ! com> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=120695059819212 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. _______________________________________________ Panel-devel mailing list Panel-devel@kde.org https://mail.kde.org/mailman/listinfo/panel-devel