Just after hitting Send I went back to QPointer description and I saw this:
     QPointer<QLabel> label = new QLabel;
     label->setText("&Status:");
     ...
     if (label)
         label->show();

QPointer can be used in place of the object it points to...

So there may be a point 3)

change the way we create the QPointer now, assigning the original
pointer to pq (or other member of different name to not confuse) and
assign the QPointer to ph.
In this way we should get an auto-consistent, unified way to handle ph...


Francesco
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to