> QString s2 = egyptian.toString(10);
> int s2 = egyptian.toInt(s2);
>
> Shouldn't declaring s2 as a 'QString' and then as an 'int' cause
a
> conflict?
Fixed, thanks.
Thanks Dimitri
It's also mentinoned there:
"It is initialized with a country/language pair in its constructor..."
Shouldn't this better be:
"It is initialized with a language/country pair in its constructor..."?
Also in that same page:
void setDefault ( const QLocale & locale )
...
QLocale::setDefault(QLocale::Hebrew, QLocale::Israel);
I believe
setDefault needs a 'const QLocale&' not a 'QLocale::Language,
QLocale::Country', am I wrong?
Finally, it's also mentioned that:
"If a QLocale object is constructed with the default constructor, it will use
the default locale's settings"
I thought the default locale should be that stored on LC_ALL, but calling
LC_ALL=xx ./myapp seems to ignore it, am I missing something?
--
Munzir Taha PGP Key available
gpg --recv-keys --keyserver
www.mandrakesecure.net F0671821
Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the OpenBugs project page at
http://www.arabic-fedora.org/munzir/OpenBugs.html
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA