KLocale::formatNumber

Thiago Macieira thiago at kde.org
Mon May 2 12:33:51 BST 2005


Klaus Niederkrueger wrote:
>My first question is: Is it o.k. if I change this?

It makes sense. But wait for someone else to give you an ok, I can't.

>If yes, my second question: "formatNumber(double, int)" has two
> arguments, whereas "formatNumber(QString)" only has one. If I change
> the second function to "formatNumber(QString num, int prec = -1)" is
> this still binary compatible with the old code?

No, you can't do that until KDE4. Add your new method 
"formatNumber(QString num, int prec)" and mark it with "KDE4: merge with 
the other function"

-- 
  Thiago Macieira  -  thiago (AT) macieira (DOT) info
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

2. Tó cennan his weorc gearu, ymbe se circolwyrde, wearð se cægbord and se 
leohtspeccabord, and þa mýs cómon lator. On þone dæg, he hine reste.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050502/ea9bd17a/attachment.sig>


More information about the kde-core-devel mailing list