[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: [flake] KoDef refactor.
From:       Thomas Zander <zander () kde ! org>
Date:       2006-04-27 18:31:56
Message-ID: 200604272031.56731.zander () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Thursday 27 April 2006 19:49, Thomas Zander wrote:
> So, when doing a binairy and (the single &) the only two correct
> options are:
>  buttons() & Qt::LeftButton == Qt::LeftButton
> or
>  buttons() & Qt::LeftButton == 0

Ehm, _with_ () that is...
so
 (buttons() & Qt::LeftButton) == Qt::LeftButton
or
 (buttons() & Qt::LeftButton) == 0

since in 'man 7 operator' the == comes before the &

Sorry for being confusing/confused :)
-- 
Thomas Zander

[Attachment #5 (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic