[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: dynamic string translation
From: Andras Mantia <amantia () kde ! org>
Date: 2006-09-25 15:53:44
Message-ID: 200609251853.53924.amantia () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Monday 25 September 2006 18:58, Thomas Weber wrote:
> > table_widget->addTab(table, i18n(categories.keys().at(index) ) );
>
> Stupid question:
> How to convert QString& to const char* ?
Depends, but as I wrote in the other mail, i18n expects utf8 char*, so:
qstring.utf8() .
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
[Attachment #5 (application/pgp-signature)]
>> 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