From kde-devel Wed Aug 20 10:37:06 2003 From: Johnny Andersson Date: Wed, 20 Aug 2003 10:37:06 +0000 To: kde-devel Subject: QString data X-MARC-Message: https://marc.info/?l=kde-devel&m=106137576405587 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. I guess what I want is something like QConstString(const char *, int). (It is possible to do this with QCString (setRawData), but I need a "real" QString.) Info appreciated. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<