[maemo-developers] call_fi_call_type_cellular value in Qt?
From: Alberto Mardegan mardy at users.sourceforge.netDate: Thu Aug 5 00:03:56 EEST 2010
- Previous message: call_fi_call_type_cellular value in Qt?
- Next message: call_fi_call_type_cellular value in Qt?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 08/04/2010 10:51 PM, Felipe Crochik wrote: > What is the best way to get the localized version of, for example, > “call_fi_call_type_cellular” in qt? gettext is a C function which comes with GNU libc, so it's available for Qt applications too. You'll need to use dgettext() and specify the catalog file where that string is located, too. Note the result is an UTF-8 string, so you'll have to pass it to QString::fromUtf8(). Ciao, Alberto -- http://blog.mardy.it <- geek in un lingua international!
- Previous message: call_fi_call_type_cellular value in Qt?
- Next message: call_fi_call_type_cellular value in Qt?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]