[RFC] Implicit or explicit cast to QString?

Dirk Mueller mueller at kde.org
Fri Jan 3 16:12:07 GMT 2003


On Fre, 03 Jan 2003, Christian Loose wrote:

> QString cmdline = cvsClient();
> cmdline += " update ";
> if( !recursive )
> 	cmdline += " -l ";
> cmdline += joinList(files);

In the case of the code it would be the best to avoid the QString overhead 
at all and use KProcess (which is also better from a security point of 
view). 

KProcess has an operator << (const char*)


-- 
Dirk (received 387 mails today)




More information about the kde-core-devel mailing list