[RFC] Using KPassivePopup from KSystrayIcon

Lubos Lunak l.lunak at suse.cz
Wed Apr 4 14:40:54 BST 2007


On Wednesday 04 of April 2007, Boyd Stephen Smith Jr. wrote:
> On Wednesday 04 April 2007, Hans Meine <hans_meine at gmx.net> wrote
>
> about 'Re: [RFC] Using KPassivePopup from KSystrayIcon':
> > Am Dienstag, 03. April 2007 23:48:19 schrieb Matthew Woehlke:
> > > >  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...
> > >
> > > 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
> >
> > I liked using NULL (in order to be unambiguous) until I was told that it
> > is not portable.  NULL is not always defined to be "just zero", but it
> > may be (void *)0.

 Not true.

> Stroustrup uses 0:
> http://www.research.att.com/~bs/bs_faq2.html#null
>
> The standard says they are the same (after preprocessing).

 Not true.

 http://lists.kde.org/?l=kde-core-devel&m=115090731411534&w=2 - I don't feel 
like repeating myself yet once more.

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http//www.suse.cz




More information about the kde-core-devel mailing list