[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: QString data
From: Harri.Porten () gmx ! de
Date: 2003-08-20 10:44:37
[Download RAW message or body]
> Let's say I have a memory buffer with utf16 data. I want to set a QString
> to use this data, that is, I want to avoid a copy operation.
>
> QConstString(QChar *, int) _almost_ does what I want - but it needs a
> pointer to a list of QChars.
Just cast your memory buffer pointer to type QChar*.
Harri.
--
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic