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

List:       koffice-devel
Subject:    Re: KoRect::clear()
From:       Lenny <kudling () kde ! org>
Date:       2002-04-28 8:47:54
[Download RAW message or body]

> // clear out
> r = KoRect();

Thought about that too. I dont like that much, but will have to go this way 
then.

> BTW, could it be that KoRect::isNull() is broken in the sense that
> it does not return true for a KoRect object created with the default
> constructor?

Yes. QRect test this way: return x2 == x1-1 && y2 == y1-1;

Thanks
Lenny
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://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