[Qt-interest] what is best way of assigning null to QString

Efan... efanharris at gmail.com
Thu Mar 11 00:15:09 CET 2010


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/91f96c37/attachment.html 


More information about the Qt-interest-old mailing list