[Qt-interest] what is best way of assigning null to QString
Scott Aron Bloom
Scott.Bloom at sabgroup.com
Thu Mar 11 00:18:04 CET 2010
QString str = QString();
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Efan...
Sent: Wednesday, March 10, 2010 3:15 PM
To: QtInterest
Subject: [Qt-interest] what is best way of assigning null to QString
Hi,
I was just wondering what is right
myWidget(QWidget *parent = 0, QString str=0 )
Here what should I do str=0 or str="" ??
--
Efan Harris
--
Efan Harris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100310/f20edd03/attachment.html
More information about the Qt-interest-old
mailing list