[RFC] Using KPassivePopup from KSystrayIcon

Matthew Woehlke mw_triad at users.sourceforge.net
Tue Apr 3 22:48:19 BST 2007


Lubos Lunak wrote:
> David Faure wrote:
>> Not that breaking SC isn't allowed currently [on mondays], but it makes me
>> wonder if the API could be improved to avoid the ambiguity when passing
>> 0... (QWidget*)0 works but is always a bit ugly...
> 
>  No problem. Just realize we use C++ and not C, embrace the new millenium and 
> start using NULL ;).

Um, I think I saw somewhere in the KDE standards *not* to use NULL... 
but I can't claim to understand why, 'NULL' is *so* much less ambiguous 
than '0'.

Hmm... interesting. [1] says NULL is okay, but [2] says it isn't. Which 
is right?

[1] http://developer.kde.org/documentation/other/mistakes.html
[2] http://pim.kde.org/development/coding-korganizer.php

-- 
Matthew
Obscurity: +5





More information about the kde-core-devel mailing list