[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [PATCH] KNewsTicker
From: Ryan Cumming <bodnar42 () phalynx ! dhs ! org>
Date: 2002-03-12 15:55:03
[Download RAW message or body]
On March 12, 2002 01:14, Lars Knoll wrote:
> > Instead of the:
> > (*charData == ' ' || *charData == '\n' || *charData == '\t' || *charData
> > == '\r') )
> >
> > I'd look in to using QChar::isSpace(), as it handles all the characters
> > you check for, plus two you missed (characters 11 and 12).
>
> You could if charData was a pointer to a QChar and not a char.
QChar(*charData).isSpace();
-Ryan
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic