[Qt-interest] what is best way of assigning null to QString
Irfan Omair
irfan.omair.qt at gmail.com
Thu Mar 11 00:18:03 CET 2010
Use QString() or QString::null
I blv both is better than =0;
Regards,
Irfan Omair
On Wed, Mar 10, 2010 at 3:15 PM, Efan... <efanharris at gmail.com> wrote:
>
>
> 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
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100310/fe480db1/attachment.html
More information about the Qt-interest-old
mailing list