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

List:       kde-devel
Subject:    Re: Unicode QString in Qt 2.0 and SOONER.
From:       "Jacek Konieczny" <jajcus () zeus ! polsl ! gliwice ! pl>
Date:       1998-08-14 16:02:05
[Download RAW message or body]

On Fre, 14 Aug 1998, Warwick Allison wrote:
>The new QString implementation currently on my harddisk has these features:
>
>    - 100% Unicode
>    - Superset of Qt 1.x QString API
>    - Cached conversion to ASCII
>    - Complete implicit sharing (copy-on-write)
>    - Can be passed efficiently to QPainter text painting methods
>    - Can be passed efficiently to QWidgets which use strings
>	(labels, buttons, etc. etc. etc.)

Great!
I was really afraid I won't see this in this year.


>Qt 1.41 will be released on Tuesday. There are three ways forward
>as I see it:
>
>    1. change QString in Qt 1.41 to use implicit sharing so as
>	to bring it closer to the new string and to avoid nasty bugs, and/or
>    2. use this code NOW as "Q2String" to enable some Unicode development,
>	renaming all occurrences to QString for Qt 2.0, or

I think this would be the best solution. This would make possible to fix
any bugs and design problems in Unicode strings before Qt 2.0
Q2String could be used now only in "unstable" apps, which don't have to be
binary compatible.


I would really like to see Unicode in Qt 1.41. It could really help KDE
becone really international.

Is there any charset conversion support in Qt? In fact I would rather not
like it. It can be done better on a highier level - in KDE. And I wouldn't
like it done as in current QString, where charsets are identified only by
enums.

It seems I would have to change KDE charset support classes to work with
Qt Unicode, but it shouldn't be hard to do.

Greets,
    Jacek
--
+---------+--------------------------------------------------------+
!      ,  !            Jacek Konieczny, Gliwice, Poland            !      
! Jajcus  ! email: jajcus@zeus.polsl.gliwice.pl, jajcus@polbox.com !
!         ! ICQ# 7149127                           WWW: none (yet) !
+---------+--------------------------------------powered-by-Linux--+

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

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