kDebug and the Application object

Alex Merry huntedhacker at tiscali.co.uk
Sun Apr 13 19:27:41 BST 2008


On Sunday 13 April 2008 19:14:43 Michael Jansen wrote:
> If you don't complain i will add such a note to the kDebug/kError/kWarning
> apidoc
>
> "If you get <unknown program name> you use these functions before
> initializing the application / mainComponent" or whatever i come up with
> when having more time.

How about:

"kDebug() may include the name of the main component of the application in the 
output.  If no KComponentData has been created (for example, if it is called 
before initializing a KApplication or KUniqueApplication), it will replace 
this with <unknown program name>."

And the same in the dox for kWarning, kError and kFatal.

Alex


-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080413/f74c29a9/attachment.sig>


More information about the kde-core-devel mailing list