[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [Kopete-devel] Nickname as caption of Chatwindow
From:       Martijn Klingens <klingens () kde ! org>
Date:       2002-05-08 8:00:40
[Download RAW message or body]

On Tuesday 07 May 2002 20:06, Hendrik vom Lehn wrote:
> I commited it with only on partner support. (I don't know how to add
> strings in c++ :( )

QString a = "Blah";
QString b = "Bluh";

QString ab = a + " " + b;

But that is dangerous with i18n, because word order is not guaranteed to be 
the same in other languages. Better do

QString ab = i18n( "%1 %2" ).arg( a ).arg( b );

if i18n is concerned.

Martijn

_______________________________________________
Kopete-devel mailing list
Kopete-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic