CSS Parser and Qt/e 2.

Maks Orlovich maksim at kde.org
Fri Jan 27 14:02:57 GMT 2006


On Friday 27 January 2006 08:47, Stefan Eilers wrote:
> Am Freitag, 27. Januar 2006 11:00 schrieb Luciano Montanaro:
> > Actually, what I don't understand is why doing a (conditional, if the
> > arch endiannes requires it) byte swapping does not work.
>
> Manual byte swapping is easy but will force me to change the code at many
> other positions as long as all conversion from unsigned short back to QChar
> will fail. I would have to find all conversions and change them by hand. I

I would suggest just doing it in runParser(). Another option may be to adjust 
YY_SC_TO_UI and CSSParser::text but honestly, the risks of making a 
mistake/number of  changes needed are much larger there.






More information about the kfm-devel mailing list