New i18n interface for KDE 4, second try

Ingo Klöcker kloecker at kde.org
Sun Oct 30 14:59:50 GMT 2005


On Sunday 30 October 2005 15:51, Nicolas Goutte wrote:
> On Sunday 30 October 2005 15:37, Ingo Klöcker wrote:
> > On Sunday 30 October 2005 14:40, Chusslove Illich wrote:
>
> (...)
>
> > The multiple argument variant of QString::arg() only exists for
> > multiple QStrings so using something like
> >   QString("(x,y)=(%1,%2)").arg(3, 5)
>
> No, for integer numbers such a QString::arg would have another
> meaning:
>
> QString QString::arg ( long a, int fieldWidth = 0, int base = 10 )
> const

Yeah, sorry. Bad example (or good example because it doesn't work as one 
would expect if one only knows about QString::arg( const QString & a1, 
const QString & a2 )). And I should have used
  QString("%1 %2 %3").arg( "foo", "bar", 5 )
as example.

Regards,
Ingo
-------------- 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/20051030/56129931/attachment.sig>


More information about the kde-core-devel mailing list